Changeset 65 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Dialogs.asm
- Timestamp:
- Dec 5, 2010, 6:52:11 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Dialogs.asm
r59 r65 2 2 ; Project name : XTIDE Univeral BIOS Configurator v2 3 3 ; Created date : 10.10.2010 4 ; Last update : 19.11.20104 ; Last update : 2.12.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for displaying dialogs. … … 85 85 ; Parameters: 86 86 ; DS:SI: Ptr to FILE_DIALOG_IO 87 ; SS:BP: Menu handle 87 88 ; Returns: 88 89 ; Nothing … … 113 114 ; Dialogs_DisplaySaveChangesDialog 114 115 ; Parameters: 115 ; Nothing116 ; SS:BP: Menu handle 116 117 ; Returns: 117 118 ; ZF: Set if user wants to do the action … … 155 156 156 157 ;-------------------------------------------------------------------- 158 ; Dialogs_DisplayProgressDialogForFlashingWithDialogIoInDSSIandFlashvarsInDSBX 159 ; Parameters: 160 ; DS:BX: Ptr to FLASHVARS 161 ; DS:SI: Ptr to PROGRESS_DIALOG_IO 162 ; SS:BP: Menu handle 163 ; Returns: 164 ; Nothing 165 ; Corrupts registers: 166 ; AX, DX, DI 167 ;-------------------------------------------------------------------- 168 ALIGN JUMP_ALIGN 169 Dialogs_DisplayProgressDialogForFlashingWithDialogIoInDSSIandFlashvarsInDSBX: 170 call .InitializeProgressDialogIoInDSSIwithFlashvarsInDSBX 171 mov dx, ds 172 mov ax, bx 173 CALL_MENU_LIBRARY StartProgressTaskWithIoInDSSIandParamInDXAX 174 ret 175 176 ALIGN JUMP_ALIGN 177 .InitializeProgressDialogIoInDSSIwithFlashvarsInDSBX: 178 call InitializeDialogInputFromDSSI 179 mov WORD [si+DIALOG_INPUT.fszTitle], g_szEEPROM 180 181 xor ax, ax 182 mov [si+PROGRESS_DIALOG_IO.wCurrentProgressValue], ax 183 mov dx, [bx+FLASHVARS.wPagesToFlash] 184 mov [si+PROGRESS_DIALOG_IO.wMaxProgressValue], dx 185 mov [si+PROGRESS_DIALOG_IO.wMinProgressValue], ax 186 mov WORD [si+PROGRESS_DIALOG_IO.fnTaskWithParamInDSSI], Flash_EepromWithFlashvarsInDSSI 187 mov [si+PROGRESS_DIALOG_IO.fnTaskWithParamInDSSI+2], cs 188 ret 189 190 191 ;-------------------------------------------------------------------- 157 192 ; InitializeDialogInputFromDSSI 158 193 ; Parameters:
Note:
See TracChangeset
for help on using the changeset viewer.