![]() |
Routines |
| Prev: 6B23 | Up: Map | Next: 6B41 |
|
Used by the routine at Capitalise.
A space that follows a message terminator is forced, so the terminator itself is not printed in the middle of a word.
|
||||
| FinishWord | 6B2B | LD A,($5B9B) | A last character of 7E is a terminator. | |
| 6B2E | CP $7E | |||
| 6B30 | JR Z,FinishWord_Space | |||
| 6B32 | CP $5E | A last character of 5E is a terminator. Anything else is collected as a space. | ||
| 6B34 | LD A,$20 | |||
| 6B36 | JP NZ,CollectWord | |||
| FinishWord_Space | 6B39 | LD A,$20 | A terminator is replaced by a space as the last character. | |
| 6B3B | LD ($5B9B),A | |||
| 6B3E | JP CollectWord | Jump to CollectWord to collect that space. | ||
| Prev: 6B23 | Up: Map | Next: 6B41 |