diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/aa_fonts.asm	Tue Aug 02 12:25:13 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/aa_fonts.asm	Tue Aug 02 20:39:06 2011 +0200
@@ -29,6 +29,7 @@
 
 ;---- SMALL font description and data ----------------------------------------
 aa_fonts	code_pack
+#ifndef RUSSIAN
 aa_font28_block:
 			DB	'°', 0x7F               ; Remap a few ASCII chars, to avoid
 			DB	'ö', 0x80               ; holes in the character table...
@@ -59,6 +60,85 @@
 #include	"aa_font28_idx.inc"				; SHOULD FOLLOW !
 #include	"aa_font28.inc"
 aa_font28_end:
+#else
+aa_font28_block:
+			DB	0xC0, 0x41
+			DB	0xC2, 0x42
+			DB	0xD1, 0x43
+			DB	0xC5, 0x45
+			DB	0xCD, 0x48
+			DB	0xCA, 0x4B
+			DB	0xCC, 0x4D
+			DB	0xCE, 0x4F
+			DB	0xD0, 0x50
+			DB	0xD2, 0x54
+			DB	0xD5, 0x58
+			DB	0xE0, 0x61
+			DB	0xF1, 0x63
+			DB	0xE5, 0x65
+			DB	0xEE, 0x6F
+			DB	0xF0, 0x70
+			DB	0xF5, 0x78
+			DB	0xF3, 0x79
+			DB	0xB7, 0x92
+			DB	0xB8, 0x93
+			DB	0xBA, 0x7F
+			DB	0xC1, 0x80
+			DB	0xC3, 0x81
+			DB	0xC4, 0x82
+			DB	0xC6, 0x83
+			DB	0xC7, 0x84
+			DB	0xC8, 0x85
+			DB	0xC9, 0x86
+			DB	0xCB, 0x87
+			DB	0xCF, 0x88
+			DB	0xD3, 0x89
+			DB	0xD4, 0x8A
+			DB	0xD6, 0x8B
+			DB	0xD7, 0x8C
+			DB	0xD8, 0x8D
+			DB	0xD9, 0x8E
+			DB	0xDA, 0x8F
+			DB	0xDB, 0x94
+			DB	0xDC, 0x95
+			DB	0xDD, 0x96
+			DB	0xDE, 0x97
+			DB	0xDF, 0x98
+			DB	0xE1, 0x99
+			DB	0xE2, 0x9A
+			DB	0xE3, 0x9B
+			DB	0xE4, 0x9C
+			DB	0xE6, 0x9D
+			DB	0xE7, 0x9E
+			DB	0xE8, 0x9F
+			DB	0xE9, 0xA0
+			DB	0xEA, 0xA1
+			DB	0xEB, 0xA2
+			DB	0xEC, 0xA3
+			DB	0xED, 0xA5
+			DB	0xEF, 0xA6
+			DB	0xF2, 0xA7
+			DB	0xF4, 0xA8
+			DB	0xF6, 0xA9
+			DB	0xF7, 0xAA
+			DB	0xF8, 0xAB
+			DB	0xF9, 0xAC
+			DB	0xFA, 0xAD
+			DB	0xFB, 0xAF
+			DB	0xFC, 0xB1
+			DB	0xFD, 0xB2
+			DB	0xFE, 0xB3
+			DB	0xFF, 0xB4
+			DB	0				; End of translation table
+			DB	aa_font28_firstChar			; To be substracted
+			DB	aa_font28_chars				; Max value
+			DB	0xA4-aa_font28_firstChar	; replace by ä when unknown.
+			DB	aa_font28_height + 0x80
+;
+#include	"aa_font28_idx_rus.inc"				; SHOULD FOLLOW !
+#include	"aa_font28_rus.inc"
+aa_font28_end:
+#endif
 ; Make sure this is coherent...
 	if aa_font28_nbbits != 3
 		error SMALL fount should be encoded with anti-aliasing...