Changeset 194 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayContext.asm
- Timestamp:
- Nov 17, 2011, 11:07:58 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayContext.asm
r181 r194 100 100 pop ax ; Pop return address 101 101 102 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 102 103 %assign i 0 103 104 %rep DISPLAY_CONTEXT_size / 2 … … 105 106 %assign i i+2 106 107 %endrep 107 108 %endif 109 108 110 mov ds, di ; Restore DS 109 111 jmp ax … … 124 126 pop ax ; Pop return address 125 127 128 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 126 129 %assign i DISPLAY_CONTEXT_size-2 127 130 %rep DISPLAY_CONTEXT_size / 2 … … 129 132 %assign i i-2 130 133 %endrep 131 134 %endif 135 132 136 push ax ; Push return address 133 137 push dx … … 226 230 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut], ax 227 231 ret 228 232 229 233 230 234 ;-------------------------------------------------------------------- … … 259 263 ret 260 264 265 261 266 ;-------------------------------------------------------------------- 262 267 ; DisplayContext_GetCharacterOutputParameterToDX … … 286 291 ; Nothing 287 292 ;-------------------------------------------------------------------- 293 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 288 294 ALIGN JUMP_ALIGN 289 295 DisplayContext_GetCharacterOffsetToAXfromByteOffsetInAX: … … 292 298 sar ax, 1 ; BYTE count to WORD count 293 299 ret 294 300 %endif 301 302 295 303 ;-------------------------------------------------------------------- 296 304 ; DisplayContext_GetByteOffsetToAXfromCharacterOffsetInAX … … 303 311 ; Nothing 304 312 ;-------------------------------------------------------------------- 313 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 305 314 ALIGN JUMP_ALIGN 306 315 DisplayContext_GetByteOffsetToAXfromCharacterOffsetInAX: … … 311 320 ReturnOffsetInAX: 312 321 ret 322 %endif
Note:
See TracChangeset
for help on using the changeset viewer.