Changeset 241 in xtideuniversalbios for trunk/Assembly_Library/Src
- Timestamp:
- Feb 9, 2012, 11:08:59 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/Assembly_Library/Src/Display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayFormat.asm
r223 r241 127 127 .rgcFormatCharToLookupIndex: 128 128 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 129 db "aIAduxsSct -+%"129 db "aIAduxsSctz-+%" 130 130 %else 131 db "IAuxsc -" ; Required by XTIDE Universal BIOS131 db "IAuxscz-" ; Required by XTIDE Universal BIOS 132 132 %endif 133 133 .rgcFormatCharToLookupIndexEnd: … … 152 152 dw t_FormatRepeatCharacter 153 153 %endif 154 dw z_FormatStringFromSegmentZero 154 155 dw PrepareToPrependParameterWithSpaces 155 156 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS … … 344 345 ALIGN JUMP_ALIGN 345 346 s_FormatStringFromSegmentCS: 347 push si 348 push cx 349 mov si, [bp] 350 351 cmp si, byte 07fh ; well within the boundaries of ROMVARS_size 352 jb .notFormatted 353 354 dec bp 355 dec bp 356 call DisplayFormat_ParseCharacters 357 inc bp ; will be decremented after the call is done 358 inc bp 359 jmp .done 360 361 .notFormatted: 362 call DisplayPrint_NullTerminatedStringFromCSSI 363 364 .done: 365 pop cx 366 pop si 367 ret 368 369 ALIGN JUMP_ALIGN 370 z_FormatStringFromSegmentZero: 346 371 xchg si, [bp] 347 call DisplayPrint_NullTerminatedStringFromCSSI 372 xor bx, bx 373 call DisplayPrint_NullTerminatedStringFromBXSI 348 374 mov si, [bp] 349 ret 375 ret 350 376 351 377 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS -
trunk/Assembly_Library/Src/Display/DisplayFormatCompressed.asm
r223 r241 67 67 DisplayFormatCompressed_ret: ; jump target for other routines who need a "ret" 68 68 ret 69 70 DisplayFormatCompressed_Format_z: 71 xor bx, bx 72 xchg si, ax 73 jmp short DisplayPrint_NullTerminatedStringFromBXSI 69 74 70 75 DisplayFormatCompressed_Format_x: -
trunk/Assembly_Library/Src/Display/DisplayPrint.asm
r223 r241 346 346 ALIGN JUMP_ALIGN 347 347 DisplayPrint_CharacterFromAL: 348 %ifdef MODULE_STRINGS_COMPRESSED349 348 test al,al 350 349 jz DisplayPrint_Ret 351 %endif 350 352 351 mov ah, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.bAttribute] 353 352 jmp [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut]
Note:
See TracChangeset
for help on using the changeset viewer.