HDTenEightyP/NetNews huggingface dataset:
From: navy@iastate.edu (Scott V Rivera)
Subject: RS-232 Programming
Organization: Iowa State University, Ames IA
Date: Fri, 22 Jan 1993 23:59:22 GMT

Can anyone help me with some code (pascal or C preferred) for reading
from the RS-232 ports.  Mainly I would like to be able to read a 
8-bit binary number and possibly pass back and forth some control values.

I guess the real question is... is there a way to detect logical
highs and lows in the port, and place logical highs and lows.

Please post any questions.   I know it may be too vague, just let me know.

Thanks,
Scott Rivera
navy@iastate.edu
PrISUm - Solar car project
Iowa State Universisty
From: 2575brooksr@vms.csd.mu.edu (Ryan K. Brooks)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: assemblers
Date: 28 Jan 1993 04:33:38 GMT
Organization: Marquette University - Computer Services
Reply-To: 2575brooksr@vms.csd.mu.edu
NNTP-Posting-Host: vmsa.csd.mu.edu

In article <20160@mindlink.bc.ca>, James_Vaupotic@mindlink.bc.ca (James Vaupotic) writes:
>
>
>
>      I am interested in hearing form people who have either the
>   Cape 68k assembler or the Hisoft DevPak III. I would like to
>   hear there comments on these two assembly language programming
>   packages. I would especially like to solicit the comments from
>   people that may have experience with both packages!
>
>      Since I am still on the topic of programming packages. If
>   anyone out there that has the programming aid Power Windows,
>   could you share your insight with me. I mean is the program
>   worth the money? Is it poor, fair, good, excellent?
>
>

I own DevPac III, and I love it.  Mainly, I use it for general Amiga work,
but I have also used it for some embedded applications.  It is very 2.0ish
, bugless (as far as I can tell), very fast, has both 1.3 and 2.0 versions
etc.  Seems very good with dealing with other asm's code, too.
	The debugger is GREAT! Its saved my life quite a few times,  very
powerful.  The editor is well integrated, jumps to errors, asm's... etc.
I use a diffferent editor, but its just because I am used to it.
	I bought it about 6 months ago for ~$60US.  If there are specific
questions you'd like to ask, go ahead, as it would take quite a while to
address all the features of this program.


 ----------------------------
 Ryan K. Brooks                Chip of the Month Club: TMS320C40
 2575BrooksR@vms.csd.mu.edu
From: tsuikki@cc.lut.fi (Teemu Suikki)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ** FINALLY - AN _GREAT_ AMIGA PROGRAMMING LANUAGE
Date: 27 Jan 93 13:04:31 GMT
Organization: Lappeenranta University of Technology, Finland

In article <1993Jan26.192449.14237@jato.jpl.nasa.gov> jdickson@jato.jpl.nasa.gov (Jeff Dickson) writes:
>far as I know, E is not available on any other platform. For a novice prog-
>rammer, C would be the better language to go with, because it is useable
>elsewhere.

Most C-programs written for Amiga aren't portable. Programs use Amiga's OS
so much, that porting is almost impossible. So that isn't really a problem
with E..


-- 
                      ============    ============   
3D-signature!         ===Aragorn==    ==Aragorn===      Cross your eyes!
                      ============    ============
Newsgroups: comp.sys.amiga.programmer
From: "louis ghinis" <louis.ghinis@canrem.com>
Subject: sas libraries
Reply-To: "louis ghinis" <louis.ghinis@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 27 Jan 93 18:06:16 EST

Does anyone knoe if there is a extentsion of the documentation of the
sas development system?  Personally I find it to be Inadequate there are
A LOT of functions missing from it which are mainly the .library ones
and obviously those functions are very important in developing something
decent.  Does commodore sell the exnteded documentation or does someone
else?

   Louis
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.sys.amiga.programmer
From: silvera@ghost.dsi.unimi.it (paolo silvera)
Subject: Where E AGuide files ?
Organization: Computer Science Dep. - Milan University
Date: Mon, 25 Jan 1993 13:47:11 GMT

Where could I find AmigaGuide E files to have rapid consult about
this _fantastic_ language ?
Is there anyone else interested to E like I am ?
I am trying to program a special gadtoolsbox for E language.
Is anyone interested to this project ?

Please, if yes write to:

silvera@ghost.sm.dsi.unimi.it XOR
silvera@c700-3.sm.dsi.unimi.it

