Changeset 489 in xtideuniversalbios for trunk/Assembly_Library


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/Assembly_Library
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Emulate.inc

    r488 r489  
    469469
    470470%macro eSHL_IM 2
     471%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    471472%ifdef USE_386
    472473    %if %2 = 1
     
    478479    eSHIFT_IM   %1, %2, shl
    479480%endif
     481%endif
    480482%endmacro
    481483
  • trunk/Assembly_Library/Src/Display/CgaSnow.asm

    r376 r489  
    9494    ret
    9595
    96 
     96%ifdef INCLUDE_MENU_LIBRARY
    9797;--------------------------------------------------------------------
    9898; CgaSnow_RepMovsb
     
    122122    eSEG_STR rep, es, movsb
    123123    ret
    124 
     124%endif
    125125
    126126;--------------------------------------------------------------------
  • trunk/Assembly_Library/Src/Display/DisplayContext.asm

    r407 r489  
    102102
    103103
     104%ifdef INCLUDE_MENU_LIBRARY
     105
    104106;--------------------------------------------------------------------
    105107; DisplayContext_Push
     
    157159    mov     ds, di                  ; Restore DS
    158160    ret
    159 
     161%endif
    160162
    161163;--------------------------------------------------------------------
     
    187189    pop     ds
    188190    ret
    189 %endif
     191
     192%endif  ; INCLUDE_MENU_LIBRARY
    190193
    191194
     
    228231%endif
    229232
     233%ifdef INCLUDE_MENU_LIBRARY
    230234
    231235;--------------------------------------------------------------------
     
    247251    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut], ax
    248252    ret
    249        
     253
    250254
    251255;--------------------------------------------------------------------
     
    279283    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam], ax
    280284    ret
    281 
     285       
     286%endif   ; INCLUDE_MENU_LIBRARY
    282287       
    283288;--------------------------------------------------------------------
  • trunk/Assembly_Library/Src/Display/DisplayCursor.asm

    r445 r489  
    3737    ret
    3838
    39 
     39%ifdef INCLUDE_MENU_LIBRARY
    4040;--------------------------------------------------------------------
    4141; DisplayCursor_SetShapeFromAX
     
    5252    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape], ax
    5353    ret
    54 
    55 
     54%endif
     55       
    5656;--------------------------------------------------------------------
    5757; DisplayCursor_SetCoordinatesFromAX
  • trunk/Assembly_Library/Src/Display/DisplayPrint.asm

    r376 r489  
    220220
    221221
     222%ifdef INCLUDE_MENU_LIBRARY
    222223;--------------------------------------------------------------------
    223224; DisplayPrint_ClearScreenWithCharInALandAttributeInAH
     
    249250    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], di
    250251    ret
    251 
    252 
     252%endif
     253       
    253254;--------------------------------------------------------------------
    254255; DisplayPrint_ClearAreaWithHeightInAHandWidthInAL
  • trunk/Assembly_Library/Src/Menu/MenuInit.asm

    r391 r489  
    137137    ret
    138138
    139 
     139       
     140%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS       
    140141;--------------------------------------------------------------------
    141142; MenuInit_HighlightItemFromAX
     
    152153    sub     ax, [bp+MENUINIT.wHighlightedItem]
    153154    jmp     MenuScrollbars_MoveHighlightedItemByAX
    154 
     155%endif
     156
     157       
    155158;--------------------------------------------------------------------
    156159; MenuInit_GetHighlightedItemToAX
  • trunk/Assembly_Library/Src/Menu/MenuLocation.asm

    r376 r489  
    5555;       Nothing
    5656;--------------------------------------------------------------------
     57%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS       
    5758MenuLocation_GetItemBordersTopLeftCoordinatesToAX:
     59%endif
    5860    xor     ax, ax
    5961    jmp     SHORT AddItemBordersTopLeftCoordinatesToAX
  • trunk/Assembly_Library/Src/String/Char.asm

    r376 r489  
    181181%endif
    182182
     183               
    183184;--------------------------------------------------------------------
    184185; Char_ALtoUpperCaseLetter
     
    190191;       Nothing
    191192;--------------------------------------------------------------------
     193%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS       
    192194ALIGN STRING_JUMP_ALIGN
    193195Char_ALtoUpperCaseLetter:
     
    196198    jnc     SHORT Char_ChangeCaseInAL.Return
    197199    ; Fall to Char_ChangeCaseInAL
    198 
     200%endif
     201
     202       
    199203;--------------------------------------------------------------------
    200204; Char_ChangeCaseInAL
  • trunk/Assembly_Library/Src/Time/TimerTicks.asm

    r376 r489  
    5757%endif ; EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    5858
     59%ifdef INCLUDE_MENU_LIBRARY
    5960ALIGN JUMP_ALIGN
    6061TimerTicks_GetSecondsToAXfromTicksInDX:
     
    6566    xchg    dl, ah  ; Seconds in AX, remainder in DX
    6667    ret
    67 
     68%endif
    6869
    6970;--------------------------------------------------------------------
     
    8182;       AX
    8283;--------------------------------------------------------------------
     84%ifdef INCLUDE_MENU_LIBRARY     
    8385ALIGN JUMP_ALIGN
    8486TimerTicks_InitializeTimeoutFromAX:
     
    8789    add     [bx], ax                    ; [bx] now contains end time for timeout
    8890    ret
    89 
     91%endif
    9092
    9193;--------------------------------------------------------------------
     
    100102;       Nothing
    101103;--------------------------------------------------------------------
     104%ifdef INCLUDE_MENU_LIBRARY     
    102105ALIGN JUMP_ALIGN
    103106TimerTicks_GetTimeoutTicksLeftToAXfromDSBX:
     
    109112    pop     dx
    110113    ret
    111 
     114%endif
    112115
    113116;--------------------------------------------------------------------
  • trunk/Assembly_Library/Src/Util/Memory.asm

    r445 r489  
    7979;       Nothing
    8080;--------------------------------------------------------------------
     81%ifdef INCLUDE_MENU_LIBRARY
    8182ALIGN JUMP_ALIGN
    8283Memory_ZeroSSBPwithSizeInCX:
     
    9091    pop     es
    9192    ret
     93%endif
    9294
     95       
    9396;--------------------------------------------------------------------
    9497; Memory_ZeroESDIwithSizeInCX
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r376 r489  
    5353;--------------------------------------------------------------------
    5454ALIGN JUMP_ALIGN
     55%ifdef INCLUDE_MENU_LIBRARY     
    5556Registers_CopySSBPtoESDI:
    5657    COPY_SSBP_TO_ESDI
    5758    ret
     59%endif
    5860
    5961%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
  • trunk/Assembly_Library/Src/Util/Size.asm

    r376 r489  
    1818;       
    1919
     20%ifdef INCLUDE_MENU_LIBRARY
    2021struc BYTE_MULTIPLES
    2122    .B          resb    1
     
    8283    ret
    8384.rgbMagnitudeToChar:    db  " kMGTP"
    84 
     85%endif
    8586
    8687;--------------------------------------------------------------------
     
    111112    ret
    112113
    113 
    114114;--------------------------------------------------------------------
    115115; Size_ConvertSectorCountInBXDXAXtoKiB
     
    124124;--------------------------------------------------------------------
    125125ALIGN UTIL_SIZE_JUMP_ALIGN
    126 Size_ConvertSectorCountInBXDXAXtoKiB:
     126Size_ConvertSectorCountInBXDXAXtoKiB:               ; unused entrypoint ok
    127127Size_DivideBXDXAXbyTwo:
    128128    shr     bx, 1                   ; Divide sector count by 2...
Note: See TracChangeset for help on using the changeset viewer.