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 FAQ
  
next 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)




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:















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 FAQ
  
next page: 10.1) I see all these people call Gestalt without first checking whether it's implemented. Isn't that bad? (Compatibility - Mac Programming)