bye bye to all and... good E programming !!
From: jgary@ms.uky.edu (James E. Gary)
Newsgroups: comp.sys.amiga.programmer
Subject: SAS se vs. dmouse 1.25
Date: 27 Jan 93 02:33:14 GMT
Distribution: usa
Organization: University Of Kentucky, Dept. of Math Sciences

Is anyone out there running AmigaDos 1.3, dmouse 1.25 and SAS se? I seem
to be having trouble with gurus in this combination. I can live without
se, but I am afraid that it will also affect amigaguide in general.
Try this: 
   execute se
    press help
    click on "compile file"
I get a guru. Remove dmouse and no problem (except for not having dmouse!)
Perhaps it is time to investigate other mouse utilities.
-- 
--
 James Gary, BA,MS      U. of Kentucky       jgary@ms.uky.edu 
"Prosecuters will be violated."
Newsgroups: comp.sys.amiga.programmer
From: val@news.ccutah.edu (Val Kartchner)
Subject: 680x0 register usage on Amiga?
Summary: Question: What are (preallocated) purposes of 680x0 registers on Amiga?
Organization: University of Utah Computer Center
X-Newsreader: Tin 1.1 PL3
Date: Wed, 27 Jan 93 21:40:02 GMT


I usually program the Amiga in C.  When I want to get the maximum speed in
a core routine, I go to assembly language.  However, I'm not sure which
CPU registers are allocated and which are free for me to use when programming.
Here is the list as I understand it:

        D0     Integer return value
        D1     Scratch register (need not be restored)
        D2-D7  Static registers (restore to values at entry)
        A0     Address return value
        A1     Scratch register
        A2-A3  Static registers
        A4     Base pointer (Points to base of global data)
        A5     Frame pointer (Contains old stack pointer)
        A6     Library base pointer (MUST be set to base of library
               when calling library routines)
        A7     Stack pointer
        CCR    Scratch register (Condition Code Register is not restored)

Is this correct?  Please correct any terminology misusages that I may have
made.

			Thanks in advance,
				-=:[ VAL ]:=-
--
|================== #include <disclaimer.h> ==================///=============|
| "AMIGA: The computer for the creative mind" (tm) Commodore /// Weber State  |
| "Macintosh: The computer for the rest of us"(tm) Apple \\\///   University  |
|== "I think, therefore I AMiga" -- val@csulx.weber.edu ==\///= Ogden UT USA =|
From: app@shamash.cdc.com (CDII Advanced Pkg/Processes)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: system call to get AmigaDos PATH string(s) ?
Date: 21 Jan 93 18:05:31 GMT
Organization: Control Data Corporation, Arden Hills, MN

In article <paulk.3cz7@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>> system call to get AmigaDos PATH string(s) ?
> 
>> One klugey way is :-
>> 
>> Execute ("PATH >T:file", 0L,0L);
>> 
>> then parse T:file.
>> 
>> But there's got to be a neater way.

Speaking of the Execute command, why does something like this NOT work?:

	Execute ("Path Sys:Utilities Add", 0,0);

Does the path info get assigned somewhere other than the current CLI?  Is
there a way to set the path for all CLI's with AmigaDos1.3?

I'll need to check again to be sure, but I don't think Stack works with the
Execute command either.  What gives?


Thanks for any help :)

Mike Lundberg
app@shamash.cdc.com
Newsgroups: comp.sys.amiga.programmer
From: breese@monet.imada.ou.dk (Bjorn Reese)
Subject: Re: 3d ball games - Baseball/Cricket
Organization: Dept. of Math. & Computer Science, Odense University, Denmark
Date: Thu, 21 Jan 1993 15:47:10 GMT

In article <1jl31bINNst@golem.wcc.govt.nz> coutinho_b@kosmos.wcc.govt.nz  
writes:
> Basically I want to make a games, but it relies on moving a ball like that
> seen in many baseball type games. Hardball is a good example. I want to 
> know what the code I have to program will have to do in converting  
calculations
> to be shown on a screen. I mean, how to emmulate a ball's trajectory?
> How to do bounce? Inertia? How to determine where bat is in relation to the
> ball just as its struck and which direction the ball is to fly!
>  I have 1st year University knowledge of physics and would probally program
> the game in AMOS to start off will.

Is the ball (and the rest of the game) viewed from above or
from the side?

Trajectory: figure out the formulas. You need one for x, and
one for y. Newton's second law could be helpful.
Bounce: reverse the speed (but not the acceleration)
Inertia: speed = speed * 0.9 (or another suitable value < 1)
Bat: rotate the coordinates so that the bat lies in the
direction of the x-axis, figure out the angle by which the
ball leaves the bat, calculate how much force is being
transfered from the bat to the ball, and rotate back.

