Prev: C22D Up: Map Next: C249
C240: Validate Keypress
Used by the routines at PrintScreenCharacter and GetKeypress.
Checks the keypress and rejects a key the game does not use.
ValidateKeypress C240 CP $61 Return if it is below 61.
C242 RET C
C243 CP $7B Return if it is at least 7B.
C245 RET NC
C246 AND %01011111 Convert the lower-case letter to upper case.
C248 RET Return.
Prev: C22D Up: Map Next: C249