Changeset 596 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2


Ignore:
Timestamp:
Jul 10, 2018, 1:20:11 AM (6 years ago)
Author:
krille_n_
Message:

Changes:

  • Made changes to HotkeyBar.asm to give the Boot Menu and Hotkey Bar a more consistent look. It will probably seem a bit strange at first to people used to the classic theme.
  • Added the missing parts of USE_NEC_V that should have been committed with the rest in r593.
  • Removed DEFINES_ALL_FEATURES from the BIOS makefile. It didn't work anymore and never really made sense anyway. Added all the official builds to 'make unused' instead which actually uncovered some unused code in the Tiny build.
  • XTIDECFG will no longer load color themes from unrecognized versions of the BIOS.
  • Other fixes in comments and some minor optimizations.
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  
    3838
    3939struc MENUPAGE
    40     .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
     40    .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
    4444endstruc
    4545
    4646struc MENUITEM
    47     .fnActivate         resb    2   ; Offset to item activation function
    48     .fnFormatValue      resb    2   ; Offset to item value formatting function
     47    .fnActivate             resb    2   ; Offset to item activation function
     48    .fnFormatValue          resb    2   ; Offset to item value formatting function
    4949
    50     .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
     50    .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
    5353
    54     .bFlags             resb    1   ; Item flags
    55     .bType              resb    1   ; Item type
    56     .itemValue          resb    ITEM_VALUE_size     ; ITEM_VALUE for automated item handling
     54    .bFlags                 resb    1   ; Item flags
     55    .bType                  resb    1   ; Item type
     56    .itemValue              resb    ITEM_VALUE_size     ; ITEM_VALUE for automated item handling
    5757endstruc
    5858
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/BiosFile.asm

    r592 r596  
    4040    jc      SHORT .DisplayErrorMessage
    4141
    42     mov     ax, FLG_CFGVARS_FILELOADED
    43     call    Buffers_NewBiosWithSizeInDXCXandSourceInAXhasBeenLoadedForConfiguration
     42    mov     al, FLG_CFGVARS_FILELOADED
     43    call    Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration
    4444    call    FileIO_CloseUsingHandleFromBX
    4545    call    DisplayFileLoadedSuccessfully
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm

    r594 r596  
    109109
    110110;--------------------------------------------------------------------
    111 ; Buffers_NewBiosWithSizeInDXCXandSourceInAXhasBeenLoadedForConfiguration
     111; Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration
    112112;   Parameters:
    113113;       AL:     EEPROM source (FLG_CFGVARS_FILELOADED or FLG_CFGVARS_ROMLOADED)
     
    119119;--------------------------------------------------------------------
    120120ALIGN JUMP_ALIGN
    121 Buffers_NewBiosWithSizeInDXCXandSourceInAXhasBeenLoadedForConfiguration:
     121Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration:
    122122    and     BYTE [cs:g_cfgVars+CFGVARS.wFlags], ~(FLG_CFGVARS_FILELOADED | FLG_CFGVARS_ROMLOADED | FLG_CFGVARS_UNSAVED)
    123123    or      [cs:g_cfgVars+CFGVARS.wFlags], al
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Flash.asm

    r593 r596  
    296296
    297297;--------------------------------------------------------------------
    298 ; WaitUntilEepromPageWriteHasCompleted
     298; .WaitUntilEepromPageWriteHasCompleted
    299299;   Parameters:
    300300;       SS:BP:  Ptr to FLASHVARS
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MainMenu.asm

    r592 r596  
    258258    call    BiosFile_LoadFileFromDSSItoRamBuffer
    259259    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.
    261260    call    MainMenu_EnterMenuOrModifyItemVisibility
    262261.CancelFileLoading:
     
    270269    call    Buffers_SaveChangesIfFileLoaded
    271270    call    EEPROM_LoadXtideUniversalBiosFromRomToRamBufferAndReturnSizeInDXCX
    272     mov     ax, FLG_CFGVARS_ROMLOADED
    273     call    Buffers_NewBiosWithSizeInDXCXandSourceInAXhasBeenLoadedForConfiguration
     271    mov     al, FLG_CFGVARS_ROMLOADED
     272    call    Buffers_NewBiosWithSizeInDXCXandSourceInALhasBeenLoadedForConfiguration
    274273    mov     dx, g_szDlgMainLoadROM
    275274    call    Dialogs_DisplayNotificationFromCSDX
     
    297296;       Nothing
    298297;   Corrupts registers:
    299 ;       AX, BX, DI, ES
     298;       AX, BX, CX, SI, DI, ES
    300299;--------------------------------------------------------------------
    301300ALIGN JUMP_ALIGN
    302301LoadColorTheme:
    303302    call    Buffers_GetFileBufferToESDI
     303    call    Buffers_IsXtideUniversalBiosSignatureInESDI
     304    jnz     SHORT .Return
    304305.FromROM:
    305306    mov     ax, [es:ROMVARS.pColorTheme]
    306307    jmp     ReadColorTheme
    307 
     308.Return:
     309    ret
     310
Note: See TracChangeset for help on using the changeset viewer.