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/BootMenuPrintCfg.asm

    r193 r194  
    2626    eMOVZX  ax, BYTE [di+DPT.bIdevarsOffset]
    2727    xchg    si, ax                      ; CS:SI now points to IDEVARS
    28     ; Fall to PushAndFormatCfgString
     28    ; Fall to .PushAndFormatCfgString
    2929
    3030;--------------------------------------------------------------------
     
    3838;       AX, DX, SI, DI
    3939;--------------------------------------------------------------------
    40 PushAndFormatCfgString:
     40.PushAndFormatCfgString:
    4141    push    bp
    4242    mov     bp, sp
     
    5353;       AX, BX
    5454;--------------------------------------------------------------------
    55 PushAddressingMode:
     55.PushAddressingMode:
    5656    CustomDPT_GetUnshiftedAddressModeToALZF
    5757    ;;
     
    7676;       AX
    7777;--------------------------------------------------------------------
    78 PushBlockMode:
     78.PushBlockMode:
    7979    mov     ax, 1
    8080    test    BYTE [di+DPT.bFlagsHigh], FLGH_DPT_BLOCK_MODE_SUPPORTED
     
    9494;       AX, DX
    9595;--------------------------------------------------------------------
    96 ;PushBusType:
     96.PushBusType:
    9797    mov     al,g_szBusTypeValues_Displacement
    9898    mul     BYTE [cs:si+IDEVARS.bDevice]
     
    113113;       AX, DX
    114114;--------------------------------------------------------------------
    115 PushIRQ:
     115.PushIRQ:
    116116    eMOVZX  ax, BYTE [cs:si+IDEVARS.bIRQ]
    117117    push    ax
     
    127127;       AX
    128128;--------------------------------------------------------------------
    129 PushResetStatus:
     129.PushResetStatus:
    130130    mov     al, [di+DPT.bFlagsHigh]
    131131    and     ax, MASKH_DPT_RESET
     
    141141;       AX, SI, DI
    142142;--------------------------------------------------------------------
    143 PrintValuesFromStack:
     143.PrintValuesFromStack:
    144144    mov     si, g_szCfgFormat
    145145    jmp     BootPrint_BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay
Note: See TracChangeset for help on using the changeset viewer.