Changeset 134 in xtideuniversalbios
- Timestamp:
- Mar 12, 2011, 5:12:08 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Display.inc
r133 r134 55 55 56 56 .FormatNullTerminatedStringFromCSSI resb 2 57 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 57 58 .PrintSignedWordFromAXWithBaseInBX resb 2 59 %endif 58 60 .PrintWordFromAXwithBaseInBX resb 2 59 61 .PrintCharBufferFromBXSIwithLengthInCX resb 2 … … 63 65 .PrintCharacterFromAL resb 2 64 66 .PrintNewlineCharacters resb 2 67 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 65 68 .ClearAreaWithHeightInAHandWidthInAL resb 2 69 %endif 66 70 .ClearScreenWithCharInALandAttrInAH resb 2 67 71 endstruc -
trunk/Assembly_Library/Src/Display/Display.asm
r133 r134 81 81 82 82 at DISPLAY_LIB.FormatNullTerminatedStringFromCSSI, dw .FormatNullTerminatedStringFromCSSI 83 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 83 84 at DISPLAY_LIB.PrintSignedWordFromAXWithBaseInBX, dw DisplayPrint_SignedWordFromAXWithBaseInBX 85 %endif 84 86 at DISPLAY_LIB.PrintWordFromAXwithBaseInBX, dw DisplayPrint_WordFromAXWithBaseInBX 85 87 at DISPLAY_LIB.PrintCharBufferFromBXSIwithLengthInCX, dw DisplayPrint_CharacterBufferFromBXSIwithLengthInCX … … 89 91 at DISPLAY_LIB.PrintCharacterFromAL, dw DisplayPrint_CharacterFromAL 90 92 at DISPLAY_LIB.PrintNewlineCharacters, dw DisplayPrint_Newline 93 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 91 94 at DISPLAY_LIB.ClearAreaWithHeightInAHandWidthInAL, dw DisplayPrint_ClearAreaWithHeightInAHandWidthInAL 95 %endif 92 96 at DISPLAY_LIB.ClearScreenWithCharInALandAttrInAH, dw DisplayPrint_ClearScreenWithCharInALandAttributeInAH 93 97 iend -
trunk/Assembly_Library/Src/Display/DisplayFormat.asm
r101 r134 127 127 128 128 .rgcFormatCharToLookupIndex: 129 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 129 130 db "aAduxsSct-+%" 131 %else 132 db "Auxsc-" ; Required by XTIDE Universal BIOS 133 %endif 130 134 .rgcFormatCharToLookupIndexEnd: 131 135 ALIGN WORD_ALIGN 132 136 .rgfnFormatSpecifierParser: 137 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 133 138 dw a_FormatAttributeForNextCharacter 139 %endif 134 140 dw A_FormatAttributeForRemainingString 141 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 135 142 dw d_FormatSignedDecimalWord 143 %endif 136 144 dw u_FormatUnsignedDecimalWord 137 145 dw x_FormatHexadecimalWord 138 146 dw s_FormatStringFromSegmentCS 147 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 139 148 dw S_FormatStringFromFarPointer 149 %endif 140 150 dw c_FormatCharacter 151 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 141 152 dw t_FormatRepeatCharacter 153 %endif 142 154 dw PrepareToPrependParameterWithSpaces 155 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 143 156 dw PrepareToAppendSpacesAfterParameter 144 157 dw percent_FormatPercent 158 %endif 145 159 146 160 … … 276 290 ; AX, BX, DX 277 291 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 292 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 278 293 ALIGN JUMP_ALIGN 279 294 a_FormatAttributeForNextCharacter: … … 289 304 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bAttribute], bl 290 305 ret 306 %endif 291 307 292 308 ALIGN JUMP_ALIGN … … 296 312 ret 297 313 314 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 298 315 ALIGN JUMP_ALIGN 299 316 d_FormatSignedDecimalWord: … … 301 318 mov bx, 10 302 319 jmp DisplayPrint_SignedWordFromAXWithBaseInBX 320 %endif 303 321 304 322 ALIGN JUMP_ALIGN … … 323 341 ret 324 342 343 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 325 344 ALIGN JUMP_ALIGN 326 345 S_FormatStringFromFarPointer: … … 332 351 dec bp 333 352 ret 353 %endif 334 354 335 355 ALIGN JUMP_ALIGN … … 338 358 jmp DisplayPrint_CharacterFromAL 339 359 360 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 340 361 ALIGN JUMP_ALIGN 341 362 t_FormatRepeatCharacter: … … 353 374 mov al, '%' 354 375 jmp DisplayPrint_CharacterFromAL 376 %endif 355 377 356 378 ALIGN JUMP_ALIGN -
trunk/Assembly_Library/Src/Display/DisplayPrint.asm
r101 r134 76 76 ; AX, DX 77 77 ;-------------------------------------------------------------------- 78 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 78 79 ALIGN JUMP_ALIGN 79 80 DisplayPrint_SignedWordFromAXWithBaseInBX: … … 87 88 neg ax 88 89 ; Fall to DisplayPrint_WordFromAXWithBaseInBX 90 %endif 89 91 90 92 ;-------------------------------------------------------------------- … … 260 262 ; AX, DX 261 263 ;-------------------------------------------------------------------- 264 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 262 265 ALIGN JUMP_ALIGN 263 266 DisplayPrint_ClearAreaWithHeightInAHandWidthInAL: … … 288 291 pop si 289 292 ret 293 %endif 290 294 291 295
Note:
See TracChangeset
for help on using the changeset viewer.