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

    r192 r194  
    3232    jmp     short BootMenuPrint_FormatCSSIfromParamsInSSBP
    3333
     34%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    3435%if BootMenuPrint_FloppyMenuitem <> BootMenuEvent_FallThroughToFloppyMenuitem
    3536%error "BootMenuPrint.asm must follow BootMenuEvent.asm, and BootMenuPrint_FloppyMenuitem must be the first routine in BootMenuPrint.asm"
    3637%endif
    37 
     38%endif
    3839       
    3940;--------------------------------------------------------------------
     
    174175    db      2880  / FloppyTypes.rgbCapacityMultiplier    ;  type 6
    175176
     177%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    176178%if g_szFddFiveQuarter <> g_szFddThreeHalf+g_szFddThreeFive_Displacement
    177179%error "FddThreeFive_Displacement incorrect"
     180%endif
    178181%endif
    179182       
     
    225228    cmp     bl, FLOPPY_TYPE_525_HD
    226229    ja      .ThreeHalf
     230%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
    227231%if g_szFddThreeFive_Displacement = 2       
    228232    inc     ax                      ; compressed string case
     
    230234%else
    231235    add     ax, g_szFddThreeFive_Displacement
     236%endif
    232237%endif
    233238.ThreeHalf:     
Note: See TracChangeset for help on using the changeset viewer.