Changeset 134 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayFormat.asm


Ignore:
Timestamp:
Mar 12, 2011, 5:12:08 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Excluded some format specifiers and related printing functions not used by XTIDE Universal BIOS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Display/DisplayFormat.asm

    r101 r134  
    127127
    128128.rgcFormatCharToLookupIndex:
     129%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    129130    db      "aAduxsSct-+%"
     131%else
     132    db      "Auxsc-"        ; Required by XTIDE Universal BIOS
     133%endif
    130134.rgcFormatCharToLookupIndexEnd:
    131135ALIGN WORD_ALIGN
    132136.rgfnFormatSpecifierParser:
     137%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    133138    dw      a_FormatAttributeForNextCharacter
     139%endif
    134140    dw      A_FormatAttributeForRemainingString
     141%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    135142    dw      d_FormatSignedDecimalWord
     143%endif
    136144    dw      u_FormatUnsignedDecimalWord
    137145    dw      x_FormatHexadecimalWord
    138146    dw      s_FormatStringFromSegmentCS
     147%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    139148    dw      S_FormatStringFromFarPointer
     149%endif
    140150    dw      c_FormatCharacter
     151%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    141152    dw      t_FormatRepeatCharacter
     153%endif
    142154    dw      PrepareToPrependParameterWithSpaces
     155%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    143156    dw      PrepareToAppendSpacesAfterParameter
    144157    dw      percent_FormatPercent
     158%endif
    145159
    146160
     
    276290;       AX, BX, DX
    277291;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
     292%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    278293ALIGN JUMP_ALIGN
    279294a_FormatAttributeForNextCharacter:
     
    289304    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bAttribute], bl
    290305    ret
     306%endif
    291307
    292308ALIGN JUMP_ALIGN
     
    296312    ret
    297313
     314%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    298315ALIGN JUMP_ALIGN
    299316d_FormatSignedDecimalWord:
     
    301318    mov     bx, 10
    302319    jmp     DisplayPrint_SignedWordFromAXWithBaseInBX
     320%endif
    303321
    304322ALIGN JUMP_ALIGN
     
    323341    ret
    324342
     343%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    325344ALIGN JUMP_ALIGN
    326345S_FormatStringFromFarPointer:
     
    332351    dec     bp
    333352    ret
     353%endif
    334354
    335355ALIGN JUMP_ALIGN
     
    338358    jmp     DisplayPrint_CharacterFromAL
    339359
     360%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    340361ALIGN JUMP_ALIGN
    341362t_FormatRepeatCharacter:
     
    353374    mov     al, '%'
    354375    jmp     DisplayPrint_CharacterFromAL
     376%endif
    355377
    356378ALIGN JUMP_ALIGN
Note: See TracChangeset for help on using the changeset viewer.