Prev: B6BF Up: Map Next: B703
B6E5: Handler: Controls Kempston Joystick
Input
E Control response
Handler_Controls_Kempston B6E5 IN A,($1F) A=controls.
Handles "left" action.
B6E7 LD E,$10 E=10.
B6E9 BIT 1,A Return if "left" was pressed.
B6EB RET NZ
Handles "right" action.
B6EC LD E,$00 E=00.
B6EE BIT 0,A Return if "right" was pressed.
B6F0 RET NZ
Handles "down" action.
B6F1 LD E,$08 E=08.
B6F3 BIT 2,A Return if "down" was pressed.
B6F5 RET NZ
Handles "up" action.
B6F6 LD E,$18 E=18.
B6F8 BIT 3,A Return if "up" was pressed.
B6FA RET NZ
Handles "fire" action.
B6FB LD E,$80 E=80.
B6FD BIT 4,A Return if "fire" was pressed.
B6FF RET NZ
Handle no action.
B700 LD E,$C0 E=C0.
B702 RET Return.
Prev: B6BF Up: Map Next: B703