Changeset 369 in xtideuniversalbios for trunk/Assembly_Library/Src/Display


Ignore:
Timestamp:
Mar 29, 2012, 9:29:28 AM (13 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.

Location:
trunk/Assembly_Library/Src/Display
Files:
9 edited

Legend:

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

    r223 r369  
    1515;       AX
    1616;--------------------------------------------------------------------
    17 ALIGN JUMP_ALIGN
     17ALIGN DISPLAY_JUMP_ALIGN
    1818CgaSnow_IsCgaPresent:
    1919    cmp     WORD [BDA.wVidPort], CGA_STATUS_REGISTER - OFFSET_TO_CGA_STATUS_REGISTER
     
    2525    stc
    2626    ret
    27 ALIGN JUMP_ALIGN
     27ALIGN DISPLAY_JUMP_ALIGN
    2828.CgaNotFound:
    2929    clc
     
    4848;       AX, DX
    4949;--------------------------------------------------------------------
    50 ALIGN JUMP_ALIGN
     50ALIGN DISPLAY_JUMP_ALIGN
    5151CgaSnow_Stosb:
    5252    call    LoadCgaStatusRegisterAddressToDXifCgaPresent
     
    6262    ret
    6363
    64 ALIGN JUMP_ALIGN
     64ALIGN DISPLAY_JUMP_ALIGN
    6565CgaSnow_Stosw:
    6666    push    bx
     
    9191;       AX, CX, DX
    9292;--------------------------------------------------------------------
    93 ALIGN JUMP_ALIGN
     93ALIGN DISPLAY_JUMP_ALIGN
    9494CgaSnow_RepMovsb:
    9595    call    LoadCgaStatusRegisterAddressToDXifCgaPresent
     
    119119;       Nothing
    120120;--------------------------------------------------------------------
    121 ALIGN JUMP_ALIGN
     121ALIGN DISPLAY_JUMP_ALIGN
    122122LoadCgaStatusRegisterAddressToDXifCgaPresent:
    123123    test    BYTE [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bFlags], FLG_CONTEXT_CGA
    124124    jz      SHORT .NoCgaDetected
    125125    mov     dx, CGA_STATUS_REGISTER
    126 ALIGN JUMP_ALIGN, ret
     126ALIGN DISPLAY_JUMP_ALIGN, ret
    127127.NoCgaDetected:
    128128    ret
  • trunk/Assembly_Library/Src/Display/Display.asm

    r341 r369  
    1616;       AX (unless used as a return register), DI
    1717;--------------------------------------------------------------------
    18 ALIGN JUMP_ALIGN
     18ALIGN DISPLAY_JUMP_ALIGN
    1919Display_FunctionFromDI:
    2020    push    es
     
    4343;       AX
    4444;--------------------------------------------------------------------
    45 ALIGN JUMP_ALIGN
     45ALIGN DISPLAY_JUMP_ALIGN
    4646Display_FormatNullTerminatedStringFromCSSI:
    4747    pop     ax                  ; Discard return address to inside Display_FunctionFromDI
  • trunk/Assembly_Library/Src/Display/DisplayCharOut.asm

    r101 r369  
    2121;       AX, DX
    2222;--------------------------------------------------------------------
    23 ALIGN JUMP_ALIGN
     23ALIGN DISPLAY_JUMP_ALIGN
    2424DisplayCharOut_TeletypeOutputWithAttribute:
    2525    cmp     al, ' '                         ; Printable character?
     
    2828    ret
    2929
    30 ALIGN JUMP_ALIGN
     30ALIGN DISPLAY_JUMP_ALIGN
    3131DisplayCharOut_TeletypeOutput:
    3232    cmp     al, ' '                         ; Printable character?
     
    4545;       AX, DX
    4646;--------------------------------------------------------------------
    47 ALIGN JUMP_ALIGN
     47ALIGN DISPLAY_JUMP_ALIGN
    4848DisplayCharOut_BiosTeletypeOutput:
    4949    push    ax
     
    7676;       AX, DX
    7777;--------------------------------------------------------------------
    78 ALIGN JUMP_ALIGN
     78ALIGN DISPLAY_JUMP_ALIGN
    7979DisplayCharOut_Attribute:
    8080    xchg    al, ah              ; Swap character and attribute
     
    8383    ret
    8484
    85 ALIGN JUMP_ALIGN
     85ALIGN DISPLAY_JUMP_ALIGN
    8686DisplayCharOut_Character:
    8787    WAIT_RETRACE_IF_NECESSARY_THEN stosb
     
    8989    ret
    9090
    91 ALIGN JUMP_ALIGN
     91ALIGN DISPLAY_JUMP_ALIGN
    9292DisplayCharOut_CharacterWithAttribute:
    9393    WAIT_RETRACE_IF_NECESSARY_THEN stosw
     
    107107;       AX, DX
    108108;--------------------------------------------------------------------
    109 ALIGN JUMP_ALIGN
     109ALIGN DISPLAY_JUMP_ALIGN
    110110DisplayCharOut_WriteCharacterToBuffer:
    111111    cmp     WORD [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam], BYTE 0
  • trunk/Assembly_Library/Src/Display/DisplayContext.asm

    r287 r369  
    1414;       AX, DX, DI
    1515;--------------------------------------------------------------------
    16 ALIGN JUMP_ALIGN
     16ALIGN DISPLAY_JUMP_ALIGN
    1717DisplayContext_Initialize:
    1818    mov     WORD [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut], DEFAULT_CHARACTER_OUTPUT
     
    7979;       AX, DX
    8080;--------------------------------------------------------------------
    81 ALIGN JUMP_ALIGN
     81ALIGN DISPLAY_JUMP_ALIGN
    8282DisplayContext_SynchronizeToHardware:
    8383    call    DisplayPage_SynchronizeToHardware
     
    9595;       AX, DI
    9696;--------------------------------------------------------------------
    97 ALIGN JUMP_ALIGN
     97ALIGN DISPLAY_JUMP_ALIGN
    9898DisplayContext_Push:
    9999    mov     di, ds                  ; Backup DS
     
    121121;       AX, DI
    122122;--------------------------------------------------------------------
    123 ALIGN JUMP_ALIGN
     123ALIGN DISPLAY_JUMP_ALIGN
    124124DisplayContext_Pop:
    125125    mov     di, ds                  ; Backup DS
     
    154154;--------------------------------------------------------------------
    155155%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    156 ALIGN JUMP_ALIGN
     156ALIGN DISPLAY_JUMP_ALIGN
    157157DisplayContext_PrepareOffScreenBufferInESBXwithLengthInCX:
    158158    push    ds
     
    185185;--------------------------------------------------------------------
    186186%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    187 ALIGN JUMP_ALIGN
     187ALIGN DISPLAY_JUMP_ALIGN
    188188DisplayContext_SetCharacterPointerFromBXAX:
    189189    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], ax
     
    205205;--------------------------------------------------------------------
    206206%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    207 ALIGN JUMP_ALIGN
     207ALIGN DISPLAY_JUMP_ALIGN
    208208DisplayContext_GetCharacterPointerToBXAX:
    209209    mov     ax, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition]
     
    224224;       BL
    225225;--------------------------------------------------------------------
    226 ALIGN JUMP_ALIGN
     226ALIGN DISPLAY_JUMP_ALIGN
    227227DisplayContext_SetCharOutputFunctionFromAXwithAttribFlagInBL:
    228228    and     bl, FLG_CONTEXT_ATTRIBUTES
     
    243243;       Nothing
    244244;--------------------------------------------------------------------
    245 ALIGN JUMP_ALIGN
     245ALIGN DISPLAY_JUMP_ALIGN
    246246DisplayContext_SetCharacterAttributeFromAL:
    247247    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bAttribute], al
     
    259259;       Nothing
    260260;--------------------------------------------------------------------
    261 ALIGN JUMP_ALIGN
     261ALIGN DISPLAY_JUMP_ALIGN
    262262DisplayContext_SetCharacterOutputParameterFromAX:
    263263    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam], ax
     
    275275;--------------------------------------------------------------------
    276276%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG  ; This is currently unused (dead code)
    277 ALIGN JUMP_ALIGN
     277ALIGN DISPLAY_JUMP_ALIGN
    278278DisplayContext_GetCharacterOutputParameterToDX:
    279279    mov     dx, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam]
     
    293293;--------------------------------------------------------------------
    294294%ifndef MODULE_STRINGS_COMPRESSED
    295 ALIGN JUMP_ALIGN
     295ALIGN DISPLAY_JUMP_ALIGN
    296296DisplayContext_GetCharacterOffsetToAXfromByteOffsetInAX:
    297297    test    BYTE [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bFlags], FLG_CONTEXT_ATTRIBUTES
     
    313313;--------------------------------------------------------------------
    314314%ifndef MODULE_STRINGS_COMPRESSED
    315 ALIGN JUMP_ALIGN
     315ALIGN DISPLAY_JUMP_ALIGN
    316316DisplayContext_GetByteOffsetToAXfromCharacterOffsetInAX:
    317317    test    BYTE [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bFlags], FLG_CONTEXT_ATTRIBUTES
    318318    jz      SHORT ReturnOffsetInAX
    319319    sal     ax, 1       ; WORD count to BYTE count
    320 ALIGN JUMP_ALIGN, ret
     320ALIGN DISPLAY_JUMP_ALIGN, ret
    321321ReturnOffsetInAX:
    322322    ret
  • trunk/Assembly_Library/Src/Display/DisplayCursor.asm

    r101 r369  
    1515;       Nothing
    1616;--------------------------------------------------------------------
    17 ALIGN JUMP_ALIGN
     17ALIGN DISPLAY_JUMP_ALIGN
    1818DisplayCursor_SetShapeFromAX:
    1919    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape], ax
     
    3232;       AX, DX
    3333;--------------------------------------------------------------------
    34 ALIGN JUMP_ALIGN
     34ALIGN DISPLAY_JUMP_ALIGN
    3535DisplayCursor_SetCoordinatesFromAX:
    3636    xchg    dx, ax
     
    5757;       Nothing
    5858;--------------------------------------------------------------------
    59 ALIGN JUMP_ALIGN
     59ALIGN DISPLAY_JUMP_ALIGN
    6060DisplayCursor_GetSoftwareCoordinatesToAX:
    6161    mov     ax, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition]
     
    7777;       DX
    7878;--------------------------------------------------------------------
    79 ALIGN JUMP_ALIGN
     79ALIGN DISPLAY_JUMP_ALIGN
    8080DisplayCursor_GetHardwareCoordinatesToAX:
    8181    push    cx
     
    101101;       AX, DX
    102102;--------------------------------------------------------------------
    103 ALIGN JUMP_ALIGN
     103ALIGN DISPLAY_JUMP_ALIGN
    104104DisplayCursor_SynchronizeShapeToHardware:
    105105    mov     dx, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape]
     
    138138;       AX, DX
    139139;--------------------------------------------------------------------
    140 ALIGN JUMP_ALIGN
     140ALIGN DISPLAY_JUMP_ALIGN
    141141DisplayCursor_SynchronizeCoordinatesToHardware:
    142142    call    DisplayCursor_GetSoftwareCoordinatesToAX
  • trunk/Assembly_Library/Src/Display/DisplayFormat.asm

    r341 r369  
    1818;       AX, BX, CX, DX, BP
    1919;--------------------------------------------------------------------
    20 ALIGN JUMP_ALIGN
     20ALIGN DISPLAY_JUMP_ALIGN
    2121DisplayFormat_ParseCharacters:
    2222    call    ReadCharacterAndTestForNull
     
    6969;       AX
    7070;--------------------------------------------------------------------
    71 ALIGN JUMP_ALIGN
     71ALIGN DISPLAY_JUMP_ALIGN
    7272ParsePlaceholderSizeDigitFromALtoCX:
    7373    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], di
     
    9090;       Nothing
    9191;--------------------------------------------------------------------
    92 ALIGN JUMP_ALIGN
     92ALIGN DISPLAY_JUMP_ALIGN
    9393ReadCharacterAndTestForNull:
    9494    cs lodsb                                ; Load from CS:SI to AL
     
    106106;       AX, BX
    107107;--------------------------------------------------------------------
    108 ALIGN JUMP_ALIGN
     108ALIGN DISPLAY_JUMP_ALIGN
    109109GetFormatSpecifierParserToAX:
    110110    mov     bx, .rgcFormatCharToLookupIndex
    111 ALIGN JUMP_ALIGN
     111ALIGN DISPLAY_JUMP_ALIGN
    112112.CheckForNextSpecifierParser:
    113113    cmp     al, [cs:bx]
     
    118118    mov     ax, c_FormatCharacter
    119119    ret
    120 ALIGN JUMP_ALIGN
     120ALIGN DISPLAY_JUMP_ALIGN
    121121.ConvertIndexToFunctionOffset:
    122122    sub     bx, .rgcFormatCharToLookupIndex
     
    171171;       AX, BX, CX, DX
    172172;--------------------------------------------------------------------
    173 ALIGN JUMP_ALIGN
     173ALIGN DISPLAY_JUMP_ALIGN
    174174PrependOrAppendSpaces:
    175175    mov     ax, di
     
    210210;       AX, BX, CX, DX
    211211;--------------------------------------------------------------------
    212 ALIGN JUMP_ALIGN
     212ALIGN DISPLAY_JUMP_ALIGN
    213213.PrependWithSpaces:
    214214    xchg    ax, cx
     
    248248;       AX, CX, DX, SI
    249249;--------------------------------------------------------------------
    250 ALIGN JUMP_ALIGN
     250ALIGN DISPLAY_JUMP_ALIGN
    251251.ReverseCopyCXbytesFromESSItoESDI:
    252252    test    BYTE [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bFlags], FLG_CONTEXT_ATTRIBUTES
     
    256256    dec     di                  ; Point to preceeding character instead of attribute
    257257    ret
    258 ALIGN JUMP_ALIGN
     258ALIGN DISPLAY_JUMP_ALIGN
    259259.CopyWithoutDisplayProcessing:
    260260    eSEG_STR rep, es, movsb
     
    271271;   Corrupts registers:
    272272;       AX, CX, DX
    273 ALIGN JUMP_ALIGN
     273ALIGN DISPLAY_JUMP_ALIGN
    274274.ReversePrintAXspacesStartingFromESDI:
    275275    call    DisplayContext_GetCharacterOffsetToAXfromByteOffsetInAX
     
    292292;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    293293%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    294 ALIGN JUMP_ALIGN
     294ALIGN DISPLAY_JUMP_ALIGN
    295295a_FormatAttributeForNextCharacter:
    296296    mov     bl, [bp]
     
    307307%endif
    308308
    309 ALIGN JUMP_ALIGN
     309ALIGN DISPLAY_JUMP_ALIGN
    310310A_FormatAttributeForRemainingString:
    311311    mov     al, [bp]
     
    314314
    315315%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    316 ALIGN JUMP_ALIGN
     316ALIGN DISPLAY_JUMP_ALIGN
    317317d_FormatSignedDecimalWord:
    318318    mov     ax, [bp]
     
    321321%endif
    322322
    323 ALIGN JUMP_ALIGN
     323ALIGN DISPLAY_JUMP_ALIGN
    324324u_FormatUnsignedDecimalWord:
    325325    mov     ax, [bp]
     
    327327    jmp     DisplayPrint_WordFromAXWithBaseInBX
    328328
    329 ALIGN JUMP_ALIGN
     329ALIGN DISPLAY_JUMP_ALIGN
    330330x_FormatHexadecimalWord:
    331331    mov     ax, [bp]
     
    335335    jmp     DisplayPrint_CharacterFromAL
    336336
    337 ALIGN JUMP_ALIGN
     337ALIGN DISPLAY_JUMP_ALIGN
    338338I_FormatDashForZero:
    339339    mov     ax, [bp]
     
    343343;;; fall-through
    344344
    345 ALIGN JUMP_ALIGN
     345ALIGN DISPLAY_JUMP_ALIGN
    346346s_FormatStringFromSegmentCS:
    347347    push    si
     
    367367    ret
    368368
    369 ALIGN JUMP_ALIGN
     369ALIGN DISPLAY_JUMP_ALIGN
    370370z_FormatStringFromSegmentZero:
    371371    xchg    si, [bp]
     
    376376
    377377%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    378 ALIGN JUMP_ALIGN
     378ALIGN DISPLAY_JUMP_ALIGN
    379379S_FormatStringFromFarPointer:
    380380    mov     bx, [bp-2]
     
    387387%endif
    388388
    389 ALIGN JUMP_ALIGN
     389ALIGN DISPLAY_JUMP_ALIGN
    390390c_FormatCharacter:
    391391    mov     al, [bp]
     
    393393
    394394%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    395 ALIGN JUMP_ALIGN
     395ALIGN DISPLAY_JUMP_ALIGN
    396396t_FormatRepeatCharacter:
    397397    push    cx
     
    404404    ret
    405405
    406 ALIGN JUMP_ALIGN
     406ALIGN DISPLAY_JUMP_ALIGN
    407407percent_FormatPercent:
    408408    mov     al, '%'
     
    410410%endif
    411411
    412 ALIGN JUMP_ALIGN
     412ALIGN DISPLAY_JUMP_ALIGN
    413413PrepareToPrependParameterWithSpaces:
    414414    neg     cx
    415415    ; Fall to PrepareToAppendSpacesAfterParameter
    416416
    417 ALIGN JUMP_ALIGN
     417ALIGN DISPLAY_JUMP_ALIGN
    418418PrepareToAppendSpacesAfterParameter:
    419419    add     sp, BYTE 2              ; Remove return offset
  • trunk/Assembly_Library/Src/Display/DisplayFormatCompressed.asm

    r241 r369  
    151151    ; fall through to DisplayFormat_ParseCharacters
    152152
    153 ALIGN JUMP_ALIGN
     153ALIGN DISPLAY_JUMP_ALIGN
    154154DisplayFormat_ParseCharacters:
    155155;
     
    184184
    185185
    186 ALIGN JUMP_ALIGN
     186ALIGN DISPLAY_JUMP_ALIGN
    187187DisplayFormatCompressed_TranslatesAndFormats:
    188188;
  • trunk/Assembly_Library/Src/Display/DisplayPage.asm

    r194 r369  
    1616;--------------------------------------------------------------------
    1717%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    18 ALIGN JUMP_ALIGN
     18ALIGN DISPLAY_JUMP_ALIGN
    1919DisplayPage_SetFromAL:
    2020    xor     ah, ah
     
    3535;       Nothing
    3636;--------------------------------------------------------------------
    37 ALIGN JUMP_ALIGN
     37ALIGN DISPLAY_JUMP_ALIGN
    3838DisplayPage_GetColumnsToALandRowsToAH:
    3939    mov     al, [VIDEO_BDA.wColumns]        ; 40 or 80
     
    5151;       AX, DX
    5252;--------------------------------------------------------------------
    53 ALIGN JUMP_ALIGN
     53ALIGN DISPLAY_JUMP_ALIGN
    5454DisplayPage_SynchronizeToHardware:
    5555    xor     dx, dx
  • trunk/Assembly_Library/Src/Display/DisplayPrint.asm

    r341 r369  
    4242;       AX, DX
    4343;--------------------------------------------------------------------
    44 ALIGN JUMP_ALIGN
     44ALIGN DISPLAY_JUMP_ALIGN
    4545DisplayPrint_FormattedNullTerminatedStringFromCSSI:
    4646    push    bp
     
    7979;--------------------------------------------------------------------
    8080%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    81 ALIGN JUMP_ALIGN
     81ALIGN DISPLAY_JUMP_ALIGN
    8282DisplayPrint_SignedWordFromAXWithBaseInBX:
    8383    test    ax, ax
     
    106106;       AX, DX
    107107;--------------------------------------------------------------------
    108 ALIGN JUMP_ALIGN
     108ALIGN DISPLAY_JUMP_ALIGN
    109109DisplayPrint_WordFromAXWithBaseInBX:
    110110    push    cx
     
    112112
    113113    xor     cx, cx
    114 ALIGN JUMP_ALIGN
     114ALIGN DISPLAY_JUMP_ALIGN
    115115.DivideLoop:
    116116    xor     dx, dx              ; DX:AX now holds the integer
     
    123123PrintAllPushedDigits:
    124124    mov     bx, g_rgcDigitToCharacter
    125 ALIGN JUMP_ALIGN
     125ALIGN DISPLAY_JUMP_ALIGN
    126126.PrintNextDigit:
    127127    pop     ax                  ; Pop digit
     
    149149;--------------------------------------------------------------------
    150150%ifndef EXCLUDE_FROM_XTIDECFG   ; Not used in XTIDECFG
    151 ALIGN JUMP_ALIGN
     151ALIGN DISPLAY_JUMP_ALIGN
    152152DisplayPrint_QWordFromSSBPwithBaseInBX:
    153153    push    cx
     
    156156    mov     cx, bx              ; CX = Integer base
    157157    xor     bx, bx              ; BX = Character count
    158 ALIGN JUMP_ALIGN
     158ALIGN DISPLAY_JUMP_ALIGN
    159159.DivideLoop:
    160160    call    Math_DivQWatSSBPbyCX; Divide by base
     
    183183;--------------------------------------------------------------------
    184184%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    185 ALIGN JUMP_ALIGN
     185ALIGN DISPLAY_JUMP_ALIGN
    186186DisplayPrint_CharacterBufferFromBXSIwithLengthInCX:
    187187    jcxz    .NothingToPrintSinceZeroLength
     
    189189    push    cx
    190190
    191 ALIGN JUMP_ALIGN
     191ALIGN DISPLAY_JUMP_ALIGN
    192192.PrintNextCharacter:
    193193    mov     ds, bx
     
    216216;       AX, DX
    217217;--------------------------------------------------------------------
    218 ALIGN JUMP_ALIGN
     218ALIGN DISPLAY_JUMP_ALIGN
    219219DisplayPrint_ClearScreenWithCharInALandAttributeInAH:
    220220    push    di
     
    248248;--------------------------------------------------------------------
    249249%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    250 ALIGN JUMP_ALIGN
     250ALIGN DISPLAY_JUMP_ALIGN
    251251DisplayPrint_ClearAreaWithHeightInAHandWidthInAL:
    252252    push    si
     
    259259    xor     cx, cx
    260260
    261 ALIGN JUMP_ALIGN
     261ALIGN DISPLAY_JUMP_ALIGN
    262262.ClearRowLoop:
    263263    mov     cl, bl                          ; Area width now in CX
     
    291291;       DX
    292292;--------------------------------------------------------------------
    293 ALIGN JUMP_ALIGN
     293ALIGN DISPLAY_JUMP_ALIGN
    294294DisplayPrint_RepeatCharacterFromALwithCountInCX:
    295295    jcxz    .NothingToRepeat
    296296    push    cx
    297297
    298 ALIGN JUMP_ALIGN
     298ALIGN DISPLAY_JUMP_ALIGN
    299299.RepeatCharacter:
    300300    push    ax
     
    324324;;; All strings in CSSI should go through the DisplayFormatCompressed code to be decoded.
    325325;;;
    326 ALIGN JUMP_ALIGN
     326ALIGN DISPLAY_JUMP_ALIGN
    327327DisplayPrint_NullTerminatedStringFromCSSI:
    328328    push    bx
     
    350350;--------------------------------------------------------------------
    351351%ifdef MODULE_STRINGS_COMPRESSED
    352 ALIGN JUMP_ALIGN
     352ALIGN DISPLAY_JUMP_ALIGN
    353353DisplayPrint_Newline_FormatAdjustBP:
    354354    inc     bp                  ; we didn't need a parameter after all, readjust BP
     
    357357%endif
    358358
    359 ALIGN JUMP_ALIGN
     359ALIGN DISPLAY_JUMP_ALIGN
    360360DisplayPrint_Newline:
    361361    mov     al, LF
     
    376376;       AX, DX
    377377;--------------------------------------------------------------------
    378 ALIGN JUMP_ALIGN
     378ALIGN DISPLAY_JUMP_ALIGN
    379379DisplayPrint_CharacterFromAL:
    380380    test    al,al
     
    396396;       AX, DX
    397397;--------------------------------------------------------------------
    398 ALIGN JUMP_ALIGN
     398ALIGN DISPLAY_JUMP_ALIGN
    399399DisplayPrint_NullTerminatedStringFromBXSI:
    400400    push    si
     
    402402
    403403    xor     cx, cx
    404 ALIGN JUMP_ALIGN
     404ALIGN DISPLAY_JUMP_ALIGN
    405405.PrintNextCharacter:
    406406    mov     ds, bx              ; String segment to DS
     
    412412    jmp     SHORT .PrintNextCharacter
    413413
    414 ALIGN JUMP_ALIGN
     414ALIGN DISPLAY_JUMP_ALIGN
    415415.EndOfString:
    416416    pop     cx
Note: See TracChangeset for help on using the changeset viewer.