![]() |
Routines |
Prev: B67F | Up: Map |
|
||||||||
B6E8 | LD HL,$5C3B | This is the FLAGS system variable | ||||||
B6EB | RES 5,(HL) | Signal: no key pressed | ||||||
B6ED | CALL $B3F6 | Print 'PRESS'C'TO CHANGE NAME' | ||||||
B6F0 | CALL $673A | Wait for a keypress and collect its ASCII code in A | ||||||
B6F3 | JR Z,$B6F0 | |||||||
B6F5 | OR $20 | Convert the ASCII code to lower case | ||||||
B6F7 | CP $63 | Set the zero flag if 'c' (or 'C') was pressed | ||||||
B6F9 | RET |
Prev: B67F | Up: Map |