comparison code_part1/OSTC_code_asm_part1/aa_fonts.asm @ 424:8147c35da3ca

added russian text version
author heinrichsweikamp
date Tue, 02 Aug 2011 20:39:06 +0200
parents f720ce017244
children 6e57b5bb98ce
comparison
equal deleted inserted replaced
423:13ecc8a17e67 424:8147c35da3ca
27 ; Original fonts where byte swapped in PROM memory, but the repacked don't... 27 ; Original fonts where byte swapped in PROM memory, but the repacked don't...
28 ; AA_BYTE_SWAP EQU 1 28 ; AA_BYTE_SWAP EQU 1
29 29
30 ;---- SMALL font description and data ---------------------------------------- 30 ;---- SMALL font description and data ----------------------------------------
31 aa_fonts code_pack 31 aa_fonts code_pack
32 #ifndef RUSSIAN
32 aa_font28_block: 33 aa_font28_block:
33 DB '°', 0x7F ; Remap a few ASCII chars, to avoid 34 DB '°', 0x7F ; Remap a few ASCII chars, to avoid
34 DB 'ö', 0x80 ; holes in the character table... 35 DB 'ö', 0x80 ; holes in the character table...
35 DB 'ä', 0x81 36 DB 'ä', 0x81
36 DB 'ü', 0x82 37 DB 'ü', 0x82
57 DB aa_font28_height + 0x80 58 DB aa_font28_height + 0x80
58 ; 59 ;
59 #include "aa_font28_idx.inc" ; SHOULD FOLLOW ! 60 #include "aa_font28_idx.inc" ; SHOULD FOLLOW !
60 #include "aa_font28.inc" 61 #include "aa_font28.inc"
61 aa_font28_end: 62 aa_font28_end:
63 #else
64 aa_font28_block:
65 DB 0xC0, 0x41
66 DB 0xC2, 0x42
67 DB 0xD1, 0x43
68 DB 0xC5, 0x45
69 DB 0xCD, 0x48
70 DB 0xCA, 0x4B
71 DB 0xCC, 0x4D
72 DB 0xCE, 0x4F
73 DB 0xD0, 0x50
74 DB 0xD2, 0x54
75 DB 0xD5, 0x58
76 DB 0xE0, 0x61
77 DB 0xF1, 0x63
78 DB 0xE5, 0x65
79 DB 0xEE, 0x6F
80 DB 0xF0, 0x70
81 DB 0xF5, 0x78
82 DB 0xF3, 0x79
83 DB 0xB7, 0x92
84 DB 0xB8, 0x93
85 DB 0xBA, 0x7F
86 DB 0xC1, 0x80
87 DB 0xC3, 0x81
88 DB 0xC4, 0x82
89 DB 0xC6, 0x83
90 DB 0xC7, 0x84
91 DB 0xC8, 0x85
92 DB 0xC9, 0x86
93 DB 0xCB, 0x87
94 DB 0xCF, 0x88
95 DB 0xD3, 0x89
96 DB 0xD4, 0x8A
97 DB 0xD6, 0x8B
98 DB 0xD7, 0x8C
99 DB 0xD8, 0x8D
100 DB 0xD9, 0x8E
101 DB 0xDA, 0x8F
102 DB 0xDB, 0x94
103 DB 0xDC, 0x95
104 DB 0xDD, 0x96
105 DB 0xDE, 0x97
106 DB 0xDF, 0x98
107 DB 0xE1, 0x99
108 DB 0xE2, 0x9A
109 DB 0xE3, 0x9B
110 DB 0xE4, 0x9C
111 DB 0xE6, 0x9D
112 DB 0xE7, 0x9E
113 DB 0xE8, 0x9F
114 DB 0xE9, 0xA0
115 DB 0xEA, 0xA1
116 DB 0xEB, 0xA2
117 DB 0xEC, 0xA3
118 DB 0xED, 0xA5
119 DB 0xEF, 0xA6
120 DB 0xF2, 0xA7
121 DB 0xF4, 0xA8
122 DB 0xF6, 0xA9
123 DB 0xF7, 0xAA
124 DB 0xF8, 0xAB
125 DB 0xF9, 0xAC
126 DB 0xFA, 0xAD
127 DB 0xFB, 0xAF
128 DB 0xFC, 0xB1
129 DB 0xFD, 0xB2
130 DB 0xFE, 0xB3
131 DB 0xFF, 0xB4
132 DB 0 ; End of translation table
133 DB aa_font28_firstChar ; To be substracted
134 DB aa_font28_chars ; Max value
135 DB 0xA4-aa_font28_firstChar ; replace by ä when unknown.
136 DB aa_font28_height + 0x80
137 ;
138 #include "aa_font28_idx_rus.inc" ; SHOULD FOLLOW !
139 #include "aa_font28_rus.inc"
140 aa_font28_end:
141 #endif
62 ; Make sure this is coherent... 142 ; Make sure this is coherent...
63 if aa_font28_nbbits != 3 143 if aa_font28_nbbits != 3
64 error SMALL fount should be encoded with anti-aliasing... 144 error SMALL fount should be encoded with anti-aliasing...
65 endif 145 endif
66 146