![]() |
Routines |
| Prev: EEF1 | Up: Map | Next: EF92 |
|
Used by the routine at PrintMessage.
Gate before PrintCharacter: ignore columns past 1A, and skip printing for the left margin (columns below 06) while still advancing the cursor.
|
||||
| ClipAndPrintCharacter | EF82 | LD A,($5BF7) | Fetch the column and compare it with 1A. | |
| EF85 | CP $1A | |||
| EF87 | RET NC | Return if the column is past 1A. | ||
| EF88 | CP $06 | Jump to PrintCharacter if the column is in the printable area. | ||
| EF8A | JP NC,PrintCharacter | |||
| EF8D | INC A | Otherwise just bump the cursor. | ||
| EF8E | LD ($5BF7),A | |||
| EF91 | RET | Return. | ||
| Prev: EEF1 | Up: Map | Next: EF92 |