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-10-14

Build Requirements: N/A

Runtime Requirements: Carbon DrawSprocket, Context Switch

View Source Code:

Download Sample (“DSp_Context_SwitchOld.zip”, 36.6K)
Download Sample (“DSp_Context_SwitchOld.dmg”, 98.8K)


Demonstration of DSp 1.7 or 1.1.4 context switching. This eaxmple shows DSP context switching with both DSp 1.7 and later built in functions and the equivalent in DrawSprcoket 1.1.4 and earlier. Due to a bug in earlier version of DSp 1.7, it is recommended that the DSpContext_Reserve and DSpContext_Queue functions only beused in DSp 1.7.3 and later, prior to this it is recommended that one use the earlier version of the the switching code. The controls for the sample application are: - right arrow for a larger context - left arrow for smaller - Cmd-Q to exit. PowerPC, System 8.1+, DrawSprocket, and either Universal Interfaces 3.3 or DrawSprocket SDK Requirements: DrawSprocket, Context Switch Keywords:

Document Revision History

Date Notes
2003-10-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.