Prev: 6704 Up: Map Next: 6717
670A: Handle up/accelerate input
Used by the routines at scan_cursor, scan_kempston, scan_sinclair and scan_keyboard.
Sets speed to SPEED_FAST and updates control flags. Called when player presses up on joystick/keyboard.
handle_up 670A LD A,$04 Set speed to SPEED_FAST.
670C LD ($5F64),A
670F LD HL,$6BB0 Set CONTROLS_BIT_SPEED_CHANGED, clear CONTROLS_BIT_SPEED_NOT_FAST.
6712 SET 2,(HL)
6714 RES 1,(HL)
6716 RET
Prev: 6704 Up: Map Next: 6717