Difference between revisions of "83Plus:BCALLs:402A"

From WikiTI
Jump to: navigation, search
(New page: JForceCmd JForceCmd 402A - JForceCmd == Synopsis == '''Official Name:'''...)
 
(No difference)

Latest revision as of 17:06, 23 September 2009

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.