Difference between revisions of "83Plus:BCALLs:50A4"

From WikiTI
Jump to: navigation, search
 
(No difference)

Latest revision as of 00:53, 16 May 2007


Synopsis

Unofficial Name: ForceGraphKeypress

BCALL Address: 50A4

Forces a keypress when on the graph screen.

Inputs

  • A: keypress to fake (and (keyExtend) if necessary)

Outputs

  • None

Destroys

  • All

Comments

This entry point is useful for faking a keypress at the graph screen (in a hook, for example).

It will call the graph hook with A=6 and B=keypress.

Example

Force the OS to quit from the graph screen to the homescreen:

ld a,kQuit
B_CALL ForceGraphKeypress