83Plus:BCALLs:4030
From WikiTI
Revision as of 14:58, 25 September 2009 by FloppusMaximus (Talk | contribs)
Synopsis
Official Name: NewContext
BCALL Address: 4030
Loads one of the TIOS builtin apps.
Inputs
- A = context equate (see cxCurApp)
Outputs
- Context vectors set to the desired app
Destroys
- Many additional side effects are possible depending on the app selected
Comments
This routine (similar to NewContext0) puts away the current app, loads the context vectors for a particular builtin app, and calls the appropriate initialization code.
Unlike NewContext0, this routine saves and restores the current page in port 6 regardless of the app selected. It also sets (kbdKey) to zero.