Changeset 44 in xtideuniversalbios for trunk/Assembly_Library/Inc
- Timestamp:
- Sep 27, 2010, 7:23:36 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/Assembly_Library/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Display.inc
r41 r44 2 2 ; Project name : AssemblyLibrary 3 3 ; Created date : 25.6.2010 4 ; Last update : 15.9.20104 ; Last update : 27.9.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Defines for display library. … … 37 37 .PushDisplayContext: 38 38 .PopDisplayContext: 39 .InitializeDisplayContext resb 240 41 .SetCharacterPointerFromBXAX resb 242 .SetChar acterOutputFunctionFromAXresb 243 .SetCharacterOutputParameterFromAX resb 244 .SetCharacterAttributeFromAL resb 245 .SetCursorShapeFromAX resb 246 .SetCursorCoordinatesFromAX resb 247 .SetNewPageFromAL resb 248 .SynchronizeDisplayContextToHardware resb 249 50 .GetCharacterPointerToBXAX resb 251 .GetSoftwareCoordinatesToAX resb 252 .GetColumnsToALandRowsToAH resb 253 54 .FormatNullTerminatedStringFromCSSI resb 255 .PrintSigned DecimalIntegerFromAXresb 256 .PrintWordFromAXwithBaseInBX resb 257 .PrintCharBufferFromBXSIwithLengthInCX resb 258 .PrintNullTerminatedStringFromBXSI resb 259 .PrintNullTerminatedStringFromCSSI resb 260 .PrintRepeatedCharacterFromALwithCountInCX resb 261 .PrintCharacterFromAL resb 262 .PrintNewlineCharacters resb 263 .ClearAreaWithHeightInAHandWidthInAL resb 264 .ClearScreen resb 239 .InitializeDisplayContext resb 2 40 41 .SetCharacterPointerFromBXAX resb 2 42 .SetCharOutputFunctionFromAXwithAttribFlagInDL resb 2 43 .SetCharacterOutputParameterFromAX resb 2 44 .SetCharacterAttributeFromAL resb 2 45 .SetCursorShapeFromAX resb 2 46 .SetCursorCoordinatesFromAX resb 2 47 .SetNewPageFromAL resb 2 48 .SynchronizeDisplayContextToHardware resb 2 49 50 .GetCharacterPointerToBXAX resb 2 51 .GetSoftwareCoordinatesToAX resb 2 52 .GetColumnsToALandRowsToAH resb 2 53 54 .FormatNullTerminatedStringFromCSSI resb 2 55 .PrintSignedWordFromAXWithBaseInBX resb 2 56 .PrintWordFromAXwithBaseInBX resb 2 57 .PrintCharBufferFromBXSIwithLengthInCX resb 2 58 .PrintNullTerminatedStringFromBXSI resb 2 59 .PrintNullTerminatedStringFromCSSI resb 2 60 .PrintRepeatedCharacterFromALwithCountInCX resb 2 61 .PrintCharacterFromAL resb 2 62 .PrintNewlineCharacters resb 2 63 .ClearAreaWithHeightInAHandWidthInAL resb 2 64 .ClearScreen resb 2 65 65 endstruc 66 66 67 ; Character output functions for DISPLAY_LIB.SetCharacterOutputFunctionFromAX 67 ; Attribute flags for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInDL 68 ATTRIBUTES_NOT_USED EQU 0 69 ATTRIBUTES_ARE_USED EQU FLG_CONTEXT_ATTRIBUTES 70 71 ; Character output functions for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInDL 68 72 TELETYPE_OUTPUT_WITH_ATTRIBUTE EQU DisplayCharOut_TeletypeOutputWithAttribute 69 73 TELETYPE_OUTPUT_WITHOUT_ATTRIBUTE EQU DisplayCharOut_TeletypeOutput … … 98 102 .wCursorShape resb 2 ; Current cursor shape 99 103 .bAttribute resb 1 ; Selected character attribute 100 resb 1104 .bFlags resb 1 ; Display context flags 101 105 endstruc 106 107 ; Display context flags 108 FLG_CONTEXT_ATTRIBUTES EQU (1<<0) ; Character output function uses attributes 102 109 103 110 … … 203 210 ANGLE_QUOTE_LEFT EQU 174 204 211 ANGLE_QUOTE_RIGHT EQU 175 205 212 BLOCK_MOSTLY_BACKGROUND EQU 176 213 BLOCK_EVEN_BACKGROUND_AND_FOREGROUND EQU 177 214 BLOCK_MOSTLY_FOREGROUND EQU 178 215 BLOCK_FULL_FOREGROUND EQU 219 216 217 218 ; Background character for clearing screen 219 %ifndef SCREEN_BACKGROUND_CHARACTER 220 %define SCREEN_BACKGROUND_CHARACTER BLOCK_MOSTLY_BACKGROUND 221 %endif 222 %ifndef SCREEN_BACKGROUND_ATTRIBUTE 223 %define SCREEN_BACKGROUND_ATTRIBUTE MONO_NORMAL 224 %endif 206 225 207 226 %endif ; DISPLAY_INC -
trunk/Assembly_Library/Inc/Menu.inc
r41 r44 125 125 MENU_TEXT_COLUMN_OFFSET EQU 2 126 126 127 SCROLL_TRACK_CHARACTER EQU 176128 SCROLL_THUMB_CHARACTER EQU 219127 SCROLL_TRACK_CHARACTER EQU BLOCK_EVEN_BACKGROUND_AND_FOREGROUND 128 SCROLL_THUMB_CHARACTER EQU BLOCK_FULL_FOREGROUND 129 129 130 130 NO_ITEM_SELECTED EQU -1
Note:
See TracChangeset
for help on using the changeset viewer.