Changeset 67 for trunk/bootcode/regular/partmain.asm
- Timestamp:
- Oct 11, 2016, 10:42:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/partmain.asm
r57 r67 787 787 PART_IsInstallVolume Proc Near Uses ax cx dx si di 788 788 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) 790 790 791 791 mov cx, 11 ; Maximum length of label … … 967 967 ;~ HELEMAAL NAKIJKEN ! 968 968 ;~ DRIVELETTER ASIGNMENT CORRIGEREN 969 ;~ WORDT TOCH BOOTDRIVE IN BPB GEZET ALS NON eCSSYSTEEM BOOT ?969 ;~ WORDT TOCH BOOTDRIVE IN BPB GEZET ALS NON-OS/2 SYSTEEM BOOT ? 970 970 971 971 … … 1210 1210 1211 1211 1212 ; --------------------------------------------------------- OS/2 / eCSI13X1212 ; --------------------------------------------------------------- OS/2 I13X 1213 1213 ; Now check if the partition to get booted is above 8 GB. 1214 1214 ; If yes, set magic bytes 'I13X' at 3000:0 for boot-loader to recognize. … … 1735 1735 ; 1736 1736 ; FIXME: PBR Already loaded 1737 1737 1738 1738 ; When FAT12/FAT16/HPFS/JFS then boot-drive-letter can be tested 1739 1739 ; or adjusted. … … 1875 1875 1876 1876 ; See if the BPB boot-drive-letter is valid 1877 ; This one is supposed not to change since eCScannot be booted1877 ; This one is supposed not to change since OS/2 cannot be booted 1878 1878 ; from another drive then it was installed on. 1879 1879 test ah,ah … … 1887 1887 add al,3dh 1888 1888 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) 1890 1890 inc bx 1891 1891 ; Fix the boot-drive-letter field in the BPB … … 1901 1901 ; Also, this field is the culprit of AiR-BOOT v1.07 not handling it 1902 1902 ; correctly when the system uses HPFS and this byte is zero. 1903 ; This mostly involved booting older eCSversions on HPFS.1903 ; This mostly involved booting older OS/2 versions on HPFS. 1904 1904 ; See issues #3067 and #3119 on http://bugs.ecomstation.nl 1905 1905 ; … … 1956 1956 no_valid_boot_drive_letter_found: 1957 1957 ; HERE SHOULD COME AN ERROR POP-UP ABOUT NO BOOT-DRIVE OR NO LVM-INFO. 1958 ; WE CONTINUE BOOTING BUT OS/2 - eCSWILL MOST PROBABLY FAIL TO BOOT.1958 ; WE CONTINUE BOOTING BUT OS/2 WILL MOST PROBABLY FAIL TO BOOT. 1959 1959 1960 1960 ; FIXME: Issue some kind of warning 1961 1961 1962 1962 ;mov ah,07h 1963 1963 ;mov si,offset CheckID_MBR … … 2037 2037 pop si 2038 2038 2039 2039 2040 2040 ; BOOKMARK: Update the CRC of the Partition Boot Record. 2041 2041 mov bx, offset [PBRSector] … … 2043 2043 call DriveIO_SaveConfiguration 2044 2044 2045 2045 2046 2046 ; Setup the registers for the partition location. 2047 2047 mov ax, wptr [si+LocIPT_AbsoluteBegin+0] … … 2051 2051 mov dl, [si+LocIPT_Drive] 2052 2052 2053 2053 2054 2054 ; BOOKMARK: Write the adjusted HPFS/JFS PBR to disk. 2055 2055 mov si, offset [PBRSector] … … 2095 2095 2096 2096 2097 2097 2098 2098 2099 2099 ;
Note:
See TracChangeset
for help on using the changeset viewer.