Changeset 48 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayContext.asm
- Timestamp:
- Oct 8, 2010, 3:44:05 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayContext.asm
r45 r48 2 2 ; Project name : Assembly Library 3 3 ; Created date : 25.6.2010 4 ; Last update : 28.9.20104 ; Last update : 5.10.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for managing display context. … … 102 102 103 103 ;-------------------------------------------------------------------- 104 ; DisplayContext_PrepareOffScreenBufferInESBXtoESDI 105 ; Parameters: 106 ; BX:AX: Ptr to off screen buffer 107 ; Returns: 108 ; Nothing 109 ; Corrupts registers: 110 ; AX 111 ;-------------------------------------------------------------------- 112 ALIGN JUMP_ALIGN 113 DisplayContext_PrepareOffScreenBufferInESBXtoESDI: 114 push ds 115 116 LOAD_BDA_SEGMENT_TO ds, di 117 xchg ax, bx 118 mov bx, es 119 call DisplayContext_SetCharacterPointerFromBXAX ; ES:DI now has the pointer 120 121 mov bl, ATTRIBUTES_NOT_USED 122 mov ax, BUFFER_OUTPUT_WITH_CHAR_ONLY 123 call DisplayContext_SetCharOutputFunctionFromAXwithAttribFlagInBL 124 125 mov bx, di 126 pop ds 127 ret 128 129 130 ;-------------------------------------------------------------------- 104 131 ; DisplayContext_SynchronizeToHardware 105 132 ; Parameters: … … 123 150 ; DS: BDA segment (zero) 124 151 ; Returns: 125 ; ES:DI: Pointer that was in DX:AX152 ; ES:DI: Pointer that was in BX:AX 126 153 ; Corrupts registers: 127 154 ; AX
Note: See TracChangeset
for help on using the changeset viewer.