Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“OSA_Preserve_68K_Registers.zip”, 5.6K)
Download Sample (“OSA_Preserve_68K_Registers.dmg”, 61.9K)


The purpose of these functions are to save and restore a group of emulated 68K registers around calls to a PowerPC active or send function, which in turn calls YieldToAnyThread. This work-around is necessary because, at the current time, the PPC Thread Manager doesn't do anything with the emulated 68K registers, and without this work-around, the OSA AppleScript component get totally confused and blows-up. Requires: PowerPC, AppleScript, Thread Manager Keywords: AppleScript, Thread Manager, threads

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.