Changeset 596 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
- Timestamp:
- Jul 10, 2018, 1:20:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r594 r596 99 99 ; Primary reason is to support dynamic overlay feature in the future. Second reason 100 100 ; is a hack to get Windows 95 load proper IDE drivers. 101 ; 101 ; 102 102 ; The Windows hack has two parts. First part is to try to alter CMOS address 12h as that 103 103 ; is what Windows 95 driver reads to detect IDE drives. Altering is not possible on all 104 ; systems since CMOS has a checksum but it 's location is not standardized. We will first104 ; systems since CMOS has a checksum but its location is not standardized. We will first 105 105 ; try to detect valid checksum. If it succeeds, then it is safe to assume this system 106 106 ; has compatible CMOS and we can alter it. … … 117 117 call CMOS_Verify10hTo2Dh ; Can we modify CMOS? 118 118 jnz SHORT .ClearBdaDriveCount ; Unsupported BIOS, use plan B 119 119 120 120 ; Now we can alter CMOS location 12h 121 121 mov dl, HARD_DISK_TYPES
Note:
See TracChangeset
for help on using the changeset viewer.