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

    r189 r194  
    137137; Ensure that addressing modes are correctly spaced in memory
    138138;
     139%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS       
    139140%if g_szLCHS <> g_szAddressingModes
    140141%error "g_szAddressingModes Displacement Incorrect 1"
     
    148149%if g_szLBA48 <> g_szLBA28 + g_szAddressingModes_Displacement       
    149150%error "g_szAddressingModes Displacement Incorrect 4"
    150 %endif             
     151%endif
     152%endif     
    151153
    152154g_szFddUnknown: ; db    "%sUnknown",NULL
     
    202204; Ensure that bus type strings are correctly spaced in memory
    203205;
     206%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS               
    204207%if g_szBusTypeValues_8Dual <> g_szBusTypeValues
    205208%error "g_szBusTypeValues Displacement Incorrect 1"
     
    219222%if g_szBusTypeValues_Serial <> g_szBusTypeValues_32 + g_szBusTypeValues_Displacement
    220223%error "g_szBusTypeValues Displacement Incorrect 6"             
    221 %endif             
     224%endif
     225%endif
    222226
    223227g_szSelectionTimeout:   ; db        DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2-u s",NULL
     
    268272        db     (DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_A)    ; 29
    269273
     274%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    270275%if DisplayFormatCompressed_BaseFormatOffset < DisplayFormatCompressed_Format_s || DisplayFormatCompressed_BaseFormatOffset - DisplayFormatCompressed_Format_s > 255
    271276%error "DisplayFormatCompressed_Format_s is out of range of DisplayFormatCompressed_BaseFormatOffset"
     
    298303%error "DisplayFormatCompressed_Format_A is out of range of DisplayFormatCompressed_BaseFormatOffset"
    299304%endif
     305%endif
    300306
    301307;; translated usage stats
     
    304310;; format usage stats
    305311;; A:4
    306 ;; c:6
    307 ;; s:14
    308312;; 2-u:1
    309 ;; u:5
    310313;; 5-u:3
    311 ;; 2-I:1
    312314;; x:6
    313315;; 5-x:1
     316;; s:14
    314317;; nl:6
     318;; 2-I:1
     319;; c:6
     320;; u:5
    315321;; total format: 10
    316322
Note: See TracChangeset for help on using the changeset viewer.