source: trunk/bootcode/text/charset.asm@ 245

Last change on this file since 245 was 234, checked in by Ben Rietbroek, 7 years ago

Updated the charset loading logic [v1.1.5-testing]

This can now inject custom glyphs at any code-point and optionally
remap the original character somewhere else.

For Spanish, two custom CP850 glyphs, 0xb5 and 0xe0, are used.
And the original glyph at code-point 0xb5, which is a box-character that
AiR-BOOT uses, is remapped to code-point 0xd9.

Translator-build 'AiR-BOOT-v1.1.5-ES-TESTBUILD-20180705' was created
from this commit.

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.4-manual.pdf

File size: 1.3 KB
Line 
1; AiR-BOOT (c) Copyright 1998-2008 M. Kiewitz
2;
3; This file is part of AiR-BOOT
4;
5; AiR-BOOT is free software: you can redistribute it and/or modify it under
6; the terms of the GNU General Public License as published by the Free
7; Software Foundation, either version 3 of the License, or (at your option)
8; any later version.
9;
10; AiR-BOOT is distributed in the hope that it will be useful, but WITHOUT ANY
11; WARRANTY: without even the implied warranty of MERCHANTABILITY or FITNESS
12; FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13; details.
14;
15; You should have received a copy of the GNU General Public License along with
16; AiR-BOOT. If not, see <http://www.gnu.org/licenses/>.
17;
18;---------------------------------------------------------------------------
19; AiR-BOOT / CYRILLIC CHARSET
20;---------------------------------------------------------------------------
21
22
23; Check if extended glyphs need to be loaded.
24; Both use a different algorithm because for ES only one char is needed while
25; for RU the cyrillic chars are loaded. Code is 'bootcode/special/charset.asm'.
26IFDEF TXT_LoadCharset
27
28; Spanish (cp850)
29IF BLD_LANG_TXT EQ 'es'
30 include charset-es.asm
31ENDIF
32
33; Russian (cp866)
34IF BLD_LANG_TXT EQ 'ru'
35 include charset-ru.asm
36ENDIF
37
38ENDIF
Note: See TracBrowser for help on using the repository browser.