Changeset 130 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootPrint.asm


Ignore:
Timestamp:
Mar 4, 2011, 5:54:41 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Boot menu finally works but timeout and drive numbers not yet implemented.
File:
1 edited

Legend:

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

    r128 r130  
    3737
    3838;--------------------------------------------------------------------
    39 ; BootPrint_BootSectorResultStringFromBX
     39; BootPrint_BootSectorResultStringFromAX
    4040;   Parameters:
    41 ;       CS:BX:  Ptr to "found" or "not found"
     41;       CS:AX:  Ptr to "found" or "not found"
    4242;   Returns:
    4343;       Nothing
    4444;   Corrupts registers:
    45 ;       AX, SI, DI
     45;       AX, CX, SI, DI
    4646;--------------------------------------------------------------------
    4747ALIGN JUMP_ALIGN
    48 BootPrint_BootSectorResultStringFromBX:
     48BootPrint_BootSectorResultStringFromAX:
    4949    push    bp
    5050    mov     bp, sp
    51     ePUSH_T ax, g_szBootSector
    52     push    bx          ; "found" or "not found"
     51    ePUSH_T cx, g_szBootSector
     52    push    ax          ; "found" or "not found"
    5353    mov     si, g_szSectRead
    5454    jmp     BootMenuPrint_FormatCSSIfromParamsInSSBP
     
    6262;       Nothing
    6363;   Corrupts registers:
    64 ;       AX, BX, SI, DI
     64;       AX, CX, SI, DI
    6565;--------------------------------------------------------------------
    6666ALIGN JUMP_ALIGN
     
    6868    push    bp
    6969    mov     bp, sp
    70     eMOVZX  bx, ah
    71     push    bx                  ; Push INT 13h error code
     70    eMOVZX  cx, ah
     71    push    cx                  ; Push INT 13h error code
    7272    mov     si, g_szReadError
    7373    jmp     BootMenuPrint_FormatCSSIfromParamsInSSBP
Note: See TracChangeset for help on using the changeset viewer.