Changeset 261 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Feb 24, 2012, 3:04:04 AM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Basic maintenance to enable the unused code check to work again, no real code change. Verified no unused code.

Location:
trunk/XTIDE_Universal_BIOS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r244 r261  
    7373endstruc
    7474
    75 %if IDEVARS.bSerialCOMPortChar+1 != IDEVARS.bDevice
    76     %error "IDEVARS.bSerialCOMPortChar needs to come immediately before IDEVARS.bDevice so that both bytes can be fetched at the same time inside DetectPrint.asm"
     75%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
     76    %if IDEVARS.bSerialCOMPortChar+1 != IDEVARS.bDevice
     77        %error "IDEVARS.bSerialCOMPortChar needs to come immediately before IDEVARS.bDevice so that both bytes can be fetched at the same time inside DetectPrint.asm"
     78    %endif
    7779%endif
    7880
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm

    r258 r261  
    116116%ifdef MODULE_SERIAL_FLOPPY
    117117    mov     bl,[di+DPT.bFlagsHigh]
     118%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS             ; not sure why this is needed for preprocessor-only
    118119    eSHR_IM bl,FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION
     120%endif
    119121%endif     
    120122    ret
     
    124126; Floppy Disk Parameter Table.  There is no way to specify more than one of these
    125127; for any given system, so no way to make this drive or media specific.
    126 ; So we return fixed values out of the ROM for callers might be expecting this information.
     128; So we return fixed values out of the ROM for callers who might be expecting this information.
    127129;
    128130; On AT systems, we return the information for a 1.44 MB disk,
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/DetectDrives.asm

    r258 r261  
    100100    ret
    101101
    102 %if FLG_ROMVARS_SERIAL_SCANDETECT != 8
    103     %error "DetectDrives is currently coded to assume that FLG_ROMVARS_SERIAL_SCANDETECT is the same bit as the ALT key code in the BDA.  Changes in the code will be needed if these values are no longer the same."
     102%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS       
     103    %if FLG_ROMVARS_SERIAL_SCANDETECT != 8
     104        %error "DetectDrives is currently coded to assume that FLG_ROMVARS_SERIAL_SCANDETECT is the same bit as the ALT key code in the BDA.  Changes in the code will be needed if these values are no longer the same."
     105    %endif
    104106%endif
    105107
Note: See TracChangeset for help on using the changeset viewer.