83Plus:BCALLs:50A4

From WikiTI
Revision as of 23:53, 15 May 2007 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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