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/airboot.asm

    r221 r234  
    188188TextChar_WinRep2            equ     0C5h
    189189TextChar_WinRep3            equ     0CFh
    190 TextChar_WinRep4            equ     0B5h
     190
     191; Remap the box-char for Spanish
     192IF  BLD_LANG_TXT EQ 'es'
     193TextChar_WinRep4            equ     0D9h    ; Remapped box-char for ES
     194ELSE
     195TextChar_WinRep4            equ     0B5h    ; Normal box-char
     196ENDIF
     197
    191198TextChar_WinRep5            equ     0C6h
    192199TextChar_WinRep6            equ     0D8h
     
    17901797
    17911798;
    1792 ; Cyrillic support.
    1793 ;
    1794 IFDEF   TXT_IncludeCyrillic
     1799; Extended Charset support.
     1800;
     1801IFDEF   TXT_LoadCharset
    17951802b_ccharset:
    1796    include special/charset.asm  ; Charset Support (e.g. Cyrillic)
     1803   include special/charset.asm  ; Charset Support (RU and ES)
    17971804size_ccharset = $-b_ccharset
    17981805ENDIF
Note: See TracChangeset for help on using the changeset viewer.