![]() |
Routines |
| Prev: 27427 | Up: Map | Next: 27457 |
|
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 | 27435 | LD A,(23451) | A last character of 126 is a terminator. | |
| 27438 | CP 126 | |||
| 27440 | JR Z,FinishWord_Space | |||
| 27442 | CP 94 | A last character of 94 is a terminator. Anything else is collected as a space. | ||
| 27444 | LD A,32 | |||
| 27446 | JP NZ,CollectWord | |||
| FinishWord_Space | 27449 | LD A,32 | A terminator is replaced by a space as the last character. | |
| 27451 | LD (23451),A | |||
| 27454 | JP CollectWord | Jump to CollectWord to collect that space. | ||
| Prev: 27427 | Up: Map | Next: 27457 |