These are just some ideas, which I hope you can use.

--

Bjorn Reese                    |     Email: breese@imada.ou.dk
Odense University, Denmark     |     Voice: +45 65 932 182 (private)
From: jimdawson@cup.portal.com (Jim R Dawson)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Looking for WP
Date: Thu, 21 Jan 93 19:01:25 PST
Organization: The Portal System (TM)
  <1993Jan19.134307.19958@samba.oit.unc.edu>

>In article <73885@cup.portal.com> jimdawson@cup.portal.com (Jim R Dawson)
>writes:
>>Can anyone sugguest a word processor suitable for writing documentation
>>files for a freely distributable program in ASCII, or a utility to convert
>>ProWrite or Excellence! files into straight ASCII with formatting intact?
>>(niether one does an acceptable job of saving an ASCII text file.)
>>
>>I need to keep all formatting (margins, indentation, page numbering,
>>headers, footers) intact, and have formfeeds at the end of each page if
>>possible.
>
>You might try selecting the GENERIC printer, running CMD, then
>printing.  The printer output gets captured to a file.  You may
>still have to filter the result to remove unwanted returns (ASCII 13).

Thanks. ProWrite 3.31 still puts a little garbage in the file (most
notabaly a null at the beginning of the file) but I think I can write a
little ARexx script to filter that out with the CRs.

+-----------------------------------------------+-------------------------+
|Jim Dawson - Author of AmiQWK .QWK mail reader | jimdawson@cup.portal.com|
+-----------------------------------------------+-------------------------+
Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: Manx is ORPHANING Aztec C!
Originator: walker@twix.unx.sas.com
Date: Mon, 25 Jan 1993 13:51:38 GMT
Organization: SAS Institute Inc.


In article <paulk.3evm@terapin.com>, paulk@terapin.com (Paul Kienitz) writes:
|> In either case, the message is clear.  Aztec C for Amiga is now basically an
|> unsupported product.

|> Damn it's going to be a bitch to convert all my code to SAS or the commercial
|> version of DICE ...

That's not necessarily true.  I've converted lots of Aztec C programs
off the Fish Disks to use as test cases.  About the only serious
problem I've run into is if the programs use #asm a lot.  (If they
are, they could probably use rewriting anyway.)  Since you can
call functions with parameters in specific registes in SAS/C, a lot
of the reasons for using #asm go away; also, the getreg() and putreg()
built-in functions remove the need for a lot of #asm code.

There is a section in the SAS/C 6.0 User's Guide on converting Aztec C
options to SAS/C V6.0.

-- 
  *****
=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
 *|. o.| ||                                          1200/2400/9600 Dual
  | o  |//     For all you do, this bug's for you!
  ====== 
usenet: walker@unx.sas.com                            bix: djwalker 
Any opinions expressed are mine, not those of SAS Institute, Inc.

Newsgroups: comp.sys.amiga.programmer
From: kaarts@ccu.umanitoba.ca (Kenneth John Aarts)
Subject: Re: SAS/C 6.2 Patch Now Available!  (Oh oh)
Keywords: SAS/C 6.2 Patch
Organization: University of Manitoba, Winnipeg, Canada
Date: Sun, 24 Jan 1993 22:47:09 GMT

Very tiny insignificant mistake passed through.  In the sc_6.2.guide under
documentation/help file changes, the button 'newly documented functions and
data names' gives a 'can't find node error'.

Ken
From: mconstab@alsvid.une.edu.au (Mark Constable)
Newsgroups: comp.sys.amiga.programmer
Subject: Where is latest ixemul.library?
Date: 21 Jan 93 06:39:24 GMT
Organization: University of New England - Northern Rivers (Lismore)

I need to find a later ixemul.library than what came with the gcc2.3.3
distribution.  It mentions v39.44 in the docs and mine (wustl mirror of
physik) comes with a v39.26 and the whole system wont run without a v39.29
so I can't eveb recompile the source of the later version.
 
Where might a later version of the ixemul.library (binary) be hanging out,
replies via email to mconstab@alsvid.une.edu.au, thanks. 
 
