Difference between revisions of "83Plus:BCALLs:500B"
From WikiTI
m |
(→Outputs: copied some outputs from getKey) |
||
Line 12: | Line 12: | ||
=== Outputs === | === Outputs === | ||
* A: keycode for key pressed. | * A: keycode for key pressed. | ||
+ | * [[83Plus:RAM:8446|(keyExtend)]] = extended keycode | ||
+ | * bit [[83Plus:Flags:09#Bit_4|onInterrupt, (iy+onFlags)]] set (and A=0) if the On key was pressed | ||
+ | <!-- or would it be kOff? --> | ||
+ | * [[83Plus:Flags:12|(iy+shiftFlags)]] contains shift settings | ||
=== Registers Destroyed === | === Registers Destroyed === |
Revision as of 11:53, 26 October 2005
Synopsis
Official Name: GetKeyRetOff
BCALL Address: 500B
Gets a keypress from the keyboard. Similar to GetKey, the 2nd+off key combination will return kOff to the caller, instead of turning the calculator off.
Inputs
None
Outputs
- A: keycode for key pressed.
- (keyExtend) = extended keycode
- bit onInterrupt, (iy+onFlags) set (and A=0) if the On key was pressed
- (iy+shiftFlags) contains shift settings
Registers Destroyed
- DE, HL
Comments
This function will wait until the user presses a key or key combination, and will APD or accept silent link if they are enabled. Functionally it is the same thing as calling regular GetKey, except with the 7,(iy+28h) flag set first. See ti83plus.inc for the list of return keycodes.