Changeset 489 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu


Ignore:
Timestamp:
Dec 13, 2012, 7:32:09 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Added version string to initial title banner, for cases where there is not a boot menu (just hotkeys, or no hotkeys). Also ifdef'd out some unused code.

Location:
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuEvent.asm

    r395 r489  
    3737    eCMOVZ  dl, dh
    3838    call    IsDriveDLinSystem
    39     jnc     SHORT DoNotSetDefaultMenuitem
     39    jnc     SHORT BootMenuEvent_Handler.DoNotSetDefaultMenuitem
    4040    call    DriveXlate_SetDriveToSwap
    4141    ; Fall to GetMenuitemToDXforDriveInDL
     
    106106    jmp     bx
    107107
    108 EventNotHandled:
    109 DoNotSetDefaultMenuitem:
     108.EventNotHandled:
     109.DoNotSetDefaultMenuitem:
    110110    xor     dx, dx      ; Clear CF (and menuitem index for DoNotSetDefaultMenuitem)
    111111    ret
     
    127127
    128128    cmp     bx, BYTE MENUEVENT.RefreshItemFromCX    ; Above last supported item?
    129     ja      SHORT EventNotHandled
     129    ja      SHORT .EventNotHandled
    130130    jmp     [cs:bx+rgfnEventSpecificHandlers]
    131131
    132 EventNotHandled:
    133 DoNotSetDefaultMenuitem:
     132.EventNotHandled:
     133.DoNotSetDefaultMenuitem:
    134134    xor     dx, dx      ; Clear CF (and menuitem index for DoNotSetDefaultMenuitem)
    135135    ret
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm

    r421 r489  
    7676;--------------------------------------------------------------------
    7777BootMenuPrint_TitleStrings:
    78     mov     si, ROMVARS.szTitle
    79     call    DetectPrint_NullTerminatedStringFromCSSIandSetCF
    80     CALL_DISPLAY_LIBRARY PrintNewlineCharacters
    81     mov     si, ROMVARS.szVersion
    82     jmp     DetectPrint_NullTerminatedStringFromCSSIandSetCF
    83 
    84 
     78    xor     di,di                       ; Null character will be eaten
     79    mov     si, g_szBootMenuTitle
     80    jmp     DetectPrint_RomFoundAtSegment.BootMenuEntry
     81
     82       
    8583;--------------------------------------------------------------------
    8684; BootMenuPrint_RefreshInformation
Note: See TracChangeset for help on using the changeset viewer.