Prev: EB64 Up: Map Next: EB9E
EB98: Input Handler: Kempston
Input
HL Points to Data_Control
IX Points to this routine
Output
A The control byte
The outputs are:
Byte Bits Action
01 00000001 Right
02 00000010 Left
04 00000100 Down
08 00001000 Up
10 00010000 Fire
InputHandler_Kempston EB98 IN A,($1F) A=read from the Kempston joystick port.
EB9A LD (HL),A Write A to *HL.
EB9B JP InputHandler_Common Jump to InputHandler_Common.
Prev: EB64 Up: Map Next: EB9E