Difference between revisions of "83Plus:BCALLs:4033"

From WikiTI
Jump to: navigation, search
(doesn't return correctly for some apps)
(remove my silly earlier comment about port 6)
 
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. (It ''does'' return, however.)
 
+
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."

Latest revision as of 19:30, 29 September 2009

Synopsis

Official Name: NewContext0

BCALL Address: 4033

Loads one of the TIOS builtin apps.

Inputs

Outputs

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. (It does return, however.)

Credits and Contributions

  • Brandon Sterner: "Now... someone go document this on the wiki."