Changeset 597 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Jul 11, 2018, 9:44:43 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm
r596 r597 118 118 jnz SHORT .ClearBdaDriveCount ; Unsupported BIOS, use plan B 119 119 120 ; Now we can alter CMOS location 12h 120 ; Now we can alter CMOS location 12h. Important! We set type for drive 1 121 ; (primary slave) and not for drive 0! Award BIOS locks if we set drive 0 type to Fh. 122 ; We cannot set it to less either since that will fully set predefined hard drive type to the BIOS. 123 ; Windows 95 only cares that the CMOS location 12h is non-zero. 121 124 mov dl, HARD_DISK_TYPES 122 mov al, 0F 0h ; Drive 0 type 16...47 but Windows doesn't care as long as this is not zero125 mov al, 0Fh ; Drive 1 type 16...47 (defined elsewhere in the CMOS) 123 126 call CMOS_WriteALtoIndexInDL 124 127 call CMOS_StoreNewChecksumFor10hto2Dh
Note:
See TracChangeset
for help on using the changeset viewer.