Up: Map Next: 6248
6108: The font
Forty characters of 8 by 8 pixels, eight bytes each with the top row first. A character's code is its position here: $00 to $09 are the digits, $0A to $23 the letters A to Z, $24 a full stop, $25 a copyright sign, $26 a space and $27 a percent sign. There is no lower case. Strings are lists of these codes with bit 7 set on the last one (print_text).
print_8x8 finds a character by multiplying its code by eight and adding the address held at $5BC7, which every caller of it sets to this table first. All the game's text comes from here: the menu, the day and lives counters and the messages.
font 6108 DEFB $38,$6C,$D6,$D6,$D6,$D6,$6C,$38 Code $00: 0
6110 DEFB $18,$38,$58,$18,$18,$18,$18,$7C Code $01: 1
6118 DEFB $38,$4C,$0C,$3C,$60,$C2,$C2,$FE Code $02: 2
6120 DEFB $38,$4C,$0C,$3C,$0E,$86,$86,$FC Code $03: 3
6128 DEFB $18,$38,$58,$9A,$FE,$1A,$18,$7C Code $04: 4
6130 DEFB $FE,$C2,$C0,$FC,$06,$06,$86,$7C Code $05: 5
6138 DEFB $1E,$32,$60,$7C,$C6,$C6,$C6,$7C Code $06: 6
6140 DEFB $7E,$46,$4C,$0C,$18,$18,$30,$F8 Code $07: 7
6148 DEFB $38,$6C,$6C,$7C,$FE,$C6,$C6,$7C Code $08: 8
6150 DEFB $7C,$C6,$C6,$C6,$7C,$0C,$98,$F0 Code $09: 9
6158 DEFB $0C,$1C,$2E,$66,$46,$CE,$DB,$66 Code $0A: A
6160 DEFB $F8,$6C,$6C,$78,$6C,$66,$66,$FC Code $0B: B
6168 DEFB $0E,$32,$60,$40,$C0,$C2,$E6,$7C Code $0C: C
6170 DEFB $60,$70,$68,$6C,$66,$66,$66,$FC Code $0D: D
6178 DEFB $FE,$60,$64,$7C,$64,$60,$7A,$C6 Code $0E: E
6180 DEFB $C6,$7A,$60,$64,$7C,$64,$60,$60 Code $0F: F
6188 DEFB $0E,$30,$60,$C6,$CE,$F6,$66,$0E Code $10: G
6190 DEFB $EE,$C6,$C6,$FE,$C6,$C6,$C6,$EE Code $11: H
6198 DEFB $7C,$18,$18,$18,$18,$18,$18,$7C Code $12: I
61A0 DEFB $1E,$06,$06,$86,$86,$C6,$7E,$1C Code $13: J
61A8 DEFB $E4,$68,$70,$78,$6C,$64,$64,$F6 Code $14: K
61B0 DEFB $E0,$60,$60,$60,$60,$60,$62,$FE Code $15: L
61B8 DEFB $C6,$EE,$EE,$D6,$D6,$D6,$C6,$EE Code $16: M
61C0 DEFB $CC,$D6,$D6,$E6,$E4,$C4,$C8,$DE Code $17: N
61C8 DEFB $38,$6C,$C6,$C6,$C6,$C6,$6C,$38 Code $18: O
61D0 DEFB $F8,$6C,$66,$76,$6E,$60,$60,$F0 Code $19: P
61D8 DEFB $38,$6C,$C6,$C6,$C6,$D6,$6C,$3A Code $1A: Q
61E0 DEFB $F8,$6C,$66,$76,$7E,$78,$6C,$E6 Code $1B: R
61E8 DEFB $38,$64,$60,$3C,$06,$86,$C6,$7C Code $1C: S
61F0 DEFB $FE,$9A,$98,$18,$18,$18,$18,$18 Code $1D: T
61F8 DEFB $F6,$26,$46,$4E,$CE,$D6,$D6,$66 Code $1E: U
6200 DEFB $E2,$62,$64,$64,$68,$68,$70,$60 Code $1F: V
6208 DEFB $EE,$C6,$D6,$D6,$D6,$EE,$EE,$C6 Code $20: W
6210 DEFB $C6,$C6,$6C,$38,$38,$6C,$C6,$C6 Code $21: X
6218 DEFB $86,$66,$16,$0E,$06,$04,$4C,$38 Code $22: Y
6220 DEFB $7E,$46,$0C,$18,$30,$62,$C2,$FE Code $23: Z
6228 DEFB $00,$00,$00,$00,$00,$18,$18,$00 Code $24: full stop
6230 DEFB $3C,$42,$99,$A1,$A1,$99,$42,$3C Code $25: copyright sign
6238 DEFB $00,$00,$00,$00,$00,$00,$00,$00 Code $26: space
6240 DEFB $00,$62,$64,$08,$10,$26,$46,$00 Code $27: percent sign
This is the first byte of the disassembly. Below it, $5BA0 to $6107 holds the game's variables and its forty object records, which START clears at start-up.
Up: Map Next: 6248