[net.micro.amiga] Wack

richr@iddic.UUCP (Rich Rodgers) (11/28/85)

I have spent the last week or so playing around with Wack and I have a
few comments/questions that I think will be of general interest to the net.

Question:  How do you get the linker to retain the SYMBOLS from a C program?
I have read all the manuals and find nothing that gives a hint on how to do
this.

Comments:  Having traced through some of the exec routines, I would like to
complement the author on a job very well done.  The routines are extremely
compact, and take advantages of the neat tricks one can do with the 68000mP.

The serial RBF interrupt routine seems to have been hacked together at the
last minute.  In particular there were five lines of code:

	beq.s	$34dde
	move.l	d2, d2		????
	move.l	d2, d2  	????
	move.l	d2, d2  	????
34dde	move.l	$36(a6), d1

Not really efficient.  If this serves a purpose I would really like to know.
After all one can always learn something new!

Also, making your own interrupt handler is incorrectly documented in the
TUTORIAL section of the ROM Kernal Manual.  The correct data structure to
use is:

struct Interrupt my_int_handler;

This structure is designed for use with an interrupt server but works with an
interrupt handler as well.  Since it carries the node information for the 
interrupt handler it must be a STATIC or global variable.  Otherwise the 
system will crash, and crash, and crash......

That's all for now, lets start being more active with help and advise!

Can we get some more C source from Amiga???
-- 
                                 RDS Software
                                 9140 SW Locust St.
                                 Tigard, OR  97223
                                 (503) 246-9258

                 Makers of the most unique terminal emulation
                      software the Amiga will ever see!!!