Changeset 369 in xtideuniversalbios for trunk/Assembly_Library/Src/String/Char.asm


Ignore:
Timestamp:
Mar 29, 2012, 9:29:28 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Removed align directives for initalization code and added define for align in boot-time calls to the assembly library (defaulting to 1), resulting in a significant savings for the AT and 386 builds. Fixed a bug with switch command line handling in the serial server. Put in CR characters in licesnse.txt, so that it properly displays on Windows. In the configurator, added default values for user supplied CHS and LBA values, defaulting to values within range when those features are enabled. Updated the copyright message in the configurator as the literal word Copyright is important.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/String/Char.asm

    r201 r369  
    3535;       Nothing
    3636;--------------------------------------------------------------------
    37 ALIGN JUMP_ALIGN
     37ALIGN STRING_JUMP_ALIGN
    3838Char_IsLowerCaseLetterInAL:
    3939    IS_BETWEEN_IMMEDIATES al, 'a', 'z'
     
    5151;--------------------------------------------------------------------
    5252%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    53 ALIGN JUMP_ALIGN
     53ALIGN STRING_JUMP_ALIGN
    5454Char_IsUpperCaseLetterInAL:
    5555    IS_BETWEEN_IMMEDIATES al, 'A', 'Z'
     
    6969;--------------------------------------------------------------------
    7070%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    71 ALIGN JUMP_ALIGN
     71ALIGN STRING_JUMP_ALIGN
    7272Char_IsHexadecimalDigitInAL:
    7373    call    Char_IsDecimalDigitInAL
     
    8989;--------------------------------------------------------------------
    9090%ifndef MODULE_STRINGS_COMPRESSED
    91 ALIGN JUMP_ALIGN
     91ALIGN STRING_JUMP_ALIGN
    9292Char_IsDecimalDigitInAL:
    9393    IS_BETWEEN_IMMEDIATES al, '0', '9'
     
    108108;--------------------------------------------------------------------
    109109%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    110 ALIGN JUMP_ALIGN
     110ALIGN STRING_JUMP_ALIGN
    111111Char_ConvertIntegerToALfromDigitInALwithBaseInBX:
    112112    push    dx
     
    119119    jbe     SHORT .ConvertToDecimalDigit
    120120    sub     al, 'a'-'0'-10          ; Convert to hexadecimal integer
    121 ALIGN JUMP_ALIGN
     121ALIGN STRING_JUMP_ALIGN
    122122.ConvertToDecimalDigit:
    123123    sub     al, '0'                 ; Convert to decimal integer
     
    137137;--------------------------------------------------------------------
    138138%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    139 ALIGN JUMP_ALIGN
     139ALIGN STRING_JUMP_ALIGN
    140140Char_CharIsValid:
    141141    stc
     
    143143%endif
    144144
    145 ALIGN JUMP_ALIGN
     145ALIGN STRING_JUMP_ALIGN
    146146Char_CharIsNotValid:
    147147    clc
     
    159159;--------------------------------------------------------------------
    160160%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    161 ALIGN JUMP_ALIGN
     161ALIGN STRING_JUMP_ALIGN
    162162Char_ALtoLowerCaseLetter:
    163163    call    Char_IsUpperCaseLetterInAL  ; Is upper case character?
     
    174174;       Nothing
    175175;--------------------------------------------------------------------
    176 ALIGN JUMP_ALIGN
     176ALIGN STRING_JUMP_ALIGN
    177177Char_ALtoUpperCaseLetter:
    178178    call    Char_IsLowerCaseLetterInAL  ; Is lower case character?
     
    205205;--------------------------------------------------------------------
    206206%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    207 ALIGN JUMP_ALIGN
     207ALIGN STRING_JUMP_ALIGN
    208208Char_GetFilterFunctionToDXforNumericBaseInBX:
    209209    mov     dx, Char_IsDecimalDigitInAL
Note: See TracChangeset for help on using the changeset viewer.