Official Name: NewContext
BCALL Address: 4030
Loads one of the TIOS builtin apps.
- A = context equate (see cxCurApp)
- Context vectors set to the desired app
- Many additional side effects are possible depending on the app selected
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 (this saving and restoring is not necessary if you're B_CALLing the routine, but might be useful if you're B_JUMPing to it for some reason.) It also sets (kbdKey) to zero.