Changeset 130 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm


Ignore:
Timestamp:
Mar 4, 2011, 5:54:41 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Boot menu finally works but timeout and drive numbers not yet implemented.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm

    r128 r130  
    8686    call    RamVars_GetSegmentToDS
    8787    call    DriveXlate_Reset
    88     call    BootMenu_ConvertMenuitemFromCXtoDriveInDX
     88    call    BootMenu_GetDriveToDXforMenuitemInCX
    8989    call    DriveXlate_SetDriveToSwap
    9090    pop     ax      ; Update previous item
     
    107107ALIGN JUMP_ALIGN
    108108.CheckDriveHotkeys:
    109     call    BootMenu_ConvertAsciiHotkeyFromALtoMenuitemInCX
    110     cmp     cx, [bp+MENUINIT.wItems]
     109    call    BootMenu_GetMenuitemToAXforAsciiHotkeyInAL
     110    cmp     ax, [bp+MENUINIT.wItems]
    111111    jae     SHORT .EventCompleted   ; Invalid key
    112     xchg    ax, cx
    113112    CALL_MENU_LIBRARY HighlightItemFromAX
    114113    ; Fall to .ItemSelectedFromCX
     
    150149;       CF:     set since event processed
    151150;--------------------------------------------------------------------
    152 ALIGN JUMP_ALIGN
    153151.RefreshItemOrInformationWithJumpTableInCSBX:
    154152    cmp     cl, NO_ITEM_HIGHLIGHTED
     
    156154
    157155    call    RamVars_GetSegmentToDS
    158     call    BootMenu_ConvertMenuitemFromCXtoDriveInDX
     156    call    BootMenu_GetDriveToDXforMenuitemInCX
    159157    test    dl, dl                  ; Floppy drive?
    160158    jns     SHORT .DrawFloppyDrive
Note: See TracChangeset for help on using the changeset viewer.