Prev: 62A3 Up: Map Next: 62CB
62AE: See if 1 (keyboard) or 2 (Kempston) was pressed, and start a game if so
62AE LD HL,$5DC9
62B1 LD A,$F7 Scan 1 - 5
62B3 IN A,($FE)
62B5 BIT 0,A Was 1 pressed?
62B7 JR Z,$62BF Jump if so
62B9 BIT 1,A Was 2 pressed?
62BB JR Z,$62C2 Jump if so
62BD JR $62B1 No appropriate key pressed, loop back round
62BF LD (HL),$00 Select KEYBOARD
62C1 RET
62C2 LD (HL),$01 Selected KEMPSTON
62C4 IN A,($1F) Check a joystick is actually available?
62C6 CP $20
62C8 JR NC,$62BF Otherwise select KEYBOARD instead
62CA RET
Prev: 62A3 Up: Map Next: 62CB