Prev: 6B23 Up: Map Next: 6B41
6B2B: Finish Word On Terminator
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) Jump to FinishWord_Space if *LastCharacter is 7E.
6B2E CP $7E
6B30 JR Z,FinishWord_Space
6B32 CP $5E Jump to CollectWord with a space if *LastCharacter is not 5E.
6B34 LD A,$20
6B36 JP NZ,CollectWord
Collect a space after the terminator.
FinishWord_Space 6B39 LD A,$20 Write 20 to *LastCharacter.
6B3B LD ($5B9B),A
6B3E JP CollectWord Jump to CollectWord.
Prev: 6B23 Up: Map Next: 6B41