Changeset 592 in xtideuniversalbios for trunk/Assembly_Library/Src/Display
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (6 years ago)
- Location:
- trunk/Assembly_Library/Src/Display
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/CgaSnow.asm
r583 r592 106 106 ; AX, CX, DX 107 107 ;-------------------------------------------------------------------- 108 %ifdef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS108 %ifdef EXCLUDE_FROM_XUB 109 109 %ifdef MODULE_STRINGS_COMPRESSED 110 110 %define EXCLUDE -
trunk/Assembly_Library/Src/Display/Display.asm
r590 r592 38 38 push dx 39 39 40 %ifdef CLD_NEEDED 40 41 cld 42 %endif 41 43 LOAD_BDA_SEGMENT_TO ds, dx 42 44 mov dx, di … … 76 78 %define InitializeDisplayContext DisplayContext_Initialize 77 79 78 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS80 %ifndef EXCLUDE_FROM_XUB 79 81 %define SetCharacterPointerFromBXAX DisplayContext_SetCharacterPointerFromBXAX 80 82 %endif … … 89 91 %define SynchronizeDisplayContextToHardware DisplayContext_SynchronizeToHardware 90 92 91 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS93 %ifndef EXCLUDE_FROM_XUB 92 94 %define GetCharacterPointerToBXAX DisplayContext_GetCharacterPointerToBXAX 93 95 %endif … … 96 98 97 99 %define FormatNullTerminatedStringFromCSSI Display_FormatNullTerminatedStringFromCSSI 98 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS100 %ifndef EXCLUDE_FROM_XUB 99 101 %define PrintSignedWordFromAXWithBaseInBL DisplayPrint_SignedWordFromAXWithBaseInBL 100 102 %endif 101 103 %define PrintWordFromAXWithBaseInBL DisplayPrint_WordFromAXWithBaseInBL 102 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOSOR EXCLUDE_FROM_XTIDECFG104 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_XTIDECFG 103 105 %define PrintQWordFromSSBPwithBaseInBX DisplayPrint_QWordFromSSBPwithBaseInBX 104 106 %endif … … 109 111 %define PrintCharacterFromAL DisplayPrint_CharacterFromAL 110 112 %define PrintNewlineCharacters DisplayPrint_Newline 111 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS113 %ifndef EXCLUDE_FROM_XUB 112 114 %define ClearAreaWithHeightInAHandWidthInAL DisplayPrint_ClearAreaWithHeightInAHandWidthInAL 113 115 %endif -
trunk/Assembly_Library/Src/Display/DisplayContext.asm
r588 r592 110 110 ; AX, DI 111 111 ;-------------------------------------------------------------------- 112 %ifdef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS112 %ifdef EXCLUDE_FROM_XUB 113 113 %ifndef MODULE_BOOT_MENU 114 114 %define EXCLUDE … … 116 116 %endif 117 117 118 %ifndef EXCLUDE 118 %ifndef EXCLUDE OR EXCLUDE_FROM_BIOSDRVS 119 119 ALIGN DISPLAY_JUMP_ALIGN 120 120 DisplayContext_Push: … … 170 170 mov ds, di ; Restore DS 171 171 ret 172 %endif ; EXCLUDE 172 %endif ; EXCLUDE OR EXCLUDE_FROM_BIOSDRVS 173 173 %undef EXCLUDE 174 174 … … 184 184 ; AX, DI 185 185 ;-------------------------------------------------------------------- 186 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS186 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS 187 187 ALIGN DISPLAY_JUMP_ALIGN 188 188 DisplayContext_PrepareOffScreenBufferInESBXwithLengthInCX: … … 202 202 pop ds 203 203 ret 204 %endif ; EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS204 %endif ; EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS 205 205 206 206 … … 215 215 ; AX 216 216 ;-------------------------------------------------------------------- 217 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS217 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS 218 218 ALIGN DISPLAY_JUMP_ALIGN 219 219 DisplayContext_SetCharacterPointerFromBXAX: … … 235 235 ; Nothing 236 236 ;-------------------------------------------------------------------- 237 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS237 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS 238 238 ALIGN DISPLAY_JUMP_ALIGN 239 239 DisplayContext_GetCharacterPointerToBXAX: … … 244 244 245 245 246 %ifdef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS246 %ifdef EXCLUDE_FROM_XUB 247 247 %ifndef MODULE_BOOT_MENU 248 248 %define EXCLUDE … … 282 282 ;-------------------------------------------------------------------- 283 283 %ifndef EXCLUDE ; 2 of 3 284 %ifndef EXCLUDE_FROM_BIOSDRVS 284 285 ALIGN DISPLAY_JUMP_ALIGN 285 286 DisplayContext_SetCharacterAttributeFromAL: … … 287 288 ret 288 289 %endif 290 %endif 289 291 290 292 … … 300 302 ;-------------------------------------------------------------------- 301 303 %ifndef EXCLUDE ; 3 of 3 304 %ifndef EXCLUDE_FROM_BIOSDRVS 302 305 ALIGN DISPLAY_JUMP_ALIGN 303 306 DisplayContext_SetCharacterOutputParameterFromAX: … … 305 308 ret 306 309 %endif 310 %endif 307 311 308 312 %undef EXCLUDE … … 318 322 ; Nothing 319 323 ;-------------------------------------------------------------------- 320 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG324 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_XTIDECFG OR EXCLUDE_FROM_BIOSDRVS 321 325 ALIGN DISPLAY_JUMP_ALIGN 322 326 DisplayContext_GetCharacterOutputParameterToDX: -
trunk/Assembly_Library/Src/Display/DisplayCursor.asm
r526 r592 48 48 ; Nothing 49 49 ;-------------------------------------------------------------------- 50 %ifdef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS50 %ifdef EXCLUDE_FROM_XUB 51 51 %ifndef MODULE_BOOT_MENU 52 52 %define EXCLUDE … … 54 54 %endif 55 55 56 %ifndef EXCLUDE 56 %ifndef EXCLUDE OR EXCLUDE_FROM_BIOSDRVS 57 57 ALIGN DISPLAY_JUMP_ALIGN 58 58 DisplayCursor_SetShapeFromAX: -
trunk/Assembly_Library/Src/Display/DisplayFormat.asm
r590 r592 142 142 143 143 .rgcFormatCharToLookupIndex: 144 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS144 %ifndef EXCLUDE_FROM_XUB 145 145 db "aIAduxsSctz-+%" 146 146 %else … … 150 150 ALIGN WORD_ALIGN 151 151 .rgfnFormatSpecifierParser: 152 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS152 %ifndef EXCLUDE_FROM_XUB 153 153 dw a_FormatAttributeForNextCharacter 154 154 %endif 155 155 dw I_FormatDashForZero 156 156 dw A_FormatAttributeForRemainingString 157 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS157 %ifndef EXCLUDE_FROM_XUB 158 158 dw d_FormatSignedDecimalWord 159 159 %endif … … 161 161 dw x_FormatHexadecimalWord 162 162 dw s_FormatStringFromSegmentCS 163 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS163 %ifndef EXCLUDE_FROM_XUB 164 164 dw S_FormatStringFromFarPointer 165 165 %endif 166 166 dw c_FormatCharacter 167 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS167 %ifndef EXCLUDE_FROM_XUB 168 168 dw t_FormatRepeatCharacter 169 169 %endif 170 170 dw z_FormatStringFromSegmentZero 171 171 dw PrepareToPrependParameterWithSpaces 172 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS172 %ifndef EXCLUDE_FROM_XUB 173 173 dw PrepareToAppendSpacesAfterParameter 174 174 dw percent_FormatPercent … … 308 308 ; AX, BX, DX 309 309 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 310 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS310 %ifndef EXCLUDE_FROM_XUB 311 311 ALIGN DISPLAY_JUMP_ALIGN 312 312 a_FormatAttributeForNextCharacter: … … 330 330 ret 331 331 332 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS332 %ifndef EXCLUDE_FROM_XUB 333 333 ALIGN DISPLAY_JUMP_ALIGN 334 334 d_FormatSignedDecimalWord: … … 391 391 ret 392 392 393 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS393 %ifndef EXCLUDE_FROM_XUB 394 394 ALIGN DISPLAY_JUMP_ALIGN 395 395 S_FormatStringFromFarPointer: … … 408 408 jmp DisplayPrint_CharacterFromAL 409 409 410 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS410 %ifndef EXCLUDE_FROM_XUB 411 411 ALIGN DISPLAY_JUMP_ALIGN 412 412 t_FormatRepeatCharacter: -
trunk/Assembly_Library/Src/Display/DisplayPage.asm
r589 r592 31 31 ; AX, DX 32 32 ;-------------------------------------------------------------------- 33 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG33 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_XTIDECFG OR EXCLUDE_FROM_BIOSDRVS 34 34 ALIGN DISPLAY_JUMP_ALIGN 35 35 DisplayPage_SetFromAL: … … 41 41 42 42 43 %ifdef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS43 %ifdef EXCLUDE_FROM_XUB 44 44 %define EXCLUDE 45 45 %ifdef MODULE_HOTKEYS OR MODULE_BOOT_MENU … … 48 48 %endif 49 49 50 %ifndef EXCLUDE 50 %ifndef EXCLUDE OR EXCLUDE_FROM_BIOSDRVS 51 51 ;-------------------------------------------------------------------- 52 52 ; DisplayPage_GetColumnsToALandRowsToAH -
trunk/Assembly_Library/Src/Display/DisplayPrint.asm
r590 r592 94 94 ; AX, BH, DX 95 95 ;-------------------------------------------------------------------- 96 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS96 %ifndef EXCLUDE_FROM_XUB 97 97 ALIGN DISPLAY_JUMP_ALIGN 98 98 DisplayPrint_SignedWordFromAXWithBaseInBL: … … 163 163 ; AX, DX, [SS:BP] 164 164 ;-------------------------------------------------------------------- 165 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOSOR EXCLUDE_FROM_XTIDECFG165 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_XTIDECFG 166 166 ALIGN DISPLAY_JUMP_ALIGN 167 167 DisplayPrint_QWordFromSSBPwithBaseInBX: … … 194 194 ; AX, DX 195 195 ;-------------------------------------------------------------------- 196 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS196 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS 197 197 ALIGN DISPLAY_JUMP_ALIGN 198 198 DisplayPrint_CharacterBufferFromBXSIwithLengthInCX: … … 261 261 ; AX, DX 262 262 ;-------------------------------------------------------------------- 263 %ifndef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS263 %ifndef EXCLUDE_FROM_XUB OR EXCLUDE_FROM_BIOSDRVS 264 264 ALIGN DISPLAY_JUMP_ALIGN 265 265 DisplayPrint_ClearAreaWithHeightInAHandWidthInAL: … … 292 292 %endif 293 293 294 %ifdef EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS294 %ifdef EXCLUDE_FROM_XUB 295 295 %define EXCLUDE 296 296 %ifndef MODULE_STRINGS_COMPRESSED
Note:
See TracChangeset
for help on using the changeset viewer.