Prev: E9BC Up: Map Next: E9DB
E9C0: Kempston joystick input routine
Input
C On return holds the appropriate action : 0 - jump right, 1 - move right, 2 - jump left, 3 - move left, 4 - jump, 5 - no action
E9C0 IN A,($1F)
E9C2 AND $13
E9C4 LD C,$00
E9C6 CP $11
E9C8 RET Z
E9C9 INC C
E9CA CP $01
E9CC RET Z
E9CD INC C
E9CE CP $12
E9D0 RET Z
E9D1 INC C
E9D2 CP $02
E9D4 RET Z
E9D5 INC C
E9D6 CP $10
E9D8 RET Z
E9D9 INC C
E9DA RET
Prev: E9BC Up: Map Next: E9DB