Changeset 134 in xtideuniversalbios for trunk


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

Changes to Assembly Library:

  • Excluded some format specifiers and related printing functions not used by XTIDE Universal BIOS.
Location:
trunk/Assembly_Library
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Display.inc

    r133 r134  
    5555
    5656    .FormatNullTerminatedStringFromCSSI             resb    2
     57%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    5758    .PrintSignedWordFromAXWithBaseInBX              resb    2
     59%endif
    5860    .PrintWordFromAXwithBaseInBX                    resb    2
    5961    .PrintCharBufferFromBXSIwithLengthInCX          resb    2
     
    6365    .PrintCharacterFromAL                           resb    2
    6466    .PrintNewlineCharacters                         resb    2
     67%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    6568    .ClearAreaWithHeightInAHandWidthInAL            resb    2
     69%endif
    6670    .ClearScreenWithCharInALandAttrInAH             resb    2
    6771endstruc
  • trunk/Assembly_Library/Src/Display/Display.asm

    r133 r134  
    8181
    8282    at  DISPLAY_LIB.FormatNullTerminatedStringFromCSSI,             dw  .FormatNullTerminatedStringFromCSSI
     83%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    8384    at  DISPLAY_LIB.PrintSignedWordFromAXWithBaseInBX,              dw  DisplayPrint_SignedWordFromAXWithBaseInBX
     85%endif
    8486    at  DISPLAY_LIB.PrintWordFromAXwithBaseInBX,                    dw  DisplayPrint_WordFromAXWithBaseInBX
    8587    at  DISPLAY_LIB.PrintCharBufferFromBXSIwithLengthInCX,          dw  DisplayPrint_CharacterBufferFromBXSIwithLengthInCX
     
    8991    at  DISPLAY_LIB.PrintCharacterFromAL,                           dw  DisplayPrint_CharacterFromAL
    9092    at  DISPLAY_LIB.PrintNewlineCharacters,                         dw  DisplayPrint_Newline
     93%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    9194    at  DISPLAY_LIB.ClearAreaWithHeightInAHandWidthInAL,            dw  DisplayPrint_ClearAreaWithHeightInAHandWidthInAL
     95%endif
    9296    at  DISPLAY_LIB.ClearScreenWithCharInALandAttrInAH,             dw  DisplayPrint_ClearScreenWithCharInALandAttributeInAH
    9397iend
  • 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
  • trunk/Assembly_Library/Src/Display/DisplayPrint.asm

    r101 r134  
    7676;       AX, DX
    7777;--------------------------------------------------------------------
     78%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    7879ALIGN JUMP_ALIGN
    7980DisplayPrint_SignedWordFromAXWithBaseInBX:
     
    8788    neg     ax
    8889    ; Fall to DisplayPrint_WordFromAXWithBaseInBX
     90%endif
    8991
    9092;--------------------------------------------------------------------
     
    260262;       AX, DX
    261263;--------------------------------------------------------------------
     264%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    262265ALIGN JUMP_ALIGN
    263266DisplayPrint_ClearAreaWithHeightInAHandWidthInAL:
     
    288291    pop     si
    289292    ret
     293%endif
    290294
    291295
Note: See TracChangeset for help on using the changeset viewer.