0
|
1 ;=============================================================================
|
|
2 ;
|
631
|
3 ; File aa_fonts.asm combined next generation V3.08.3
|
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
|
|
17
|
623
|
18 ; Attention: all fonts need to be in the same 64 kByte page
|
|
19 fonts_data CODE_PACK 0x10000 ; ex 0x11000
|
|
20
|
|
21 ;============================================================================
|
|
22
|
|
23
|
|
24 ;---- TINY font description and data ----------------------------------------
|
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
|
|
44 DB aa_font16_firstChar ; to be subtracted
|
|
45 DB aa_font16_chars ; max value
|
|
46 DB '¿'-aa_font16_firstChar ; replace by ¿ when unknown
|
|
47 DB aa_font16_height + 0x80
|
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
|
|
57 ;---- SMALL font description and data ----------------------------------------
|
604
|
58 global aa_font28_block
|
0
|
59 aa_font28_block:
|
604
|
60 DB '°', 0x7F ; remap a few ASCII chars, to avoid
|
|
61 DB 'ö', 0x80 ; holes in the character table
|
|
62 DB 'ä', 0x81
|
|
63 DB 'ü', 0x82
|
|
64 DB 'ß', 0x83
|
|
65 DB 'é', 0x84 ; French accents
|
|
66 DB 'è', 0x85
|
|
67 DB 'ê', 0x86
|
|
68 DB 'ç', 0x87
|
|
69 DB 'á', 0x88 ; Spanish accents
|
|
70 DB 'í', 0x89
|
|
71 DB 'ó', 0x8A
|
|
72 DB 'ú', 0x8B
|
|
73 DB 'ñ', 0x8C
|
|
74 DB '¡', 0x8D
|
|
75 DB '¿', 0x8E
|
|
76 DB '¤', 0x8F ; unused
|
|
77 ; 90 and 91 contain the logo
|
|
78 DB 0xB7,0x92 ; cursor
|
|
79 DB 0xB8,0x93 ; arrow down
|
|
80 DB 0xB9,0x94 ; arrow up
|
|
81 DB 0 ; end of translation table
|
|
82 DB aa_font28_firstChar ; to be subtracted
|
|
83 DB aa_font28_chars ; max value
|
|
84 DB 0x83-aa_font28_firstChar ; replace by ¤ when unknown
|
|
85 DB aa_font28_height + 0x80
|
0
|
86 ;
|
604
|
87 #include "../src/Fonts/aa_font28_idx.inc"
|
1
|
88 #include "../src/Fonts/aa_font28.inc"
|
0
|
89 aa_font28_end:
|
604
|
90 ; Attention: make sure this is coherent...
|
0
|
91 if aa_font28_nbbits != 3
|
604
|
92 error SMALL font should be encoded with 3 bits anti-aliasing!
|
0
|
93 endif
|
|
94
|
|
95 ;---- STD font description and data ------------------------------------------
|
623
|
96 global aa_font34_block
|
|
97 aa_font34_block:
|
604
|
98 DB '°', 0x7F ; remap a few ASCII chars, to avoid
|
|
99 DB 'ö', 0x80 ; holes in the character table
|
|
100 DB 'ä', 0x81
|
|
101 DB 'ü', 0x82
|
|
102 DB 'ß', 0x83
|
|
103 DB 'é', 0x84 ; French accents
|
|
104 DB 'è', 0x85
|
|
105 DB 'ê', 0x86
|
|
106 DB 'ç', 0x87
|
|
107 DB 'à', 0x88 ; Spanish accents
|
|
108 DB 'á', 0x89
|
|
109 DB 'í', 0x8A
|
|
110 DB 'ó', 0x8B
|
|
111 DB 'ú', 0x8C
|
|
112 DB 'ñ', 0x8D
|
|
113 DB '¡', 0x8E
|
|
114 DB '¿', 0x8F
|
623
|
115 ; 90, 91 contain the logo
|
604
|
116 DB 0xB7,0x92 ; cursor
|
|
117 ; 93 is down arrow (dive start)
|
|
118 ; 94 is up arrow (dive end)
|
|
119 ; 95 is left-right arrow (dive duration)
|
631
|
120 DB '¤', 0x96 ; unused
|
|
121 DB 0 ; end of translation table
|
|
122 DB aa_font34_firstChar ; to be subtracted
|
|
123 DB aa_font34_chars ; max value
|
|
124 DB 0x87-aa_font34_firstChar ; replace by ¤ when unknown
|
|
125 DB aa_font34_height + 0x80
|
0
|
126 ;
|
604
|
127 #include "../src/Fonts/aa_font34_idx.inc"
|
1
|
128 #include "../src/Fonts/aa_font34.inc"
|
0
|
129 aa_font36_end:
|
604
|
130 ; Attention: make sure this is coherent...
|
0
|
131 if aa_font34_nbbits != 3
|
604
|
132 error STANDARD font should be encoded with 3 bits anti-aliasing!
|
0
|
133 endif
|
|
134
|
|
135 ;---- MEDIUM font description and data ---------------------------------------
|
604
|
136 global aa_font48_block
|
0
|
137 aa_font48_block:
|
631
|
138 DB ' ', 0x3F ; space, full-width
|
|
139 ; DB ',', 0x2C ; space, half-width, on position of ','
|
|
140 ; DB '-', 0x2D ; minus, half-width, on position of '-'
|
|
141 DB '|', 0x2F ; | half-width
|
|
142 DB 0x27, 0x3B ; ' half-width
|
|
143 DB '"', 0x3C ; "
|
|
144 DB 'm', 0x3D ; m
|
|
145 DB 'f', 0x3E ; ft-ligature
|
|
146 DB 0 ; end of translation table
|
|
147 DB aa_font48_firstChar ; to be subtracted
|
|
148 DB aa_font48_chars ; max value
|
|
149 DB 0x3F-aa_font48_firstChar ; replace by space when unknown
|
604
|
150 DB aa_font48_height + 0x80 ; AA flag
|
0
|
151 ;
|
1
|
152 #include "../src/Fonts/aa_font48_idx.inc"
|
|
153 #include "../src/Fonts/aa_font48.inc"
|
0
|
154 aa_font48_end:
|
604
|
155 ; Attention: make sure this is coherent...
|
0
|
156 if aa_font48_nbbits != 3
|
604
|
157 error MEDIUM font should be encoded with 3 bits anti-aliasing!
|
0
|
158 endif
|
|
159
|
|
160 ;---- LARGE font description and data ----------------------------------------
|
604
|
161 global aa_font90_block
|
0
|
162 aa_font90_block:
|
604
|
163 DB ' ', 0x2F
|
|
164 DB 0
|
|
165 DB aa_font90_firstChar
|
|
166 DB aa_font90_chars
|
|
167 DB 0x2F-aa_font90_firstChar
|
|
168 DB aa_font90_height + 0x80 ; AA flag
|
0
|
169 ;
|
1
|
170 #include "../src/Fonts/aa_font90_idx.inc"
|
|
171 #include "../src/Fonts/aa_font90.inc"
|
0
|
172 aa_font90_end:
|
604
|
173 ; Attention: make sure this is coherent...
|
0
|
174 if aa_font90_nbbits != 3
|
604
|
175 error SMALL font should be encoded with 3 bits anti-aliasing!
|
0
|
176 endif
|
|
177
|
623
|
178 ;---- HUGE font description and data ----------------------------------------
|
|
179 global aa_font92_block
|
|
180 aa_font92_block:
|
|
181 DB ' ', 0x2F
|
|
182 DB 0
|
|
183 DB aa_font92_firstChar
|
|
184 DB aa_font92_chars
|
|
185 DB 0x2F-aa_font92_firstChar
|
|
186 DB aa_font92_height + 0x80 ; AA flag
|
|
187 ;
|
|
188 #include "../src/Fonts/aa_font92_idx.inc"
|
|
189 #include "../src/Fonts/aa_font92.inc"
|
|
190 aa_font92_end:
|
|
191 ; Make sure this is coherent...
|
|
192 if aa_font92_nbbits != 3
|
|
193 error SMALL font should be encoded with 3bits anti-aliasing...
|
|
194 endif
|
|
195
|
0
|
196 ;=============================================================================
|
604
|
197 END |