stason.org logo lotus


previous page: 9.1) How do I do code resources/extensions/external functions, much like HyperCard XCMDs only for my 68k app/extension? (Standalone Code & Trap Patching - Mac Programming)page up: Mac Programming FAQnext page: 10.1) I see all these people call Gestalt without first checking whether it's implemented. Isn't that bad? (Compatibility - Mac Programming)

9.2) How do I fat-patch a trap (that is, how do I patch a trap with both 68k and PPC code)? (Standalone Code & Trap Patching - Mac Programming)

 Books
 TULARC
















Description

This article is from the Mac Programming FAQ, by Jon Watte h+@austin.metrowerks.com with numerous contributions by others.

9.2) How do I fat-patch a trap (that is, how do I patch a trap with both 68k and PPC code)? (Standalone Code & Trap Patching - Mac Programming)

Create a normal fat routine descriptor and pass it to
Set{Tool, OS}TrapAddress().

 

Continue to:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

os, Mac, macintosh, apple, programming, software







TOP
previous page: 9.1) How do I do code resources/extensions/external functions, much like HyperCard XCMDs only for my 68k app/extension? (Standalone Code & Trap Patching - Mac Programming)page up: Mac Programming FAQnext page: 10.1) I see all these people call Gestalt without first checking whether it's implemented. Isn't that bad? (Compatibility - Mac Programming)