Changeset 505 in xtideuniversalbios for trunk/Assembly_Library/Inc/Display.inc
- Timestamp:
- Feb 25, 2013, 4:23:09 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Display.inc
r407 r505 6 6 %ifndef MODULE_STRINGS_COMPRESSED_PRECOMPRESS 7 7 ;-------------------------------------------------------------------- 8 ; Display Library users need to use th is macrosince it will provide8 ; Display Library users need to use these macros since it will provide 9 9 ; compatibility with future library versions. 10 10 ; 11 11 ; CALL_DISPLAY_LIBRARY 12 ; JMP_DISPLAY_LIBRARY 12 13 ; Parameters: 13 14 ; %1: Function to call (functionName from DISPLAY_LIB) … … 28 29 mov di, %1 29 30 call Display_FunctionFromDI 31 %endif 32 %endmacro 33 34 %macro JMP_DISPLAY_LIBRARY 1 35 %ifidn %1, PushDisplayContext 36 jmp DisplayContext_Push 37 %elifidn %1, PopDisplayContext 38 call DisplayContext_Pop 39 ret 40 %elifidn %1, PrepareOffScreenBufferInESBXwithLengthInCX 41 jmp DisplayContext_PrepareOffScreenBufferInESBXwithLengthInCX 42 %elifidn %1, FormatNullTerminatedStringFromCSSI 43 mov di, %1 44 call Display_FunctionFromDI 45 ret 46 %else 47 mov di, %1 48 jmp Display_FunctionFromDI 30 49 %endif 31 50 %endmacro
Note:
See TracChangeset
for help on using the changeset viewer.