Changeset 194 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuText.asm


Ignore:
Timestamp:
Nov 17, 2011, 11:07:58 AM (12 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.