Changeset 143 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


Ignore:
Timestamp:
Mar 14, 2011, 5:24:48 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Removed "Boot sector found!" string.
  • Added option to specify display mode for boot menu.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHDh_HReset.asm

    r116 r143  
    9090    call    HDrvSel_OutputDeviceControlByte
    9191    mov     ax, 5                       ; Delay at least 5us
    92     call    Delay_MicrosecondsFromAX
     92    call    HTimer_MicrosecondsFromAX
    9393
    9494    ; HSR1: Clear_wait
     
    9696    out     dx, al                      ; End Reset
    9797    mov     ax, 2000                    ; Delay at least 2ms
    98     call    Delay_MicrosecondsFromAX
     98    call    HTimer_MicrosecondsFromAX
    9999
    100100    ; HSR2: Check_status
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Common/HTimer.asm

    r140 r143  
    4545; RTC resolution is 977 microsecs.
    4646;
    47 ; Delay_MicrosecondsFromAX
     47; HTimer_MicrosecondsFromAX
    4848;   Parameters:
    4949;       AX:     Number of microsecs to wait
     
    5353;       AX
    5454;--------------------------------------------------------------------
    55 Delay_MicrosecondsFromAX:
     55HTimer_MicrosecondsFromAX:
    5656%ifndef USE_AT
    5757    mov     ax, 1
     
    7070    pop     dx
    7171    mov     ax, 1                           ; Prepare to wait 1 timer tick
    72     jc      SHORT Delay_TimerTicksFromAX    ; Event Wait was unsupported or busy
     72    jc      SHORT HTimer_TimerTicksFromAX   ; Event Wait was unsupported or busy
    7373    ret
    7474%endif
     
    7979; will occur at 54.9 ms intervals.
    8080;
    81 ; Delay_TimerTicksFromAX
     81; HTimer_TimerTicksFromAX
    8282;   Parameters:
    8383;       AX:     Number of timer ticks to wait
     
    8787;       AX
    8888;--------------------------------------------------------------------
    89 Delay_TimerTicksFromAX:
     89HTimer_TimerTicksFromAX:
    9090    sti                             ; Make sure that interrupts are enabled
    9191    call    ReadTimeFromBdaToCX
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19hMenu.asm

    r130 r143  
    2020    STORE_POST_STACK_POINTER
    2121    SWITCH_TO_BOOT_MENU_STACK
     22    call    RamVars_GetSegmentToDS
     23    ; Fall to .InitializeDisplayForBootMenu
     24
     25;--------------------------------------------------------------------
     26; .InitializeDisplayForBootMenu
     27;   Parameters:
     28;       Nothing
     29;   Returns:
     30;       Nothing
     31;   Corrupts registers:
     32;       AX, DI
     33;--------------------------------------------------------------------
     34.InitializeDisplayForBootMenu:
     35    ; Change display mode if necessary
     36    mov     ax, [cs:ROMVARS.wDisplayMode]   ; AH 00h = Set Video Mode
     37    cmp     al, DEFAULT_TEXT_MODE
     38    je      SHORT .InitializeDisplayLibrary
     39    int     BIOS_VIDEO_INTERRUPT_10h
     40.InitializeDisplayLibrary: 
    2241    call    BootMenuPrint_InitializeDisplayContext
    23     call    RamVars_GetSegmentToDS
    2442    ; Fall to .ProcessMenuSelectionsUntilBootable
    2543
Note: See TracChangeset for help on using the changeset viewer.