Changeset 177 in xtideuniversalbios for trunk/Assembly_Library/Src/Display
- Timestamp:
- Oct 22, 2011, 9:31:12 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/Display.asm
r134 r177 24 24 cld 25 25 LOAD_BDA_SEGMENT_TO ds, dx 26 mov dx, [cs:di+.rgfnDisplayLibraryFunctions]26 mov dx, di 27 27 les di, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition] 28 28 call dx … … 35 35 36 36 ;-------------------------------------------------------------------- 37 ; .FormatNullTerminatedStringFromCSSI37 ; Display_FormatNullTerminatedStringFromCSSI 38 38 ; Parameters: 39 39 ; Same as DisplayPrint_FormattedNullTerminatedStringFromCSSI … … 44 44 ;-------------------------------------------------------------------- 45 45 ALIGN JUMP_ALIGN 46 .FormatNullTerminatedStringFromCSSI:46 Display_FormatNullTerminatedStringFromCSSI: 47 47 pop ax ; Discard return address to inside Display_FunctionFromDI 48 48 call DisplayPrint_FormattedNullTerminatedStringFromCSSI … … 57 57 jmp ax 58 58 59 60 ALIGN WORD_ALIGN 61 .rgfnDisplayLibraryFunctions: 62 istruc DISPLAY_LIB 63 at DISPLAY_LIB.InitializeDisplayContext, dw DisplayContext_Initialize 59 60 %define InitializeDisplayContext DisplayContext_Initialize 64 61 65 62 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 66 at DISPLAY_LIB.SetCharacterPointerFromBXAX, dwDisplayContext_SetCharacterPointerFromBXAX63 %define SetCharacterPointerFromBXAX DisplayContext_SetCharacterPointerFromBXAX 67 64 %endif 68 at DISPLAY_LIB.SetCharOutputFunctionFromAXwithAttribFlagInBL, dwDisplayContext_SetCharOutputFunctionFromAXwithAttribFlagInBL69 at DISPLAY_LIB.SetCharacterOutputParameterFromAX, dwDisplayContext_SetCharacterOutputParameterFromAX70 at DISPLAY_LIB.SetCharacterAttributeFromAL, dwDisplayContext_SetCharacterAttributeFromAL71 at DISPLAY_LIB.SetCursorShapeFromAX, dwDisplayCursor_SetShapeFromAX72 at DISPLAY_LIB.SetCursorCoordinatesFromAX, dwDisplayCursor_SetCoordinatesFromAX73 at DISPLAY_LIB.SetNewPageFromAL, dwDisplayPage_SetFromAL74 at DISPLAY_LIB.SynchronizeDisplayContextToHardware, dwDisplayContext_SynchronizeToHardware65 %define SetCharOutputFunctionFromAXwithAttribFlagInBL DisplayContext_SetCharOutputFunctionFromAXwithAttribFlagInBL 66 %define SetCharacterOutputParameterFromAX DisplayContext_SetCharacterOutputParameterFromAX 67 %define SetCharacterAttributeFromAL DisplayContext_SetCharacterAttributeFromAL 68 %define SetCursorShapeFromAX DisplayCursor_SetShapeFromAX 69 %define SetCursorCoordinatesFromAX DisplayCursor_SetCoordinatesFromAX 70 %define SetNewPageFromAL DisplayPage_SetFromAL 71 %define SynchronizeDisplayContextToHardware DisplayContext_SynchronizeToHardware 75 72 76 73 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 77 at DISPLAY_LIB.GetCharacterPointerToBXAX, dwDisplayContext_GetCharacterPointerToBXAX74 %define GetCharacterPointerToBXAX DisplayContext_GetCharacterPointerToBXAX 78 75 %endif 79 at DISPLAY_LIB.GetSoftwareCoordinatesToAX, dwDisplayCursor_GetSoftwareCoordinatesToAX80 at DISPLAY_LIB.GetColumnsToALandRowsToAH, dwDisplayPage_GetColumnsToALandRowsToAH76 %define GetSoftwareCoordinatesToAX DisplayCursor_GetSoftwareCoordinatesToAX 77 %define GetColumnsToALandRowsToAH DisplayPage_GetColumnsToALandRowsToAH 81 78 82 at DISPLAY_LIB.FormatNullTerminatedStringFromCSSI, dw .FormatNullTerminatedStringFromCSSI79 %define FormatNullTerminatedStringFromCSSI Display_FormatNullTerminatedStringFromCSSI 83 80 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 84 at DISPLAY_LIB.PrintSignedWordFromAXWithBaseInBX, dwDisplayPrint_SignedWordFromAXWithBaseInBX81 %define PrintSignedWordFromAXWithBaseInBX DisplayPrint_SignedWordFromAXWithBaseInBX 85 82 %endif 86 at DISPLAY_LIB.PrintWordFromAXwithBaseInBX, dwDisplayPrint_WordFromAXWithBaseInBX87 at DISPLAY_LIB.PrintCharBufferFromBXSIwithLengthInCX, dwDisplayPrint_CharacterBufferFromBXSIwithLengthInCX88 at DISPLAY_LIB.PrintNullTerminatedStringFromBXSI, dwDisplayPrint_NullTerminatedStringFromBXSI89 at DISPLAY_LIB.PrintNullTerminatedStringFromCSSI, dwDisplayPrint_NullTerminatedStringFromCSSI90 at DISPLAY_LIB.PrintRepeatedCharacterFromALwithCountInCX, dwDisplayPrint_RepeatCharacterFromALwithCountInCX91 at DISPLAY_LIB.PrintCharacterFromAL, dwDisplayPrint_CharacterFromAL92 at DISPLAY_LIB.PrintNewlineCharacters, dwDisplayPrint_Newline83 %define PrintWordFromAXwithBaseInBX DisplayPrint_WordFromAXWithBaseInBX 84 %define PrintCharBufferFromBXSIwithLengthInCX DisplayPrint_CharacterBufferFromBXSIwithLengthInCX 85 %define PrintNullTerminatedStringFromBXSI DisplayPrint_NullTerminatedStringFromBXSI 86 %define PrintNullTerminatedStringFromCSSI DisplayPrint_NullTerminatedStringFromCSSI 87 %define PrintRepeatedCharacterFromALwithCountInCX DisplayPrint_RepeatCharacterFromALwithCountInCX 88 %define PrintCharacterFromAL DisplayPrint_CharacterFromAL 89 %define PrintNewlineCharacters DisplayPrint_Newline 93 90 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 94 at DISPLAY_LIB.ClearAreaWithHeightInAHandWidthInAL, dwDisplayPrint_ClearAreaWithHeightInAHandWidthInAL91 %define ClearAreaWithHeightInAHandWidthInAL DisplayPrint_ClearAreaWithHeightInAHandWidthInAL 95 92 %endif 96 at DISPLAY_LIB.ClearScreenWithCharInALandAttrInAH, dwDisplayPrint_ClearScreenWithCharInALandAttributeInAH97 iend 93 %define ClearScreenWithCharInALandAttrInAH DisplayPrint_ClearScreenWithCharInALandAttributeInAH 94
Note:
See TracChangeset
for help on using the changeset viewer.