Changeset 194 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu


Ignore:
Timestamp:
Nov 17, 2011, 11:07:58 AM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

ifdef'd out more unused code. Also added a tool for looking through the listing and the output of the precompiler to aid in finding dead code. Some changes in the files are to add annotations for the tool to avoid false positives.

Location:
trunk/Assembly_Library/Src/Menu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/MenuBorders.asm

    r182 r194  
    6060;       AX, BX, CX, DX, SI, DI
    6161;--------------------------------------------------------------------
     62%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    6263ALIGN JUMP_ALIGN
    6364MenuBorders_RefreshItemBorders:
     
    6869    call    MenuBorders_GetNumberOfMiddleCharactersToDX
    6970    jmp     SHORT RefreshItemBorders
    70 
    71 
     71%endif
     72
     73       
    7274;--------------------------------------------------------------------
    7375; MenuBorders_AdjustDisplayContextForDrawingBorders
  • trunk/Assembly_Library/Src/Menu/MenuText.asm

    r133 r194  
    1515;       AX, BX, CX, DX, SI, DI
    1616;--------------------------------------------------------------------
     17%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    1718ALIGN JUMP_ALIGN
    1819MenuText_ClearTitleArea:
     
    2021    call    PrepareToDrawTitleArea
    2122    mov     cl, [bp+MENUINIT.bTitleLines]
    22     jmp     SHORT ClearCLlinesOfText
    23 
     23    jmp     SHORT MenuText_ClearInformationArea.ClearCLlinesOfText
     24%endif
     25       
    2426ALIGN JUMP_ALIGN
    2527MenuText_ClearInformationArea:
     
    2729    call    MenuText_PrepareToDrawInformationArea
    2830    mov     cl, [bp+MENUINIT.bInfoLines]
    29 ClearCLlinesOfText:
     31.ClearCLlinesOfText:
    3032    mov     al, [bp+MENUINIT.bWidth]
    3133    sub     al, MENU_HORIZONTAL_BORDER_LINES+(MENU_TEXT_COLUMN_OFFSET/2)
Note: See TracChangeset for help on using the changeset viewer.