Changeset 69


Ignore:
Timestamp:
Apr 8, 2017, 12:25:54 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Get rid of the non-ASCII characters [v1.1.1-testing]

These characters use CP437 encoding, which causes problems when the
source is loaded into editors not supporting this encoding. This goes
especially for the '0adh' character which is part of the AiR-BOOT
configuration signature.

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.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/airboot.asm

    r67 r69  
    164164
    165165; Special line-drawing characters
    166 TextChar_WinLineRight       equ     0C4h ; 'Ä'
    167 TextChar_WinLineDown        equ     0B3h ; '³'
    168 TextChar_WinRep1            equ     0D1h ; 'Ñ'
    169 TextChar_WinRep2            equ     0C5h ; 'Å'
    170 TextChar_WinRep3            equ     0CFh ; 'Ï'
    171 TextChar_WinRep4            equ     0B5h ; 'µ'
    172 TextChar_WinRep5            equ     0C6h ; 'Æ'
    173 TextChar_WinRep6            equ     0D8h ; 'Ø'
     166TextChar_WinLineRight       equ     0C4h
     167TextChar_WinLineDown        equ     0B3h
     168TextChar_WinRep1            equ     0D1h
     169TextChar_WinRep2            equ     0C5h
     170TextChar_WinRep3            equ     0CFh
     171TextChar_WinRep4            equ     0B5h
     172TextChar_WinRep5            equ     0C6h
     173TextChar_WinRep6            equ     0D8h
    174174
    175175
     
    17831783
    17841784Configuration:
    1785                 ; THERE IS A NON-ASCII CHAR HERE !!
    1786                 ; Your editor may not display this non-ASCII
    1787                 ; character at the end if the 'AiRCFG-TABLE'
    1788                 ; string. When this character get's deleted,
    1789                 ; AiR-BOOT will not function because it cannot
    1790                 ; find the config-signature which includes this
    1791                 ; invisible character. The code of the char is: 0adh.
    1792                 db  'AiRCFG-TABLE­'
     1785                ; This is the signature for the AiR-BOOT Configuration.
     1786                ; Note that this configuration section, like the code section,
     1787                ; is CRC protected. This means that poking values in these
     1788                ; sections on the disk will invalidate AiR-BOOT and cause it
     1789                ; to halt. This is a protection method against other software
     1790                ; modifying stuff in track 0.
     1791                db  'AiRCFG-TABLE',0adh
    17931792                db  01h, 10h, 'U' ; "Compressed" ID String
    17941793                ; Version 1.02 was for code 1.06, 1.03 was internal
Note: See TracChangeset for help on using the changeset viewer.