Changeset 248 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot


Ignore:
Timestamp:
Feb 13, 2012, 1:22:18 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Booting with hotkey now properly maintains FD and HD drive swappings (it is now again possible to boot with both translated FD and HD drives).
  • Had to change file orders so compressed strings could be included after recent changes to Assembly Library size.
Location:
trunk/XTIDE_Universal_BIOS/Src/Boot
Files:
2 edited

Legend:

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

    r243 r248  
    2727
    2828;--------------------------------------------------------------------
     29; BootMenu_GetDriveToDXforMenuitemInCX_And_RamVars_GetSegmentToDS
    2930; BootMenu_GetDriveToDXforMenuitemInCX
    3031;   Parameters:
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm

    r241 r248  
    134134    cmp     ax, [bp+MENUINIT.wItems]
    135135    jae     SHORT BootMenuEvent_EventCompleted  ; Invalid key
     136
     137    ; Highlighting new item resets drive translation and we do not want that.
     138    ; We must be able to translate both floppy drive and hard drive when using hotkey.
     139    call    RamVars_GetSegmentToDS 
     140    mov     dx, [RAMVARS.xlateVars+XLATEVARS.wFDandHDswap]
    136141    CALL_MENU_LIBRARY HighlightItemFromAX
     142    or      [RAMVARS.xlateVars+XLATEVARS.wFDandHDswap], dx
    137143    ; Fall to .ItemSelectedFromCX
    138144
     
    143149.ItemSelectedFromCX:
    144150    CALL_MENU_LIBRARY Close
    145        
     151
    146152BootMenuEvent_EventCompleted:
    147153    stc
Note: See TracChangeset for help on using the changeset viewer.