Changeset 596 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2
- Timestamp:
- Jul 10, 2018, 1:20:11 AM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/MenuStructs.inc
r593 r596 38 38 39 39 struc MENUPAGE 40 .fnEnter resb 2 ; Function to initialize MENUPAGE41 .fnBack resb 2 ; Function to initialize previous MENUPAGE42 .wMenuitems resb 2 ; Number of MENUITEM structs43 .rgMenuitem: ; All MENUITEM structs in this MENUPAGE40 .fnEnter resb 2 ; Function to initialize MENUPAGE 41 .fnBack resb 2 ; Function to initialize previous MENUPAGE 42 .wMenuitems resb 2 ; Number of MENUITEM structs 43 .rgMenuitem: ; All MENUITEM structs in this MENUPAGE 44 44 endstruc 45 45 46 46 struc MENUITEM 47 .fnActivate resb 2 ; Offset to item activation function48 .fnFormatValue resb 2 ; Offset to item value formatting function47 .fnActivate resb 2 ; Offset to item activation function 48 .fnFormatValue resb 2 ; Offset to item value formatting function 49 49 50 .szName resb 2 ; Offset to item name string51 .szQuickInfo resb 2 ; Offset to item quick information string52 .szHelp resb 2 ; Offset to item help string50 .szName resb 2 ; Offset to item name string 51 .szQuickInfo resb 2 ; Offset to item quick information string 52 .szHelp resb 2 ; Offset to item help string 53 53 54 .bFlags resb 1 ; Item flags55 .bType resb 1 ; Item type56 .itemValue resb ITEM_VALUE_size ; ITEM_VALUE for automated item handling54 .bFlags resb 1 ; Item flags 55 .bType resb 1 ; Item type 56 .itemValue resb ITEM_VALUE_size ; ITEM_VALUE for automated item handling 57 57 endstruc 58 58 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/BiosFile.asm
r592 r596 40 40 jc SHORT .DisplayErrorMessage 41 41 42 mov a x, FLG_CFGVARS_FILELOADED43 call Buffers_NewBiosWithSizeInDXCXandSourceInA XhasBeenLoadedForConfiguration42 mov al, FLG_CFGVARS_FILELOADED 43 call Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration 44 44 call FileIO_CloseUsingHandleFromBX 45 45 call DisplayFileLoadedSuccessfully -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm
r594 r596 109 109 110 110 ;-------------------------------------------------------------------- 111 ; Buffers_NewBiosWithSizeInDXCXandSourceInA XhasBeenLoadedForConfiguration111 ; Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration 112 112 ; Parameters: 113 113 ; AL: EEPROM source (FLG_CFGVARS_FILELOADED or FLG_CFGVARS_ROMLOADED) … … 119 119 ;-------------------------------------------------------------------- 120 120 ALIGN JUMP_ALIGN 121 Buffers_NewBiosWithSizeInDXCXandSourceInA XhasBeenLoadedForConfiguration:121 Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration: 122 122 and BYTE [cs:g_cfgVars+CFGVARS.wFlags], ~(FLG_CFGVARS_FILELOADED | FLG_CFGVARS_ROMLOADED | FLG_CFGVARS_UNSAVED) 123 123 or [cs:g_cfgVars+CFGVARS.wFlags], al -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Flash.asm
r593 r596 296 296 297 297 ;-------------------------------------------------------------------- 298 ; WaitUntilEepromPageWriteHasCompleted298 ; .WaitUntilEepromPageWriteHasCompleted 299 299 ; Parameters: 300 300 ; SS:BP: Ptr to FLASHVARS -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MainMenu.asm
r592 r596 258 258 call BiosFile_LoadFileFromDSSItoRamBuffer 259 259 call LoadColorTheme 260 ; *FIXME* Will load themes even from unrecognized versions of the BIOS which isn't really a problem but still 'unexpected behaviour' and therefore a bug.261 260 call MainMenu_EnterMenuOrModifyItemVisibility 262 261 .CancelFileLoading: … … 270 269 call Buffers_SaveChangesIfFileLoaded 271 270 call EEPROM_LoadXtideUniversalBiosFromRomToRamBufferAndReturnSizeInDXCX 272 mov a x, FLG_CFGVARS_ROMLOADED273 call Buffers_NewBiosWithSizeInDXCXandSourceInA XhasBeenLoadedForConfiguration271 mov al, FLG_CFGVARS_ROMLOADED 272 call Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration 274 273 mov dx, g_szDlgMainLoadROM 275 274 call Dialogs_DisplayNotificationFromCSDX … … 297 296 ; Nothing 298 297 ; Corrupts registers: 299 ; AX, BX, DI, ES298 ; AX, BX, CX, SI, DI, ES 300 299 ;-------------------------------------------------------------------- 301 300 ALIGN JUMP_ALIGN 302 301 LoadColorTheme: 303 302 call Buffers_GetFileBufferToESDI 303 call Buffers_IsXtideUniversalBiosSignatureInESDI 304 jnz SHORT .Return 304 305 .FromROM: 305 306 mov ax, [es:ROMVARS.pColorTheme] 306 307 jmp ReadColorTheme 307 308 .Return: 309 ret 310
Note:
See TracChangeset
for help on using the changeset viewer.