Ignore:
Timestamp:
Oct 11, 2016, 10:42:09 PM (9 years ago)
Author:
Ben Rietbroek
Message:

Replaced some 'eCS' references with generic 'OS/2' [v1.1.1-testing]

With the upcoming ArcaOS, see: https://www.arcanoae.com, eComStation
ain't the only game in OS/2-town anymore. So, some references have been
changed to the more generic term 'OS/2' to prevent misinterpretation.

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/regular/partmain.asm

    r57 r67  
    787787PART_IsInstallVolume            Proc Near   Uses ax cx dx si di
    788788        cld                                    ; Advance upwards with lodsb
    789         mov   di, offset eCS_InstallVolume     ; Address of install-volume label (max. 11 chars)
     789        mov   di, offset OS2_InstallVolume     ; Address of install-volume label (max. 11 chars)
    790790
    791791        mov   cx, 11                           ; Maximum length of label
     
    967967;~ HELEMAAL NAKIJKEN !
    968968;~ DRIVELETTER ASIGNMENT CORRIGEREN
    969 ;~ WORDT TOCH BOOTDRIVE IN BPB GEZET ALS NON eCS SYSTEEM BOOT ?
     969;~ WORDT TOCH BOOTDRIVE IN BPB GEZET ALS NON-OS/2 SYSTEEM BOOT ?
    970970
    971971
     
    12101210
    12111211
    1212     ; --------------------------------------------------------- OS/2 / eCS I13X
     1212    ; --------------------------------------------------------------- OS/2 I13X
    12131213    ; Now check if the partition to get booted is above 8 GB.
    12141214    ;  If yes, set magic bytes 'I13X' at 3000:0 for boot-loader to recognize.
     
    17351735        ;
    17361736        ; FIXME: PBR Already loaded
    1737        
     1737
    17381738        ; When FAT12/FAT16/HPFS/JFS then boot-drive-letter can be tested
    17391739        ; or adjusted.
     
    18751875
    18761876        ; See if the BPB boot-drive-letter is valid
    1877         ; This one is supposed not to change since eCS cannot be booted
     1877        ; This one is supposed not to change since OS/2 cannot be booted
    18781878        ; from another drive then it was installed on.
    18791879        test    ah,ah
     
    18871887        add     al,3dh
    18881888        mov     bx,[PhysDiskBpbIndex]
    1889         ; Advance to field for drive-letter in BIOS notation (OS/2 - eCS)
     1889        ; Advance to field for drive-letter in BIOS notation (OS/2)
    18901890        inc     bx
    18911891        ; Fix the boot-drive-letter field in the BPB
     
    19011901        ; Also, this field is the culprit of AiR-BOOT v1.07 not handling it
    19021902        ; correctly when the system uses HPFS and this byte is zero.
    1903         ; This mostly involved booting older eCS versions on HPFS.
     1903        ; This mostly involved booting older OS/2 versions on HPFS.
    19041904        ; See issues #3067 and #3119 on http://bugs.ecomstation.nl
    19051905        ;
     
    19561956    no_valid_boot_drive_letter_found:
    19571957        ; HERE SHOULD COME AN ERROR POP-UP ABOUT NO BOOT-DRIVE OR NO LVM-INFO.
    1958         ; WE CONTINUE BOOTING BUT OS/2 - eCS WILL MOST PROBABLY FAIL TO BOOT.
     1958        ; WE CONTINUE BOOTING BUT OS/2 WILL MOST PROBABLY FAIL TO BOOT.
    19591959
    19601960        ; FIXME: Issue some kind of warning
    1961        
     1961
    19621962        ;mov     ah,07h
    19631963        ;mov     si,offset CheckID_MBR
     
    20372037        pop     si
    20382038
    2039        
     2039
    20402040        ; BOOKMARK: Update the CRC of the Partition Boot Record.
    20412041        mov     bx, offset [PBRSector]
     
    20432043        call    DriveIO_SaveConfiguration
    20442044
    2045        
     2045
    20462046        ; Setup the registers for the partition location.
    20472047        mov     ax, wptr [si+LocIPT_AbsoluteBegin+0]
     
    20512051        mov     dl, [si+LocIPT_Drive]
    20522052
    2053        
     2053
    20542054        ; BOOKMARK: Write the adjusted HPFS/JFS PBR to disk.
    20552055        mov     si, offset [PBRSector]
     
    20952095
    20962096
    2097    
     2097
    20982098
    20992099        ;
Note: See TracChangeset for help on using the changeset viewer.