[comp.sys.mac.programmer] Calling XPram traps from assembler?

earleh@eleazar.dartmouth.edu (Earle R. Horton) (11/09/88)

     Anybody know how to call the traps ReadXPRam and WriteXPRam?  I
know the trap numbers, and since they are OS traps I assume they want
an address in A0 and a parameter in D0.  Disassembly of the traps
confirms this.  What I don't know is how big the storage area pointed
to by A0 should be, and what are valid formats of the parameter in D0.

     Send mail, I will summarize.  If you want to tell me the
information in extended parameter RAM is reserved for use by Apple, go
ahead.  Please tell me how to call the traps, too.


Earle R. Horton. 23 Fletcher Circle, Hanover, NH 03755
(603) 643-4109
Sorry, no fancy stuff, since this program limits my .signature to three