83Plus:BCALLs:4033
From WikiTI
Revision as of 14:59, 25 September 2009 by FloppusMaximus (Talk | contribs)
Synopsis
Official Name: NewContext0
BCALL Address: 4033
Loads one of the TIOS builtin apps.
Inputs
- A = context equate (see cxCurApp)
Outputs
- Context vectors set to the desired app
- others?
Destroys
- Many additional side effects are possible depending on the app selected
Comments
This B_CALL puts away the current app, loads the context vectors for a particular builtin app, and calls the appropriate initialization code.
In most cases, this routine will return to the caller after initializing the given app, but for some apps, the page in port 6 will not be restored correctly. Using NewContext instead may be a better choice.
Credits and Contributions
- Brandon Sterner: "Now... someone go document this on the wiki."