-- 
RealLife: Mark Constable (WorkNet)
Internet: mconstab@alsvid.une.edu.au markc@archie.au markc@orac.hss.bu.oz.au
Newsgroups: comp.sys.amiga.programmer
From: paulg@tplrd.tpl.oz.au (Paul Gittings)
Subject: Re: HELP with GCC/G++: CHIP and printf() in C++ mode.
Originator: paulg@sydrd19
Organization: Telectronics Pacing Systems
Date: Wed, 27 Jan 93 23:41:34 GMT


In article <1993Jan26.190254.63224@cc.usu.edu>, slmt9@cc.usu.edu (Joshua Dinerstein) writes:
> 
> 	1- My teacher likes to use both the "cout" introduced in C++ and the
> printf() that is used in ansi C. But I cannot make GCC compile with printf()
> calls in there. I get an error that says that the symbol ___builtin_printf not
> defined. I edited the libc.a file and it has the label in there. Is this lib
> not being linked? 

To really help you we need to see the output form the compiler passes (ie,
bung a -v into the command line).  I've done the above with gcc 2.2.2 (at
least I think I did)  and see no reason why it should not work with 
gcc 2.3.3.  You will need to ensure that you link with -lg++ (to pick up
iostream routines; cout etc).  I think there used to be a problem in
gcc 2.2.2 that if you -lamiga (the converted amiga library) appeared before
-lc  you would end up picking up the printf in the amiga library not the
gcc one (since Markus now includes his onwn amiga library this problem
may have gone away).  Have to see the -v output from your compile to really
help though.


> 	2- I need to do a project in GCC that has some graphics in it. And I
> saw a message here that said that the CHIP keyword was not found in GCC. is
> this still the case? I need to force some graphics storage to be in CHIP ram.
> 
> 	Does anyone know how to do this? To be honest I have not tried this out
> yet. I have spent 2 days trying to just get this thing to work period so...
> 

I haven't tried this either.  What you could do is allocate memory dynamically
using the amiga memory allocation routines (sorry not at home so I don't have
the RKM's).  Not as nice as using the CHIP keyword (since you have an extra
pointer to deal with) but it should work.

Paul
Newsgroups: comp.sys.amiga.programmer
From: cobra@coyote.datalog.com (Ken Thompson)
Subject: Re: ** FINALLY - AN _GREAT_ AMIGA PROGRAMMING LANUAGE
Organization: Datalog Consulting, Tucson, AZ
Date: Fri, 22 Jan 93 04:32:15 GMT

rmcormon@superior.carleton.ca (Russell McOrmond) writes:

