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


Ignore:
Timestamp:
Mar 14, 2011, 11:38:26 AM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • INT 13h functions should no longer use Assembly Library.
  • Boot menu now properly displays swapped drive numbers.
File:
1 edited

Legend:

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

    r137 r140  
    8585.ItemHighlightedFromCX:
    8686    push    cx
    87     push    dx
    8887    call    RamVars_GetSegmentToDS
    8988    call    DriveXlate_Reset
    9089    call    BootMenu_GetDriveToDXforMenuitemInCX
    9190    call    DriveXlate_SetDriveToSwap
    92     pop     ax      ; Update previous item
     91
     92    xor     ax, ax  ; Update first floppy drive (for translated drive number)
    9393    CALL_MENU_LIBRARY RefreshItemFromAX
    94     pop     ax      ; Update new item
     94    mov     dl, 80h
     95    call    BootMenu_GetMenuitemToDXforDriveInDL
     96    xchg    ax, dx  ; Update first hard disk (for translated drive number)
     97    CALL_MENU_LIBRARY RefreshItemFromAX
     98    pop     ax      ; Update new item (for translated drive number)
    9599    CALL_MENU_LIBRARY RefreshItemFromAX
    96100    CALL_MENU_LIBRARY RefreshInformation
Note: See TracChangeset for help on using the changeset viewer.