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


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/Boot
Files:
2 edited

Legend:

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

    r130 r143  
    3737
    3838;--------------------------------------------------------------------
    39 ; BootPrint_BootSectorResultStringFromAX
    40 ;   Parameters:
    41 ;       CS:AX:  Ptr to "found" or "not found"
    42 ;   Returns:
    43 ;       Nothing
    44 ;   Corrupts registers:
    45 ;       AX, CX, SI, DI
    46 ;--------------------------------------------------------------------
    47 ALIGN JUMP_ALIGN
    48 BootPrint_BootSectorResultStringFromAX:
    49     push    bp
    50     mov     bp, sp
    51     ePUSH_T cx, g_szBootSector
    52     push    ax          ; "found" or "not found"
    53     mov     si, g_szSectRead
    54     jmp     BootMenuPrint_FormatCSSIfromParamsInSSBP
    55 
    56 
    57 ;--------------------------------------------------------------------
    5839; BootPrint_FailedToLoadFirstSector
    5940;   Parameters:
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootSector.asm

    r130 r143  
    1515;               Cleared if failed to load boot sector
    1616;   Corrupts registers:
    17 ;       AX, CX, DH, DI, (DL if failed to read boot sector)
     17;       AX, CX, DH, SI, DI, (DL if failed to read boot sector)
    1818;--------------------------------------------------------------------
    1919ALIGN JUMP_ALIGN
     
    2828    jne     SHORT .FirstHardDiskSectorNotBootable
    2929.AlwaysBootFromFloppyDriveForBooterGames:
    30     mov     ax, g_szFound
    31     call    BootPrint_BootSectorResultStringFromAX
    3230    stc
    3331    ret
     
    3735    ret
    3836.FirstHardDiskSectorNotBootable:
    39     mov     ax, g_szNotFound
    40     call    BootPrint_BootSectorResultStringFromAX
     37    mov     si, g_szBootSectorNotFound
     38    call    BootMenuPrint_NullTerminatedStringFromCSSIandSetCF
    4139    clc
    4240    ret
Note: See TracChangeset for help on using the changeset viewer.