Changeset 128 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootSector.asm
- Timestamp:
- Mar 4, 2011, 1:47:17 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootSector.asm
r96 r128 23 23 jc SHORT .FailedToLoadFirstSector 24 24 25 test dl, 80h26 j zSHORT .AlwaysBootFromFloppyDriveForBooterGames25 test dl, dl 26 jns SHORT .AlwaysBootFromFloppyDriveForBooterGames 27 27 cmp WORD [es:bx+510], 0AA55h ; Valid boot sector? 28 28 jne SHORT .FirstHardDiskSectorNotBootable … … 84 84 .ResetBootDriveFromDL: 85 85 xor ax, ax ; AH=0h, Disk Controller Reset 86 test dl, 80h ; Floppy drive? 87 eCMOVNZ ah, 0Dh ; AH=Dh, Reset Hard Disk (Alternate reset) 86 test dl, dl ; Floppy drive? 87 jns SHORT .SkipAltReset 88 mov ah, 0Dh ; AH=Dh, Reset Hard Disk (Alternate reset) 89 .SkipAltReset: 88 90 int INTV_DISK_FUNC 89 91 ret
Note:
See TracChangeset
for help on using the changeset viewer.