Prev: 54902 Up: Map Next: 54950
54942: Capture keyboard input, or jump to joystick reading routine, loading result into A
Used by the routines at 27136, 32694, 35296, 35386, 55138 and 55768.
Output
A Stored key-press (bits: 0=LEFT, 1=RIGHT, 2=UP, 3=DOWN, 4=FIRE)
54942 LD HL,23487 Point HL at input control flags and reset all
54945 LD (HL),0 ...
The operand of the instruction at 54947 represents the start address of the input reading routine for the currently selected input device. This is modified by the instruction at 54518.
54947 JP 54950 Jump to appropriate keyboard / joystick reading routine
Prev: 54902 Up: Map Next: 54950