home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13061 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  865 b 

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!VNET.IBM.COM!glalonde
  2. From: glalonde@VNET.IBM.COM ("Glen Lalonde")
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Altering the TRAP dispatch table.
  5. Message-ID: <9207271916.AA19926@ucbvax.Berkeley.EDU>
  6. Date: 27 Jul 92 19:11:30 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Lines: 13
  9.  
  10. I need to change the location that one of the OS Traps goes go.
  11. IM detains how to do this, but under sys 7 the effect seems to be local
  12. to that process. Once the application that did the patch exits, the OS Trap
  13. went back to its old value. Is there any way to make the patch GLOBAL and
  14. PERSISTENT?
  15.  
  16. For now I just figured out the location in memory and patched it via
  17. C. I doubt if the trap table always starts at location $400 in memory
  18. for all models though.
  19.  
  20. I want to trap BlockMove to a version optimized for the 030, my SE has
  21. a 030 card.
  22.  
  23.