83Plus:BCALLs:402A

From WikiTI
Revision as of 01:06, 24 September 2009 by FloppusMaximus (talk | contribs) (New page: JForceCmd JForceCmd 402A - JForceCmd == Synopsis == '''Official Name:'''...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.