- Timestamp:
- Aug 22, 2011, 2:25:51 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r141 r170 265 265 .FilterCurrentDirectory: 266 266 cmp WORD [si+DTA.szFile], CURRENTDIR_CHARACTERS 267 jne SHORT .ReturnWithoutFiltering 268 add sp, BYTE 2 ; Remove return address from stack 267 je SHORT .ReturnWithFiltering 269 268 ret 270 269 … … 275 274 cmp WORD [si+DTA.szFile], UPDIR_CHARACTERS 276 275 jne SHORT .ReturnWithoutFiltering 276 .ReturnWithFiltering: 277 277 add sp, BYTE 2 ; Remove return address from stack 278 278 ALIGN JUMP_ALIGN, ret -
trunk/Configurator/Src/Libraries/menu/menudraw.asm
r78 r170 1 ; File name : menudraw.asm2 1 ; Project name : Menu library 3 ; Created date : 9.11.20094 ; Last update : 4.1.20115 ; Author : Tomi Tilli,6 ; : Krister Nordvall (optimizations)7 2 ; Description : ASM library to menu system. 8 3 ; Contains menu drawing functions. … … 164 159 ; call MenuDraw_ItemBorders ; Draw borders to clear old strings 165 160 ALIGN JUMP_ALIGN 166 MenuDraw_AllItemsNoBord: 161 MenuDraw_AllItemsNoBord: 167 162 cmp WORD [bp+MENUVARS.wItemCnt], 0 ; Any items to draw? 168 163 jz MenuDraw_NothingToDraw ; If not, return … … 358 353 mov dh, B_TR 359 354 jmp SHORT MenuDraw_BorderChars 360 355 361 356 ALIGN JUMP_ALIGN 362 357 MenuDraw_StringBorder: … … 447 442 cmp ax, bx ; Need scroll bars? 448 443 jbe .Return ; If not, return 449 444 450 445 ; Calculate last menuitem index for thumb char on this line 451 446 push bx ; Store number of visible menuitems … … 462 457 jc .Return ; If so, draw thumb 463 458 mov dh, T_V ; Load track character 464 ALIGN JUMP_ALIGN 459 ALIGN JUMP_ALIGN, ret 465 460 .Return: 466 461 ret -
trunk/XTIDE_Universal_BIOS/Inc/EBIOS.inc
r169 r170 10 10 ENHANCED_DRIVE_ACCESS_SUPPORT EQU (1<<0) ; 41h, 42h, 43h 44h, 47h and 48h are available 11 11 DRIVE_LOCKING_AND_EJECTING_SUPPORT EQU (1<<1) ; 41h, 45h, 46h, 48h, 49h are available and INT 15h, AH=52h 12 ENHAN DED_DISK_DRIVE_SUPPORT EQU (1<<2) ; 41h, 48h, 4Eh are available (EDD)12 ENHANCED_DISK_DRIVE_SUPPORT EQU (1<<2) ; 41h, 48h, 4Eh are available (EDD) 13 13 14 14 -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r169 r170 35 35 36 36 ; Are we reading or writing? 37 test al, 16 ; Bit 4 is cleared on all the read commands but set on 3 of the 4 write commands 38 jnz SHORT .PrepareToWriteDataFromESSI 39 cmp al, COMMAND_WRITE_MULTIPLE 40 je SHORT .PrepareToWriteDataFromESSI 37 test al, 11001b 38 jpo SHORT .PrepareToWriteDataFromESSI 41 39 42 40 ; Prepare to read data to ESSI -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH23h_HFeatures.asm
r162 r170 55 55 ; AL, BX, CX, DX 56 56 ;-------------------------------------------------------------------- 57 ALIGN JUMP_ALIGN57 ;ALIGN JUMP_ALIGN 58 58 AH23h_SetControllerFeatures: 59 59 mov al, COMMAND_SET_FEATURES -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH24h_HSetBlocks.asm
r162 r170 51 51 ; AL, BX, CX, DX 52 52 ;-------------------------------------------------------------------- 53 ALIGN JUMP_ALIGN53 ;ALIGN JUMP_ALIGN 54 54 AH24h_SetBlockSize: 55 55 MIN_U al, MAX_SUPPORTED_BLOCK_SIZE_IN_SECTORS -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH25h_HDrvID.asm
r167 r170 43 43 ; AL, BX, CX, DX 44 44 ;-------------------------------------------------------------------- 45 ALIGN JUMP_ALIGN45 ;ALIGN JUMP_ALIGN 46 46 AH25h_GetDriveInformationToBufferInESSI: 47 47 push es -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r162 r170 41 41 ; AL, BX, DX 42 42 ;-------------------------------------------------------------------- 43 ALIGN JUMP_ALIGN43 ;ALIGN JUMP_ALIGN 44 44 AH9h_InitializeDriveForUse: 45 45 push cx -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHDh_HReset.asm
r162 r170 42 42 ; AL, CX, SI, DI 43 43 ;-------------------------------------------------------------------- 44 ALIGN JUMP_ALIGN44 ;ALIGN JUMP_ALIGN 45 45 AHDh_ResetDrive: 46 46 push dx -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm
r169 r170 39 39 mov ds, [bp+IDEPACK.intpack+INTPACK.ds] 40 40 mov ax, MINIMUM_EDRIVEINFO_SIZE 41 cmp WORD[di+EDRIVE_INFO.wSize], ax41 cmp [di+EDRIVE_INFO.wSize], ax 42 42 jb SHORT AH42h_ReturnWithInvalidFunctionError 43 43 je SHORT .SkipEddConfigurationParameters 44 44 45 45 ; We do not support EDD Configuration Parameters so set to FFFF:FFFFh 46 xor ax, ax 47 dec ax ; AX = FFFFh 46 mov ax, -1 ; AX = FFFFh 48 47 mov [di+EDRIVE_INFO.fpEDDparams], ax 49 48 mov [di+EDRIVE_INFO.fpEDDparams+2], ax -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Dialogs.asm
r109 r170 125 125 call InitializeDialogInputFromDSSI 126 126 mov WORD [si+DIALOG_INPUT.fszTitle], g_szDlgExitToDos 127 mov WORD [si+DIALOG_INPUT.fszItems], g_szMultichoiceBooleanFlag 128 CALL_MENU_LIBRARY GetSelectionToAXwithInputInDSSI 129 add sp, BYTE DIALOG_INPUT_size 130 cmp ax, BYTE 1 ; 1 = YES 131 132 pop ds 133 ret 127 jmp Dialogs_DisplayQuitAndSaveChangesDialogsSharedEnding 134 128 135 129 … … 142 136 call InitializeDialogInputFromDSSI 143 137 mov WORD [si+DIALOG_INPUT.fszTitle], g_szDlgSaveChanges 138 Dialogs_DisplayQuitAndSaveChangesDialogsSharedEnding: 144 139 mov WORD [si+DIALOG_INPUT.fszItems], g_szMultichoiceBooleanFlag 145 140 CALL_MENU_LIBRARY GetSelectionToAXwithInputInDSSI
Note:
See TracChangeset
for help on using the changeset viewer.