Changeset 489 in xtideuniversalbios for trunk/Tools


Ignore:
Timestamp:
Dec 13, 2012, 7:32:09 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Added version string to initial title banner, for cases where there is not a boot menu (just hotkeys, or no hotkeys). Also ifdef'd out some unused code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/unused.pl

    r376 r489  
    88#
    99# Annotations can be placed in the source to eliminate false positives:
    10 #   a) if a label can be fallen into, place "; fall through to label" above the label
     10#   a) if a label can be fallen into, place "; fall through to <label>" above the label
    1111#   b) "; unused entrypoint ok" can be placed on the same line with the label
    1212#   c) "; jump table entrypoint" can be placed on the same line with the label
     
    5151while(<UNUSED>)
    5252{
    53     if( /^([a-z0-9_]+\:)?\s+db\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+dw\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+mov\s+(.*)$/i ||
    54         /^([a-z0-9_]+\:)?\s+call\s+(.*)$/i || /^([a-z0-9_]+\:)?\s+j[a-z]?[a-z]?[a-z]?[a-z]?[a-z]?\s+(.*)$/i ||
     53    if( /^([a-z0-9_]+\:)?\s+db\s+(.*)$/i ||
     54        /^([a-z0-9_]+\:)?\s+dw\s+(.*)$/i ||
     55        /^([a-z0-9_]+\:)?\s+mov\s+(.*)$/i ||
     56        /^([a-z0-9_]+\:)?\s+call\s+(.*)$/i ||
     57        /^([a-z0-9_]+\:)?\s+push\s+(.*)$/i ||
     58        /^([a-z0-9_]+\:)?\s+j[a-z]?[a-z]?[a-z]?[a-z]?[a-z]?\s+(.*)$/i ||
    5559        /^([a-z0-9_]+)?\s+equ\s+(.*)$/i )
    5660    {
Note: See TracChangeset for help on using the changeset viewer.