Changeset 417 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
- Timestamp:
- May 5, 2012, 4:01:03 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r414 r417 126 126 call HotkeyBar_GetPrimaryBootDriveNumberToDL 127 127 %else 128 call GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys128 xor dl, dl ; Try to boot from Floppy Drive A 129 129 %endif ; MODULE_HOTKEYS 130 130 … … 137 137 call HotkeyBar_GetSecondaryBootDriveNumberToDL 138 138 %else 139 call GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys 140 xor dl, 80h 139 mov dl, 80h ; Try to boot from Hard Drive C 141 140 %endif 142 141 call TryToBootFromPrimaryOrSecondaryBootDevice … … 213 212 jmp BootSector_TryToLoadFromDriveDL 214 213 %endif 215 216 217 ;--------------------------------------------------------------------218 ; GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys219 ; Parameters220 ; Nothing221 ; Returns:222 ; DL: Drive to boot from (00h or 80h)223 ; Corrupts registers:224 ; Nothing225 ;--------------------------------------------------------------------226 %ifndef MODULE_HOTKEYS227 GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys:228 mov dl, [cs:ROMVARS.bBootDrv]229 and dl, 80h ; Only 00h and 80h allowed when not using MODULE_HOTKEYS230 ret231 %endif
Note:
See TracChangeset
for help on using the changeset viewer.