Prev: 5BAA Up: Map Next: 5CCB
5C0B: Word Buffer
Word-wrap buffer used by the game. Print_Character stores each letter here through *BufferPointer until a space, newline or quote; A9F6 then prints those letters and resets the pointer to WordBuffer. It overlays the system variables from DEFADD onwards. The store path has no hard length check; the flush path treats the buffered length as an 8-bit count and compares it with the screen width at ScreenWidth (set to 12 or 24), so this block is sized to that maximum width (24).
WordBuffer 5C0B DEFB $00,$00,$00,$00,$00,$01,$00,$06
5C13 DEFB $00,$0B,$00,$01,$00,$01,$00,$06
5C1B DEFB $00,$10,$00,$00,$00,$00,$00,$00
5C23 DEFB $00,$00,$00,$00,$00,$00,$00,$00
5C2B DEFB $00,$00,$00,$00
Prev: 5BAA Up: Map Next: 5CCB