0
|
1 ;=============================================================================
|
|
2 ;
|
634
|
3 ; File aa_fonts.asm * combined next generation V3.08.4f
|
0
|
4 ;
|
|
5 ; Font-data for the anti-aliased word processor
|
|
6 ;
|
|
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
8 ;=============================================================================
|
|
9 ; HISTORY
|
604
|
10 ; 2010-11-23 : [jDG] Creation for OSTC 1.72, with the original fonts repacked
|
|
11 ; 2010-12-01 : [jDG] Adding 3 bit anti-aliased fonts
|
0
|
12 ;=============================================================================
|
|
13
|
604
|
14
|
623
|
15 #include "configuration.inc"
|
0
|
16
|
623
|
17 ; Attention: all fonts need to be in the same 64 kByte page
|
634
|
18 ;============================================================================
|
623
|
19 fonts_data CODE_PACK 0x10000 ; ex 0x11000
|
|
20 ;============================================================================
|
|
21
|
|
22
|
|
23 ;---- TINY font description and data ----------------------------------------
|
634
|
24 ;
|
604
|
25 global aa_font16_block
|
0
|
26 aa_font16_block:
|
604
|
27 DB '°', 0x7F ; remap a few ASCII chars, to avoid
|
|
28 DB 'ö', 0x80 ; holes in the character table
|
|
29 DB 'ä', 0x81
|
|
30 DB 'ü', 0x82
|
|
31 DB 'ß', 0x83
|
|
32 DB 'é', 0x84 ; French accents
|
|
33 DB 'è', 0x85
|
|
34 DB 'ê', 0x86
|
|
35 DB 'ç', 0x87
|
|
36 DB 'á', 0x88 ; Spanish accents
|
|
37 DB 'í', 0x89
|
|
38 DB 'ó', 0x8A
|
|
39 DB 'ú', 0x8B
|
|
40 DB 'ñ', 0x8C
|
|
41 DB '¡', 0x8D
|
|
42 DB '¿', 0x8E
|
|
43 DB 0 ; end of translation table
|
634
|
44 DB aa_font16_firstChar ; code of first char in font set
|
|
45 DB aa_font16_chars ; number of chars in font set
|
|
46 DB '¿'-aa_font16_firstChar ; default char
|
|
47 DB aa_font16_height + 0x80 ; font hight and AA flag
|
0
|
48 ;
|
604
|
49 #include "../src/Fonts/aa_font16_idx.inc"
|
1
|
50 #include "../src/Fonts/aa_font16.inc"
|
0
|
51 aa_font16_end:
|
604
|
52 ; Attention: make sure this is coherent
|
0
|
53 if aa_font16_nbbits != 3
|
604
|
54 error TINY font should be encoded with 3 bits anti-aliasing!
|
0
|
55 endif
|
|
56
|
634
|
57
|
0
|
58 ;---- SMALL font description and data ----------------------------------------
|
634
|
59 ;
|
604
|
60 global aa_font28_block
|
0
|
61 aa_font28_block:
|
604
|
62 DB '°', 0x7F ; remap a few ASCII chars, to avoid
|
|
63 DB 'ö', 0x80 ; holes in the character table
|
|
64 DB 'ä', 0x81
|
|
65 DB 'ü', 0x82
|
|
66 DB 'ß', 0x83
|
|
67 DB 'é', 0x84 ; French accents
|
|
68 DB 'è', 0x85
|
|
69 DB 'ê', 0x86
|
|
70 DB 'ç', 0x87
|
|
71 DB 'á', 0x88 ; Spanish accents
|
|
72 DB 'í', 0x89
|
|
73 DB 'ó', 0x8A
|
|
74 DB 'ú', 0x8B
|
|
75 DB 'ñ', 0x8C
|
|
76 DB '¡', 0x8D
|
|
77 DB '¿', 0x8E
|
|
78 DB '¤', 0x8F ; unused
|
|
79 ; 90 and 91 contain the logo
|
|
80 DB 0xB7,0x92 ; cursor
|
|
81 DB 0xB8,0x93 ; arrow down
|
|
82 DB 0xB9,0x94 ; arrow up
|
|
83 DB 0 ; end of translation table
|
634
|
84 DB aa_font28_firstChar ; code of first char in font set
|
|
85 DB aa_font28_chars ; number of chars in font set
|
|
86 DB 0x83-aa_font28_firstChar ; default char
|
|
87 DB aa_font28_height + 0x80 ; font hight and AA flag
|
0
|
88 ;
|
604
|
89 #include "../src/Fonts/aa_font28_idx.inc"
|
1
|
90 #include "../src/Fonts/aa_font28.inc"
|
0
|
91 aa_font28_end:
|
634
|
92 ; Attention: make sure this is coherent:
|
0
|
93 if aa_font28_nbbits != 3
|
604
|
94 error SMALL font should be encoded with 3 bits anti-aliasing!
|
0
|
95 endif
|
|
96
|
634
|
97
|
0
|
98 ;---- STD font description and data ------------------------------------------
|
634
|
99 ;
|
623
|
100 global aa_font34_block
|
|
101 aa_font34_block:
|
604
|
102 DB '°', 0x7F ; remap a few ASCII chars, to avoid
|
|
103 DB 'ö', 0x80 ; holes in the character table
|
|
104 DB 'ä', 0x81
|
|
105 DB 'ü', 0x82
|
|
106 DB 'ß', 0x83
|
|
107 DB 'é', 0x84 ; French accents
|
|
108 DB 'è', 0x85
|
|
109 DB 'ê', 0x86
|
|
110 DB 'ç', 0x87
|
|
111 DB 'à', 0x88 ; Spanish accents
|
|
112 DB 'á', 0x89
|
|
113 DB 'í', 0x8A
|
|
114 DB 'ó', 0x8B
|
|
115 DB 'ú', 0x8C
|
|
116 DB 'ñ', 0x8D
|
|
117 DB '¡', 0x8E
|
|
118 DB '¿', 0x8F
|
623
|
119 ; 90, 91 contain the logo
|
604
|
120 DB 0xB7,0x92 ; cursor
|
|
121 ; 93 is down arrow (dive start)
|
|
122 ; 94 is up arrow (dive end)
|
|
123 ; 95 is left-right arrow (dive duration)
|
631
|
124 DB '¤', 0x96 ; unused
|
|
125 DB 0 ; end of translation table
|
634
|
126 DB aa_font34_firstChar ; code of first char in font set
|
|
127 DB aa_font34_chars ; number of chars in font set
|
|
128 DB 0x87-aa_font34_firstChar ; default char
|
|
129 DB aa_font34_height + 0x80 ; font hight and AA flag
|
0
|
130 ;
|
604
|
131 #include "../src/Fonts/aa_font34_idx.inc"
|
1
|
132 #include "../src/Fonts/aa_font34.inc"
|
0
|
133 aa_font36_end:
|
634
|
134 ; Attention: make sure this is coherent:
|
0
|
135 if aa_font34_nbbits != 3
|
604
|
136 error STANDARD font should be encoded with 3 bits anti-aliasing!
|
0
|
137 endif
|
|
138
|
634
|
139
|
0
|
140 ;---- MEDIUM font description and data ---------------------------------------
|
634
|
141 ;
|
604
|
142 global aa_font48_block
|
0
|
143 aa_font48_block:
|
631
|
144 DB ' ', 0x3F ; space, full-width
|
|
145 ; DB ',', 0x2C ; space, half-width, on position of ','
|
|
146 ; DB '-', 0x2D ; minus, half-width, on position of '-'
|
|
147 DB '|', 0x2F ; | half-width
|
|
148 DB 0x27, 0x3B ; ' half-width
|
|
149 DB '"', 0x3C ; "
|
|
150 DB 'm', 0x3D ; m
|
|
151 DB 'f', 0x3E ; ft-ligature
|
|
152 DB 0 ; end of translation table
|
634
|
153 DB aa_font48_firstChar ; code of first char in font set
|
|
154 DB aa_font48_chars ; number of chars in font set
|
|
155 DB 0x3F-aa_font48_firstChar ; default char
|
|
156 DB aa_font48_height + 0x80 ; font hight and AA flag
|
0
|
157 ;
|
1
|
158 #include "../src/Fonts/aa_font48_idx.inc"
|
|
159 #include "../src/Fonts/aa_font48.inc"
|
0
|
160 aa_font48_end:
|
634
|
161 ; Attention: make sure this is coherent:
|
0
|
162 if aa_font48_nbbits != 3
|
604
|
163 error MEDIUM font should be encoded with 3 bits anti-aliasing!
|
0
|
164 endif
|
|
165
|
634
|
166
|
0
|
167 ;---- LARGE font description and data ----------------------------------------
|
634
|
168 ;
|
604
|
169 global aa_font90_block
|
0
|
170 aa_font90_block:
|
634
|
171 DB ' ', 0x2F ; space
|
|
172 DB 0 ; end of translation table
|
|
173 DB aa_font90_firstChar ; code of first char in font set
|
|
174 DB aa_font90_chars ; number of chars in font set
|
|
175 DB 0x2F-aa_font90_firstChar ; default char
|
|
176 DB aa_font90_height + 0x80 ; font hight and AA flag
|
0
|
177 ;
|
1
|
178 #include "../src/Fonts/aa_font90_idx.inc"
|
|
179 #include "../src/Fonts/aa_font90.inc"
|
0
|
180 aa_font90_end:
|
634
|
181 ; Attention: make sure this is coherent:
|
0
|
182 if aa_font90_nbbits != 3
|
604
|
183 error SMALL font should be encoded with 3 bits anti-aliasing!
|
0
|
184 endif
|
|
185
|
634
|
186
|
623
|
187 ;---- HUGE font description and data ----------------------------------------
|
634
|
188 ;
|
623
|
189 global aa_font92_block
|
|
190 aa_font92_block:
|
634
|
191 DB ' ', 0x2F ; space
|
|
192 DB 0 ; end of translation table
|
|
193 DB aa_font92_firstChar ; code of first char in font set
|
|
194 DB aa_font92_chars ; number of chars in font set
|
|
195 DB 0x2F-aa_font92_firstChar ; default char
|
623
|
196 DB aa_font92_height + 0x80 ; AA flag
|
|
197 ;
|
|
198 #include "../src/Fonts/aa_font92_idx.inc"
|
|
199 #include "../src/Fonts/aa_font92.inc"
|
|
200 aa_font92_end:
|
634
|
201 ; Attention: make sure this is coherent:
|
623
|
202 if aa_font92_nbbits != 3
|
|
203 error SMALL font should be encoded with 3bits anti-aliasing...
|
|
204 endif
|
|
205
|
634
|
206 ;-----------------------------------------------------------------------------
|
|
207
|
|
208 END
|