> In article <thecure.727159005@munagin> thecure@mullian.ee.mu.OZ.AU (matthew a
> >I _strongly_ suggest you should all at least _try_ to get amigae21.lha
> >
> >It's a language by Wouter van Oortmerssen called 'E'
> 
>    How easy is it to interface 'E' with other amiga shared libraries.
> If you have a prototypes file, and a .FD file for a library, how would
> one go from there?
> 
>   I'm curious as I want to make sure that any libraries that I write
> are accessable to as many programmers as possible.
> 

 
This language sounds like it'd be a good learning tool...something that a 
person could use to bridge (or possibly confuse...) into programming with 
something like C...
 
Unfortunately, I don't have FTP access, and I didn't find the file 
on GEnie...  

           _____         ______________________   _____                
       |/    |          | cobra@datalog.com   |     |        /\        
       |\ en |hompson   | cobra@jab.tus.az.us |     |ucson, /--\rizona 
     ------------------------------------------------------------------
Newsgroups: comp.sys.amiga.programmer
From: shf@well.sf.ca.us (Stuart H. Ferguson)
Subject: Problem with Enforcer
Organization: Whole Earth 'Lectronic Link
Date: Thu, 28 Jan 1993 08:46:03 GMT

I just pulled the lastest version of Enforcer off the net, installed
it and tried running my standard test suites and hit a brick wall.

It seems that the system cannot allocate chip ram.  I get an Enforcer
hit at 00001FE0 and the AllocMem returns 0.  That address seems a bit
high for Enforcer protection.

I have an RCS 68040 board.  Any ideas how to make Enforcer more
useful for me?  Thanx.
-- 
		Stuart Ferguson		(shf@well.sf.ca.us)
			Prepare to Surge to Sublight Speed!
Newsgroups: comp.sys.amiga.programmer
From: sassek@wonka.unx.sas.com (Steve Krueger)
Subject: Re: 680x0 register usage on Amiga?
Date: Thu, 28 Jan 1993 14:03:32 GMT
Organization: SAS Institute Inc.

In article <1993Jan27.214002.23569@fcom.cc.utah.edu> val@news.ccutah.edu (Val Kartchner) writes:
>
>I usually program the Amiga in C.  When I want to get the maximum speed in
>a core routine, I go to assembly language.  However, I'm not sure which
>CPU registers are allocated and which are free for me to use when programming.
>Here is the list as I understand it:
>
>        D0     Integer return value
>        D1     Scratch register (need not be restored)
>        D2-D7  Static registers (restore to values at entry)
>        A0     Address return value
>        A1     Scratch register
>        A2-A3  Static registers
>        A4     Base pointer (Points to base of global data)
>        A5     Frame pointer (Contains old stack pointer)
>        A6     Library base pointer (MUST be set to base of library
>               when calling library routines)
>        A7     Stack pointer
>        CCR    Scratch register (Condition Code Register is not restored)
>
>Is this correct?  Please correct any terminology misusages that I may have
>made.
>
Pretty close, but A2-A6 must be restored to the value that they were
at entry just like d2-d7. Also note that A5 is used as a frame pointer
only in some C compilers. In SAS/C 6.x, it is not used as a frame pointer,
since we generate code that doesn't need a frame pointer.

Also, FP0-FP1 are scratch, FP2-FP7 must be restored.

>			Thanks in advance,
>				-=:[ VAL ]:=-
From: as894@cleveland.Freenet.Edu (Mark Martin)
Newsgroups: comp.sys.amiga.programmer
Subject: BBS O/S project
Date: 27 Jan 1993 10:19:52 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: as894@cleveland.Freenet.Edu (Mark Martin)
NNTP-Posting-Host: hela.ins.cwru.edu


	My brother and I are currently developing some BBS O/S (bulletin
board operating system) software.  We would certainly welcome any interested
parties who would like to contribute to our efforts.  This is not necessarily
a job openning, more like a co-venture.  We could discuss releasing a finished
project into the shareware market, or even commercially.  
	Anyone who would be interested in helping out, please email me, or
even try me voice (+1 517 882 8505).  We've got some really good ideas, and
I'm not a slouch at programming, but our task is rather huge at this point, and
we wouldn't mind making it a group or public project (we're not in it for the
money!).  Well, maybe, if we have a FINISHED product, we can run it for money!
(#^)

Life and Hope!
Mark M.
-- 
Mark Martin    			|		The Safe House BBS
Symbolic Source Group		|		(517) 484-0431
Telecommunications solutions.	|		24 hrs, 7 days
Amiga applications and tools.	|		2400/14.4 (v.22/32b), 8N1
From: rseichter@darkness.gun.de (Ralph Seichter)
Newsgroups: comp.sys.amiga.programmer
Subject: Unwanted SAS/C symbol hunks
Organization: DARKNESS Public Mailbox, Kerpen, Germany
Date: Mon, 25 Jan 1993 18:05:00 +0100

I have a problem with an executable generated by SAS/C 6.1.  The file seems
to  include  symbol  hunks  which I definitely don't want to be there.  The
"PowerPacker" tells me it removes three hunks, and I think PP knows what it
does.   I  assume  that the symbol hunks generated are for functions of the
amiga.lib like "OpenScreenTags" and some other vararg stubs (I use register
parameters).

Here are my SCOPTIONS:

   CPU=68030
   PARAMETERS=REGISTERS
   NOSTACKCHECK
   UNSIGNEDCHARS
   NOSTANDARDIO
   COMMENTNEST
   ERRORREXX
   NOMULTIPLEINCLUDES
   NOOPTIMIZE
   NOICONS
   NOERRORHIGHLIGHT
   GLOBALSYMBOLTABLE=z.gst
   GSTIMMediate

And here's how I link the object modules (part of my SMAKEFILE):

   LNKFLGS = NOADDSYM DEFINE ___main=___tinymain
   LIB = lib:sc.lib lib:amiga.lib
   OBJECTS = [...]

   slink FROM lib:c.o $(OBJECTS) TO z LIB $(LIB) $(LNKFLGS)

Do  you  have  any  idea  why  there are symbol hunks although I explicitly
specify  the  NOADDSYM  keyword  for  SLink?   I surely don't like anything
included in an executable which doesn't _have_ to be there.  :(

Please help!

	MfG,	Ralph
--
Helen paused. With an audible "WHUMP", Muffy's familiar yipping had ended,
and only the sound of Ed's football game now emanated from the living room.
[GL] rseichter@darkness.gun.de # Tel (+49) 2233 70293 # Zodiac's Point 3.0
Newsgroups: comp.sys.amiga.programmer