Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!sri-spam!sri-unix!hplabs!hp-sdd!ncr-sd!gould9!joel From: joel@gould9.UUCP (Joel West) Newsgroups: net.micro.mac,net.lang.mod2 Subject: Re: ETH Modula2 Single Pass (how to access the tool-box) Message-ID: <809@gould9.UUCP> Date: Tue, 7-Oct-86 23:07:47 EDT Article-I.D.: gould9.809 Posted: Tue Oct 7 23:07:47 1986 Date-Received: Thu, 9-Oct-86 05:34:09 EDT References: <6@fornax.uucp> <384@ethz.UUCP> Distribution: net Organization: Western Software Technology, Vista, CA Lines: 24 Summary: TRAPS Xref: mnetor net.micro.mac:7486 net.lang.mod2:451 In article <384@ethz.UUCP>, heeb@ethz.UUCP (Hansruedi Heeb) writes: > You can access any tool-box tool if you know it's address. An example: > > FROM SYSTEM IMPORT WORD; > > PROCEDURE DrawChar(ch: WORD); CODE 0A883H; > > > Hansruedi Heeb > {seismo|decvax}!mcvax!cernvax!ethz!heeb Actually, this loses something in the translation, since the word here is "trap" not "address". A trap is an unimplemented 68000 instruction. This only works for stack-based calls, which are normally limited to the toolbox. For example, if MacMETH doesn't provide assembler, and doesn't provide direct access to the file manager, device manager, and memory manager, you're SOOL. -- Joel West MCI Mail: 282-8879 Western Software Technology, POB 2733, Vista, CA 92083 {cbosgd, ihnp4, pyramid, sdcsvax, ucla-cs} !gould9!joel joel%gould9.uucp@NOSC.ARPA