Ignore:
Timestamp:
Apr 17, 2012, 2:42:54 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Greatly improved Hotkey Bar is displayed during drive detection.
  • 8k builds no longer include boot menu.
  • Boot menu is displayed only if F2 is pressed during drive detection.
  • Some changes to directory structure.


File:
1 edited

Legend:

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

    r386 r392  
    2222
    2323;--------------------------------------------------------------------
    24 ; BootMenuPrint_InitializeDisplayContext
    25 ;   Parameters:
    26 ;       Nothing
    27 ;   Returns:
    28 ;       Nothing
    29 ;   Corrupts registers:
    30 ;       AX, DI
    31 ;--------------------------------------------------------------------
    32 BootMenuPrint_InitializeDisplayContext:
    33     CALL_DISPLAY_LIBRARY InitializeDisplayContext
     24; DetectPrint_InitializeDisplayContext
     25;   Parameters:
     26;       Nothing
     27;   Returns:
     28;       Nothing
     29;   Corrupts registers:
     30;       AX, DI
     31;--------------------------------------------------------------------
     32DetectPrint_InitializeDisplayContext:
     33    CALL_DISPLAY_LIBRARY    InitializeDisplayContext
     34    ret
     35
     36
     37;--------------------------------------------------------------------
     38; DetectPrint_GetSoftwareCoordinatesToAX
     39;   Parameters:
     40;       Nothing
     41;   Returns:
     42;       Nothing
     43;   Corrupts registers:
     44;       AX, DI
     45;--------------------------------------------------------------------
     46DetectPrint_GetSoftwareCoordinatesToAX:
     47    CALL_DISPLAY_LIBRARY    GetSoftwareCoordinatesToAX
    3448    ret
    3549
     
    186200;       Nothing
    187201;   Corrupts registers:
    188 ;       AX, SI, DI
     202;       AX, DH, SI, DI
    189203;--------------------------------------------------------------------
    190204DetectPrint_TryToBootFromDL:
     
    192206    mov     bp, sp
    193207
    194     mov     ax, g_szHDD
    195     test    dl, dl
    196     js      SHORT .NotFDD
    197     mov     ax, g_szFDD
    198 .NotFDD:
    199     push    ax
    200 
    201     call    DriveXlate_ToOrBack
    202     push    dx                  ; Push untranslated drive number
    203     call    DriveXlate_ToOrBack
    204     push    dx                  ; Push translated drive number
     208    call    DriveXlate_ToOrBack ; DL = Untranslated Drive number
     209    mov     dh, dl
     210    call    DriveXlate_ToOrBack ; DL = Translated Drive number
     211
     212    call    HotkeyBar_ConvertDriveNumberFromDLtoDriveLetter ; DL = Translated letter
     213    xchg    dl, dh
     214    call    HotkeyBar_ConvertDriveNumberFromDLtoDriveLetter ; DL = Untranslated letter
     215    push    dx
     216    xchg    dl, dh
     217    push    dx
     218
     219    call    ConvertDriveLetterInDLtoDriveNumber ; Restore DL
    205220
    206221    mov     si, g_szTryToBoot
     
    226241    push    bp
    227242    mov     bp,sp
    228     ; Fall to BootMenuPrint_FormatCSSIfromParamsInSSBP
     243    ; Fall to DetectPrint_FormatCSSIfromParamsInSSBP
    229244
    230245;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.