Prev: F2F4 Up: Map Next: F30A
F300: Wait for a key to be pressed
Used by the routine at F2BE.
Input
D Returns the key value
F300 CALL $F30A Get a key pressed.
F303 JR NZ,$F300
F305 INC D Loop back if nothing was pressed.
F306 JR Z,$F300
F308 DEC D Restore D and return.
F309 RET
Prev: F2F4 Up: Map Next: F30A