Changeset 602 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2
- Timestamp:
- May 9, 2019, 8:11:46 PM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Dialogs.asm
r592 r602 21 21 SECTION .text 22 22 23 24 ;-------------------------------------------------------------------- 25 ; Dialogs_DisplayNotificationFromCSDX 26 ; Dialogs_DisplayErrorFromCSDX 27 ; Parameters: 28 ; CS:DX: Ptr to notification/error string to display 29 ; SS:BP: Menu handle 30 ; Returns: 31 ; Nothing 32 ; Corrupts registers: 33 ; AX 34 ;-------------------------------------------------------------------- 35 ALIGN JUMP_ALIGN 36 Dialogs_DisplayNotificationFromCSDX: 37 push di 38 mov di, g_szNotificationDialog 39 jmp SHORT DisplayMessageDialogWithMessageInCSDXandDialogInputInDSSI 40 41 ALIGN JUMP_ALIGN 42 Dialogs_DisplayErrorFromCSDX: 43 push di 44 mov di, g_szErrorDialog 45 SKIP1B al 46 ; Fall to DisplayMessageDialogWithMessageInCSDXandDialogInputInDSSI 47 23 48 ;-------------------------------------------------------------------- 24 49 ; Dialogs_DisplayHelpFromCSDXwithTitleInCSDI … … 32 57 ; AX 33 58 ;-------------------------------------------------------------------- 34 ALIGN JUMP_ALIGN35 59 Dialogs_DisplayHelpFromCSDXwithTitleInCSDI: 60 push di 61 62 DisplayMessageDialogWithMessageInCSDXandDialogInputInDSSI: 36 63 push ds 37 64 push si 38 push di39 65 push cx 40 66 41 mov cx, DIALOG_INPUT_size 42 call Memory_ReserveCXbytesFromStackToDSSI 67 mov cl, DIALOG_INPUT_size 68 call Memory_ReserveCLbytesFromStackToDSSI 69 call InitializeDialogInputFromDSSI 43 70 mov [si+DIALOG_INPUT.fszTitle], di 44 jmp SHORT DisplayMessageDialogWithMessageInCSDXandDialogInputInDSSI45 46 ;--------------------------------------------------------------------47 ; Dialogs_DisplayNotificationFromCSDX48 ; Dialogs_DisplayErrorFromCSDX49 ; Parameters:50 ; CS:DX: Ptr to notification string to display51 ; SS:BP: Menu handle52 ; Returns:53 ; Nothing54 ; Corrupts registers:55 ; AX56 ;--------------------------------------------------------------------57 ALIGN JUMP_ALIGN58 Dialogs_DisplayNotificationFromCSDX:59 push ds60 push si61 push di62 push cx63 64 mov cx, DIALOG_INPUT_size65 call Memory_ReserveCXbytesFromStackToDSSI66 mov WORD [si+DIALOG_INPUT.fszTitle], g_szNotificationDialog67 jmp SHORT DisplayMessageDialogWithMessageInCSDXandDialogInputInDSSI68 69 ALIGN JUMP_ALIGN70 Dialogs_DisplayErrorFromCSDX:71 push ds72 push si73 push di74 push cx75 76 mov cx, DIALOG_INPUT_size77 call Memory_ReserveCXbytesFromStackToDSSI78 mov WORD [si+DIALOG_INPUT.fszTitle], g_szErrorDialog79 ALIGN JUMP_ALIGN80 DisplayMessageDialogWithMessageInCSDXandDialogInputInDSSI:81 call InitializeDialogInputFromDSSI82 71 mov [si+DIALOG_INPUT.fszItems], dx 83 72 CALL_MENU_LIBRARY DisplayMessageWithInputInDSSI … … 85 74 add sp, BYTE DIALOG_INPUT_size 86 75 pop cx 87 pop di88 76 pop si 89 77 pop ds 78 79 pop di 90 80 ret 91 81 … … 135 125 push ds 136 126 137 mov c x, DIALOG_INPUT_size138 call Memory_ReserveC XbytesFromStackToDSSI127 mov cl, DIALOG_INPUT_size 128 call Memory_ReserveCLbytesFromStackToDSSI 139 129 call InitializeDialogInputFromDSSI 140 130 mov [si+DIALOG_INPUT.fszTitle], bx -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
r592 r602 50 50 call Registers_CopyDSSItoESDI 51 51 52 mov c x, DIALOG_INPUT_size53 call Memory_ReserveC XbytesFromStackToDSSI52 mov cl, DIALOG_INPUT_size 53 call Memory_ReserveCLbytesFromStackToDSSI 54 54 call InitializeDialogInputInDSSIfromMenuitemInESDI 55 55 mov ax, [es:di+MENUITEM.itemValue+ITEM_VALUE.szMultichoice] … … 87 87 88 88 call Registers_CopyDSSItoESDI 89 mov c x, WORD_DIALOG_IO_size90 call Memory_ReserveC XbytesFromStackToDSSI89 mov cl, WORD_DIALOG_IO_size 90 call Memory_ReserveCLbytesFromStackToDSSI 91 91 call InitializeDialogInputInDSSIfromMenuitemInESDI 92 92 mov [si+WORD_DIALOG_IO.bNumericBase], bl -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
r593 r602 221 221 222 222 call .PrepareBuffersForFlashing 223 mov c x, FLASHVARS_size + PROGRESS_DIALOG_IO_size224 call Memory_ReserveC XbytesFromStackToDSSI223 mov cl, FLASHVARS_size + PROGRESS_DIALOG_IO_size 224 call Memory_ReserveCLbytesFromStackToDSSI 225 225 call .InitializeFlashvarsFromDSSI 226 226 mov bx, si ; DS:BX now points to FLASHVARS -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MainMenu.asm
r596 r602 249 249 LoadBiosFromFile: 250 250 call Buffers_SaveChangesIfFileLoaded 251 mov c x, FILE_DIALOG_IO_size252 call Memory_ReserveC XbytesFromStackToDSSI251 mov cl, FILE_DIALOG_IO_size 252 call Memory_ReserveCLbytesFromStackToDSSI 253 253 call Dialogs_DisplayFileDialogWithDialogIoInDSSI 254 254 cmp BYTE [si+FILE_DIALOG_IO.bUserCancellation], TRUE -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r601 r602 293 293 g_szValueCfgDevice8b: db "8-bit",NULL 294 294 g_szValueCfgDeviceRev1: db "XTIDE r1",NULL 295 g_szValueCfgDeviceRev2: db "XTIDE r2",NULL295 g_szValueCfgDeviceRev2: 296 296 g_szValueCfgDeviceRev2Olivetti: db "XTIDE r2",NULL 297 297 g_szValueCfgDeviceXTCFPio8: db "XTCF PIO",NULL
Note:
See TracChangeset
for help on using the changeset viewer.