Ignore:
Timestamp:
Jul 7, 2018, 9:09:53 AM (7 years ago)
Author:
Ben Rietbroek
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/regular/other.asm

    r223 r234  
    207207        call    PART_CalculateStraightPartPointers
    208208
    209         ; Setup Cyrillic Charset, if needed
    210     IFDEF TXT_IncludeCyrillic
     209        ; Load charset or glyphs if needed
     210IFDEF TXT_LoadCharset
     211IF  BLD_LANG_TXT EQ 'es'
     212        call    CHARSET_IncludeSpanish
     213ENDIF
     214IF  BLD_LANG_TXT EQ 'ru'
    211215        call    CHARSET_IncludeCyrillic
    212     ENDIF
     216ENDIF
     217ENDIF
    213218
    214219
Note: See TracChangeset for help on using the changeset viewer.