83Plus:BCALLs:402A
From WikiTI
Revision as of 17:06, 23 September 2009 by FloppusMaximus (Talk | contribs)
Synopsis
Official Name: JForceCmd
BCALL Address: 402A
Exits the current application and returns to the homescreen, optionally passing a "virtual keypress" to the homescreen.
Inputs
- A = initial keypress to simulate
- (keyExtend) = extended keycode
Outputs
- None
Destroys
- Everything (this routine does not return)
Comments
This routine is similar to JForceCmdNoChar, but allows you to pass a single keypress to the homescreen's cxMain handler (in a manner similar to SendKPress.)
This routine might be useful for Flash apps wanting to invoke a BASIC or assembly program upon exiting, but most applications should use JForceCmdNoChar instead.