Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!dartvax!eleazar.dartmouth.edu!earleh From: earleh@eleazar.dartmouth.edu (Earle R. Horton) Newsgroups: comp.sys.mac.programmer Subject: Re: Hacking SANE Opcodes. Keywords: SANE, XCMD, disassembly, hacking Message-ID: <16267@dartvax.Dartmouth.EDU> Date: 20 Oct 89 22:32:48 GMT References: <934@unsvax.NEVADA.EDU> Sender: news@dartvax.Dartmouth.EDU Reply-To: earleh@eleazar.dartmouth.edu (Earle R. Horton) Organization: Thayer School of Engineering Lines: 24 In article <934@unsvax.NEVADA.EDU> chris@arrakis.nevada.edu.uucp (Chris Hayes) writes: >Hello Netland. Howdy! > The macros for calling the Floating-Point routines push a two-byte >opword onto the stack and then invoke _Pack4. These macros are fully >documented in the Apple Numerics Manual. > > It's the last part that is the problem. I need to figure out what each >call is. Unfortunately that is all IM says about _Pack4. Does anybody know >where I can find the list of opwords? It's in the assembler header files for MPW. The whole set can be obtained using anonymous ftp from apple.com. You want /pub/dts/mac/mpw/aincludes.hqx. Extract "SANEMacs.a" from this and you should have all the info you need. I don't know why nobody seems to put the SANE interface info in C and Pascal header files. A couple of times, I wished the MPW folks had done so. Earle R. Horton