Ignore:
Timestamp:
Apr 18, 2012, 6:04:48 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Hotkey Bar and drive translations are now in MODULE_HOTKEYS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectPrint.asm

    r392 r395  
    206206    mov     bp, sp
    207207
     208%ifdef MODULE_HOTKEYS
     209
    208210    call    DriveXlate_ToOrBack ; DL = Untranslated Drive number
    209211    mov     dh, dl
     
    217219    push    dx
    218220
    219     call    ConvertDriveLetterInDLtoDriveNumber ; Restore DL
     221    call    HotkeyBar_ConvertDriveLetterInDLtoDriveNumber   ; Restore DL
     222
     223%else
     224    ePUSH_T ax, ' '         ; No drive translation so print space
     225
     226    ; Get boot drive letters
     227    call    FloppyDrive_GetCountToAX
     228    mov     ah, 'A'         ; AH = First Floppy Drive letter (always 'A')
     229    add     al, ah
     230    MAX_U   al, 'C'         ; AL = First Hard Drive letter ('C', 'D', or 'E')
     231    test    dl, dl
     232    eCMOVNS al, ah
     233    push    ax
     234
     235%endif ; MODULE_HOTKEYS
    220236
    221237    mov     si, g_szTryToBoot
Note: See TracChangeset for help on using the changeset viewer.