Changeset 194 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Strings.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/XTIDE_Universal_BIOS/Src/Strings.asm

    r189 r194  
    5151; Ensure that addressing modes are correctly spaced in memory
    5252;
     53%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS       
    5354%if g_szLCHS <> g_szAddressingModes
    5455%error "g_szAddressingModes Displacement Incorrect 1"
     
    6263%if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement       
    6364%error "g_szAddressingModes Displacement Incorrect 4"
    64 %endif             
     65%endif
     66%endif     
    6567       
    6668g_szFddUnknown: db  "%sUnknown",NULL
     
    8385; Ensure that bus type strings are correctly spaced in memory
    8486;
     87%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS               
    8588%if g_szBusTypeValues_8Dual <> g_szBusTypeValues
    8689%error "g_szBusTypeValues Displacement Incorrect 1"
     
    100103%if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
    101104%error "g_szBusTypeValues Displacement Incorrect 6"             
    102 %endif             
     105%endif
     106%endif
    103107       
    104108g_szSelectionTimeout:   db      DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
Note: See TracChangeset for help on using the changeset viewer.