Difference between revisions of "83Plus:BCALLs:4033"
From WikiTI
(→Comments) |
(doesn't return correctly for some apps) |
||
Line 18: | Line 18: | ||
== Comments == | == Comments == | ||
− | This B_CALL puts away the current app, loads the context vectors for a particular builtin app, and calls the appropriate initialization code. | + | 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 [[83Plus:BCALLs:4030|NewContext]] instead may be a better choice. | ||
== Credits and Contributions == | == Credits and Contributions == | ||
* '''Brandon Sterner:''' "Now... someone go document this on the wiki." | * '''Brandon Sterner:''' "Now... someone go document this on the wiki." |
Revision as of 14:59, 25 September 2009
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."