cari
Burger Head
Posts: 12
|
Post by cari on May 29, 2007 3:22:01 GMT -5
How to make in BasiEgaXorz Russian letters in a place English.
|
|
|
Post by Tom Maneiro on May 30, 2007 7:38:17 GMT -5
Sorry, but BasiEgaXorz only has the Latin alphabet, this means: support only for english, a bit of spanish, italian... but not Russian, and unfortunately, there is also no Unicode/custom codepages support...
Your options? - Load an alternative font, convert your russian letters to english equivalents, and map each letter to one tile of your alternative font. - Create your own custom textwriting routines... Remember, there is no Unicode and no Russian support! You're alone in this quest...
|
|
|
Post by uchuusen on May 31, 2007 1:04:41 GMT -5
If Russian has an 8-bit character set (koi8?), then it should be enough to create a custom 8x8 font, and upload it to the appropriate place in video ram. In BEX, the font is at the VRAM addresses 1-255, I think. After doing that, just use the Russian text with the PRINT statement, just like with English text.
|
|
cari
Burger Head
Posts: 12
|
Post by cari on May 31, 2007 2:36:01 GMT -5
I can not deduce(remove) a command print "ï" After I have created sprites: datalong 11111111 $ ' 256: Ï datalong 10000001 $ datalong 10000001 $ datalong 10000001 $ datalong 10000001 $ datalong 10000001 $ datalong 10000001 $ datalong 10000001 $
How it to display?
|
|
|
Post by Shiru on May 31, 2007 3:07:31 GMT -5
Just for information. Russian has only 33 symbols, and (in case of capital letters) 12 of them looks same like english ones (ABEKMHOPCTX). Two of 33 symbols is not very necessary, and can be replaced by other two. In early russian home computers was used mixed ASCII-based charset (96 symbols), where was only capital letters, both english and russian (instead of lower-case english). All russian and english letters (both capital and lower-case) easily fits in full charset (256 symbols), also with many additional symbols. Most popular codepages for russian charset is CP866 (MS-DOS), ANSI1251 (Windows) and KOI-8R. Some another codepages also exists, but they not so popular.
|
|
|
Post by Tom Maneiro on May 31, 2007 17:59:40 GMT -5
That's good: since ASCII uses 256 characters, you can overwrite the default BEX font with a Russian one, and use a sort of "converter" for convert from Russian to some odd "mapping"... You can write such "converter" in VB or C, put your text, convert, paste and compile.
Sounds pretty complex, eh? It's not too hard, but requires some work.
|
|
|
Post by evgeny on Jul 17, 2007 9:36:25 GMT -5
Cari, íó î÷åíü ïðîøó, íå ïîçîðüñÿ. Ïðîñòî ñòûäíî çà òåáÿ.
|
|