Changeset 417 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm


Ignore:
Timestamp:
May 5, 2012, 4:01:03 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • AT builds now relocate INT 13h stack to top of stolen conventional memory.
  • Some small fixes here and there.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm

    r414 r417  
    126126    call    HotkeyBar_GetPrimaryBootDriveNumberToDL
    127127%else
    128     call    GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys
     128    xor     dl, dl          ; Try to boot from Floppy Drive A
    129129%endif  ; MODULE_HOTKEYS
    130130
     
    137137    call    HotkeyBar_GetSecondaryBootDriveNumberToDL
    138138%else
    139     call    GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys
    140     xor     dl, 80h
     139    mov     dl, 80h         ; Try to boot from Hard Drive C
    141140%endif
    142141    call    TryToBootFromPrimaryOrSecondaryBootDevice
     
    213212    jmp     BootSector_TryToLoadFromDriveDL
    214213%endif
    215 
    216 
    217 ;--------------------------------------------------------------------
    218 ; GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys
    219 ;   Parameters
    220 ;       Nothing
    221 ;   Returns:
    222 ;       DL:     Drive to boot from (00h or 80h)
    223 ;   Corrupts registers:
    224 ;       Nothing
    225 ;--------------------------------------------------------------------
    226 %ifndef MODULE_HOTKEYS
    227 GetPrimaryBootDriveToDLwhenNotUsingModuleHotkeys:
    228     mov     dl, [cs:ROMVARS.bBootDrv]
    229     and     dl, 80h     ; Only 00h and 80h allowed when not using MODULE_HOTKEYS
    230     ret
    231 %endif
Note: See TracChangeset for help on using the changeset viewer.