changeset 23:5e61b3eac873

Include missing file and Makefile modifications Need to actually include the font data if it's going to be referenced. Also update dependencies in dod.s to reflect the additional file.
author William Astle <lost@l-w.ca>
date Thu, 01 Jan 2015 23:02:58 -0700
parents 82224f9ef319
children f401b8be83a8
files Makefile font.s
diffstat 2 files changed, 106 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jan 01 23:01:23 2015 -0700
+++ b/Makefile	Thu Jan 01 23:02:58 2015 -0700
@@ -3,5 +3,5 @@
 	decb dskini dod.dsk
 	decb copy -b -2 dod.bin dod.dsk,DOD.BIN
 
-dod.bin: dod.s
+dod.bin: dod.s font.s
 	lwasm --list=dod.list --symbols --decb -o dod.bin dod.s
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/font.s	Thu Jan 01 23:02:58 2015 -0700
@@ -0,0 +1,105 @@
+; This is the font used for displaying text. 
+;
+; It contains glphys for every character from "SPACE" through "~".
+; Each glyph is an 8x8 bitmap, stored uncompressed.
+; A-Z,!,?,.,_ are from the original DoD ROM
+fontdata	fcb $00,$00,$00,$00,$00,$00,$00,$00	; space
+		fcb $10,$10,$10,$10,$10,$00,$10,$00	; !
+		fcb $28,$28,$28,$00,$00,$00,$00,$00	; "
+		fcb $28,$28,$7c,$28,$7c,$28,$28,$00	; #
+		fcb $10,$3c,$50,$38,$14,$7b,$10,$00	; $
+		fcb $60,$64,$08,$10,$20,$4c,$0c,$00	; %
+		fcb $20,$50,$50,$20,$54,$48,$34,$00	; &
+		fcb $10,$10,$10,$00,$00,$00,$00,$00	; '
+		fcb $08,$10,$20,$20,$20,$10,$08,$00	; (
+		fcb $20,$10,$08,$08,$08,$10,$20,$00	; )
+		fcb $00,$10,$54,$38,$38,$54,$10,$00	; *
+		fcb $00,$10,$10,$7c,$10,$10,$00,$00	; +
+		fcb $00,$00,$00,$00,$00,$10,$10,$20	; ,
+		fcb $00,$00,$00,$7c,$00,$00,$00,$00	; -
+		fcb $00,$00,$00,$00,$00,$00,$10,$00	; .
+		fcb $00,$04,$08,$10,$20,$40,$00,$00	; /
+		fcb $38,$44,$4c,$54,$64,$44,$38,$00	; 0
+		fcb $10,$30,$10,$10,$10,$10,$38,$00	; 1
+		fcb $38,$44,$04,$38,$40,$40,$7c,$00	; 2
+		fcb $38,$44,$04,$08,$04,$44,$38,$00	; 3
+		fcb $08,$18,$28,$48,$7c,$08,$08,400	; 4
+		fcb $7c,$40,$78,$04,$04,$44,$38,$00	; 5
+		fcb $38,$40,$40,$78,$44,$44,$38,$00	; 6
+		fcb $7c,$04,$08,$10,$20,$40,$40,$00	; 7
+		fcb $38,$44,$44,$38,$44,$44,$38,$00	; 8
+		fcb $38,$44,$44,$38,$04,$04,$38,$00	; 9
+		fcb $00,$00,$10,$00,$00,$10,$00,$00	; :
+		fcb $00,$00,$10,$00,$00,$10,$10,$20	; ;
+		fcb $08,$10,$20,$40,$20,$10,$08,$00	; <
+		fcb $00,$00,$7c,$00,$7c,$00,$00,$00	; =
+		fcb $20,$10,$08,$04,$08,$10,$20,$00	; >
+		fcb $38,$44,$04,$18,$10,$00,$10,$00	; ?
+		fcb $38,$44,$04,$34,$4c,$4c,$38,$00	; @
+		fcb $10,$28,$44,$44,$7c,$44,$44,$00	; A
+		fcb $78,$44,$44,$78,$44,$44,$78,$00	; B
+		fcb $38,$44,$40,$40,$40,$44,$38,$00	; C
+		fcb $78,$44,$44,$44,$44,$44,$78,$00	; D
+		fcb $7c,$40,$40,$78,$40,$40,$7c,$00	; E
+		fcb $7c,$40,$40,$78,$40,$40,$40,$00	; F
+		fcb $3c,$44,$40,$40,$4c,$44,$3c,$00	; G
+		fcb $44,$44,$44,$7c,$44,$44,$44,$00	; H
+		fcb $38,$10,$10,$10,$10,$10,$38,$00	; I
+		fcb $04,$04,$04,$04,$04,$44,$38,$00	; J
+		fcb $44,$48,$50,$60,$50,$48,$44,$00	; K
+		fcb $40,$40,$40,$40,$40,$40,$7c,$00	; L
+		fcb $44,$6c,$54,$54,$54,$44,$44,$00	; M
+		fcb $44,$44,$64,$54,$4c,$44,$44,$00	; N
+		fcb $38,$44,$44,$44,$44,$44,$38,$00	; O
+		fcb $78,$44,$44,$78,$40,$40,$40,$00	; P
+		fcb $38,$44,$44,$44,$54,$48,$34,$00	; Q
+		fcb $78,$44,$44,$78,$50,$48,$44,$00	; R
+		fcb $38,$44,$40,$38,$04,$44,$38,$00	; S
+		fcb $7c,$54,$10,$10,$10,$10,$10,$00	; T
+		fcb $44,$44,$44,$44,$44,$44,$38,$00	; U
+		fcb $44,$44,$44,$28,$28,$10,$10,$00	; V
+		fcb $44,$44,$44,$54,$54,$6c,$44,$00	; W
+		fcb $44,$44,$28,$10,$28,$44,$44,$00	; X
+		fcb $44,$44,$28,$10,$10,$10,$10,$00	; Y
+		fcb $7c,$04,$08,$10,$20,$40,$7c,$00	; Z
+		fcb $38,$20,$20,$20,$20,$20,$38,$00	; [
+		fcb $00,$40,$20,$10,$08,$04,$00,$00	; \
+		fcb $38,$08,$08,$08,$08,$08,$38,$00	; ]
+		fcb $10,$38,$54,$00,$00,$00,$00,$00	; ^
+		fcb $00,$00,$00,$00,$00,$00,$7c,$00	; _
+		fcb $10,$10,$08,$00,$00,$00,$00,$00	; `
+		fcb $00,$00,$38,$04,$3c,$44,$3c,$00	; a
+		fcb $40,$40,$58,$64,$44,$64,$58,$00	; b
+		fcb $00,$00,$38,$44,$40,$44,$38,$00	; c
+		fcb $04,$04,$34,$4c,$44,$4c,$34,$00	; d
+		fcb $00,$00,$38,$44,$7c,$40,$38,$00	; e
+		fcb $08,$14,$10,$38,$10,$10,$10,$00	; f
+		fcb $00,$00,$34,$4c,$4c,$34,$04,$38	; g
+		fcb $40,$40,$58,$64,$44,$44,$44,$00	; h
+		fcb $00,$10,$00,$10,$10,$10,$38,$00	; i
+		fcb $00,$04,$00,$04,$04,$04,$44,$38	; j
+		fcb $40,$40,$48,$50,$60,$50,$48,$00	; k
+		fcb $30,$10,$10,$10,$10,$10,$38,$00	; l
+		fcb $00,$00,$68,$54,$54,$54,$54,$00	; m
+		fcb $00,$00,$58,$64,$44,$44,$44,$00	; n
+		fcb $00,$00,$38,$44,$44,$44,$38,$00	; o
+		fcb $00,$00,$78,$44,$44,$78,$40,$40	; p
+		fcb $00,$00,$3c,$44,$44,$3c,$04,$04	; q
+		fcb $00,$00,$58,$64,$40,$40,$40,$00	; r
+		fcb $00,$00,$3c,$40,$38,$04,$78,$00	; s
+		fcb $20,$20,$70,$70,$70,$24,$18,$00	; t
+		fcb $00,$00,$44,$44,$44,$4c,$34,$00	; u
+		fcb $00,$00,$44,$44,$44,$28,$10,$00	; v
+		fcb $00,$00,$44,$54,$54,$28,$28,$00	; w
+		fcb $00,$00,$44,$28,$10,$28,$44,$00	; x
+		fcb $00,$00,$44,$44,$44,$3c,$04,$38	; y
+		fcb $00,$00,$7c,$08,$10,$20,$7c,$00	; z
+		fcb $08,$10,$10,$20,$10,$10,$08,$00	; {
+		fcb $10,$10,$10,$00,$10,$10,$10,$00	; |
+		fcb $20,$10,$10,$08,$10,$10,$20,$00	; }
+		fcb $20,$54,$08,$00,$00,$00,$00,$00	; ~
+		fcb $00,$00,$00,$00,$00,$00,$00,$00	; <no character code here - control character>
+		fcb $00,$00,$01,$01,$00,$00,$00,$00	; char code 128 - left part of contracted heart
+		fcb $00,$a0,$f0,$f0,$e0,$40,$00,$00	; char code 129 - right part of contracted heart
+		fcb $00,$01,$03,$03,$01,$00,$00,$00	; char code 130 - left half of expanded heart
+		fcb $00,$b0,$f8,$f8,$f0,$e0,$40,$00	; char code 131 - right part of expanded heart