Changeset 562 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src


Ignore:
Timestamp:
Jul 15, 2013, 7:05:40 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Default drive is now properly selected when displaying boot menu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuEvent.asm

    r528 r562  
    119119FirstEvent:
    120120EventInitializeMenuinitFromSSBP:
    121     ; Store default Menuitem (=default drive to boot from)
    122     xor     dx, dx
    123     mov     [bp+MENUINIT.wHighlightedItem], dx
    124 
    125121    ; Store number of Menuitems
    126122    call    RamVars_GetHardDiskCountFromBDAtoAX
     
    143139    mov     ax, [cs:ROMVARS.wBootTimeout]
    144140    CALL_MENU_LIBRARY StartSelectionTimeoutWithTicksInAX
     141
     142    ; Store default Menuitem (=default drive to boot from)
     143    eMOVZX  dx, BYTE [cs:ROMVARS.bBootDrv]
     144    call    GetMenuitemToDXforDriveInDL
     145    mov     [bp+MENUINIT.wHighlightedItem], dx
     146
    145147    stc
    146148    ret
Note: See TracChangeset for help on using the changeset viewer.