Changeset 55 in xtideuniversalbios
- Timestamp:
- Nov 16, 2010, 4:52:12 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayCharOut.asm
r48 r55 2 2 ; Project name : Assembly Library 3 3 ; Created date : 26.6.2010 4 ; Last update : 8.10.20104 ; Last update : 24.10.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for outputting characters to video memory. … … 117 117 ; DS: BDA segment (zero) 118 118 ; ES:DI: Ptr to destination string buffer 119 ; DISPLAY_CONTEXT.wCharOutParam: Offset to end of buffer (one past last)119 ; DISPLAY_CONTEXT.wCharOutParam: Characters left in buffer 120 120 ; Returns: 121 121 ; ES:DI: Updated for next character … … 125 125 ALIGN JUMP_ALIGN 126 126 DisplayCharOut_WriteCharacterToBuffer: 127 cmp di, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam]128 j ae SHORT .BufferFull127 cmp WORD [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam], BYTE 0 128 je SHORT .BufferFull 129 129 stosb 130 dec WORD [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam] 130 131 .BufferFull: 131 132 ret
Note:
See TracChangeset
for help on using the changeset viewer.