Prev: 0013 Up: Map Next: 0020
0018: THE 'COLLECT CHARACTER' RESTART
The contents of the location currently addressed by CH-ADD are fetched. A return is made if the value represents a printable character, otherwise CH-ADD is incremented and the tests repeated.
Output
A Code of the character
GET_CHAR 0018 LD HL,($5C5D) Fetch the value that is addressed by CH-ADD.
001B LD A,(HL)
This entry point is used by the routine at NEXT_CHAR.
TEST_CHAR 001C CALL SKIP_OVER Find out if the character is printable.
001F RET NC Return if it is so.
This routine continues into NEXT_CHAR.
Prev: 0013 Up: Map Next: 0020