Changeset 489 in xtideuniversalbios for trunk/Assembly_Library/Src
- Timestamp:
- Dec 13, 2012, 7:32:09 AM (12 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/Assembly_Library/Src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/CgaSnow.asm
r376 r489 94 94 ret 95 95 96 96 %ifdef INCLUDE_MENU_LIBRARY 97 97 ;-------------------------------------------------------------------- 98 98 ; CgaSnow_RepMovsb … … 122 122 eSEG_STR rep, es, movsb 123 123 ret 124 124 %endif 125 125 126 126 ;-------------------------------------------------------------------- -
trunk/Assembly_Library/Src/Display/DisplayContext.asm
r407 r489 102 102 103 103 104 %ifdef INCLUDE_MENU_LIBRARY 105 104 106 ;-------------------------------------------------------------------- 105 107 ; DisplayContext_Push … … 157 159 mov ds, di ; Restore DS 158 160 ret 159 161 %endif 160 162 161 163 ;-------------------------------------------------------------------- … … 187 189 pop ds 188 190 ret 189 %endif 191 192 %endif ; INCLUDE_MENU_LIBRARY 190 193 191 194 … … 228 231 %endif 229 232 233 %ifdef INCLUDE_MENU_LIBRARY 230 234 231 235 ;-------------------------------------------------------------------- … … 247 251 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fnCharOut], ax 248 252 ret 249 253 250 254 251 255 ;-------------------------------------------------------------------- … … 279 283 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam], ax 280 284 ret 281 285 286 %endif ; INCLUDE_MENU_LIBRARY 282 287 283 288 ;-------------------------------------------------------------------- -
trunk/Assembly_Library/Src/Display/DisplayCursor.asm
r445 r489 37 37 ret 38 38 39 39 %ifdef INCLUDE_MENU_LIBRARY 40 40 ;-------------------------------------------------------------------- 41 41 ; DisplayCursor_SetShapeFromAX … … 52 52 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape], ax 53 53 ret 54 55 54 %endif 55 56 56 ;-------------------------------------------------------------------- 57 57 ; DisplayCursor_SetCoordinatesFromAX -
trunk/Assembly_Library/Src/Display/DisplayPrint.asm
r376 r489 220 220 221 221 222 %ifdef INCLUDE_MENU_LIBRARY 222 223 ;-------------------------------------------------------------------- 223 224 ; DisplayPrint_ClearScreenWithCharInALandAttributeInAH … … 249 250 mov [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition], di 250 251 ret 251 252 252 %endif 253 253 254 ;-------------------------------------------------------------------- 254 255 ; DisplayPrint_ClearAreaWithHeightInAHandWidthInAL -
trunk/Assembly_Library/Src/Menu/MenuInit.asm
r391 r489 137 137 ret 138 138 139 139 140 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 140 141 ;-------------------------------------------------------------------- 141 142 ; MenuInit_HighlightItemFromAX … … 152 153 sub ax, [bp+MENUINIT.wHighlightedItem] 153 154 jmp MenuScrollbars_MoveHighlightedItemByAX 154 155 %endif 156 157 155 158 ;-------------------------------------------------------------------- 156 159 ; MenuInit_GetHighlightedItemToAX -
trunk/Assembly_Library/Src/Menu/MenuLocation.asm
r376 r489 55 55 ; Nothing 56 56 ;-------------------------------------------------------------------- 57 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 57 58 MenuLocation_GetItemBordersTopLeftCoordinatesToAX: 59 %endif 58 60 xor ax, ax 59 61 jmp SHORT AddItemBordersTopLeftCoordinatesToAX -
trunk/Assembly_Library/Src/String/Char.asm
r376 r489 181 181 %endif 182 182 183 183 184 ;-------------------------------------------------------------------- 184 185 ; Char_ALtoUpperCaseLetter … … 190 191 ; Nothing 191 192 ;-------------------------------------------------------------------- 193 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 192 194 ALIGN STRING_JUMP_ALIGN 193 195 Char_ALtoUpperCaseLetter: … … 196 198 jnc SHORT Char_ChangeCaseInAL.Return 197 199 ; Fall to Char_ChangeCaseInAL 198 200 %endif 201 202 199 203 ;-------------------------------------------------------------------- 200 204 ; Char_ChangeCaseInAL -
trunk/Assembly_Library/Src/Time/TimerTicks.asm
r376 r489 57 57 %endif ; EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 58 58 59 %ifdef INCLUDE_MENU_LIBRARY 59 60 ALIGN JUMP_ALIGN 60 61 TimerTicks_GetSecondsToAXfromTicksInDX: … … 65 66 xchg dl, ah ; Seconds in AX, remainder in DX 66 67 ret 67 68 %endif 68 69 69 70 ;-------------------------------------------------------------------- … … 81 82 ; AX 82 83 ;-------------------------------------------------------------------- 84 %ifdef INCLUDE_MENU_LIBRARY 83 85 ALIGN JUMP_ALIGN 84 86 TimerTicks_InitializeTimeoutFromAX: … … 87 89 add [bx], ax ; [bx] now contains end time for timeout 88 90 ret 89 91 %endif 90 92 91 93 ;-------------------------------------------------------------------- … … 100 102 ; Nothing 101 103 ;-------------------------------------------------------------------- 104 %ifdef INCLUDE_MENU_LIBRARY 102 105 ALIGN JUMP_ALIGN 103 106 TimerTicks_GetTimeoutTicksLeftToAXfromDSBX: … … 109 112 pop dx 110 113 ret 111 114 %endif 112 115 113 116 ;-------------------------------------------------------------------- -
trunk/Assembly_Library/Src/Util/Memory.asm
r445 r489 79 79 ; Nothing 80 80 ;-------------------------------------------------------------------- 81 %ifdef INCLUDE_MENU_LIBRARY 81 82 ALIGN JUMP_ALIGN 82 83 Memory_ZeroSSBPwithSizeInCX: … … 90 91 pop es 91 92 ret 93 %endif 92 94 95 93 96 ;-------------------------------------------------------------------- 94 97 ; Memory_ZeroESDIwithSizeInCX -
trunk/Assembly_Library/Src/Util/Registers.asm
r376 r489 53 53 ;-------------------------------------------------------------------- 54 54 ALIGN JUMP_ALIGN 55 %ifdef INCLUDE_MENU_LIBRARY 55 56 Registers_CopySSBPtoESDI: 56 57 COPY_SSBP_TO_ESDI 57 58 ret 59 %endif 58 60 59 61 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS -
trunk/Assembly_Library/Src/Util/Size.asm
r376 r489 18 18 ; 19 19 20 %ifdef INCLUDE_MENU_LIBRARY 20 21 struc BYTE_MULTIPLES 21 22 .B resb 1 … … 82 83 ret 83 84 .rgbMagnitudeToChar: db " kMGTP" 84 85 %endif 85 86 86 87 ;-------------------------------------------------------------------- … … 111 112 ret 112 113 113 114 114 ;-------------------------------------------------------------------- 115 115 ; Size_ConvertSectorCountInBXDXAXtoKiB … … 124 124 ;-------------------------------------------------------------------- 125 125 ALIGN UTIL_SIZE_JUMP_ALIGN 126 Size_ConvertSectorCountInBXDXAXtoKiB: 126 Size_ConvertSectorCountInBXDXAXtoKiB: ; unused entrypoint ok 127 127 Size_DivideBXDXAXbyTwo: 128 128 shr bx, 1 ; Divide sector count by 2...
Note:
See TracChangeset
for help on using the changeset viewer.