Ignore:
Timestamp:
May 8, 2021, 6:55:56 PM (3 years ago)
Author:
krille_n_
Message:

Changes:

  • The "Remove other hard drives" option in the Boot settings menu in XTIDECFG is now exposed in all BIOS builds. This is needed because the system BIOS in at least two Zenith computer models (Z-161 and Z-171) does not clear the BDA HD count which causes it to increment on warm boot. Running "Auto Configure" in XTIDECFG now also tries to identify these machines by doing a CRC check on the system BIOS and sets the option to YES if a match is found.
  • WORD_ALIGN is now 2 for XT builds. This should benefit XT class machines with 8086 and NEC V30 CPU:s and the cost is negligible (1 byte for the XT BIOS builds and 12 bytes for XTIDECFG.COM).
  • Other minor optimizations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/BootMenuSettingsMenu.asm

    r597 r605  
    142142    at  MENUITEM.szQuickInfo,       dw  g_szNfoClearBdaDriveCount
    143143    at  MENUITEM.szHelp,            dw  g_szHelpClearBdaDriveCount
    144     at  MENUITEM.bFlags,            db  FLG_MENUITEM_FLAGVALUE
     144    at  MENUITEM.bFlags,            db  FLG_MENUITEM_VISIBLE | FLG_MENUITEM_FLAGVALUE
    145145    at  MENUITEM.bType,             db  TYPE_MENUITEM_MULTICHOICE
    146146    at  MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset,        dw  ROMVARS.wFlags
     
    148148    at  MENUITEM.itemValue + ITEM_VALUE.szMultichoice,              dw  g_szMultichoiceBooleanFlag
    149149    at  MENUITEM.itemValue + ITEM_VALUE.rgszValueToStringLookup,    dw  g_rgszValueToStringLookupForFlagBooleans
    150     at  MENUITEM.itemValue + ITEM_VALUE.wValueBitmask,              dw  FLG_ROMVARS_IGNORE_MOTHERBOARD_DRIVES
     150    at  MENUITEM.itemValue + ITEM_VALUE.wValueBitmask,              dw  FLG_ROMVARS_CLEAR_BDA_HD_COUNT
    151151iend
    152152
     
    258258    call    .EnableOrDisableColorThemeSelection
    259259    call    .EnableOrDisableBootMenuSelectionTimeout
    260     call    .EnableOrDisableClearBdaDriveCount
    261260    mov     si, g_MenupageForBootMenuSettingsMenu
    262261    jmp     Menupage_ChangeToNewMenupageInDSSI
     
    328327    mov     bx, g_MenuitemBootMnuStngsSelectionTimeout
    329328    test    ax, FLG_ROMVARS_MODULE_BOOT_MENU
    330     jmp     SHORT .DisableMenuitemFromCSBXifZFset
    331 
    332 
    333 ;--------------------------------------------------------------------
    334 ; .EnableOrDisableClearBdaDriveCount
    335 ;   Parameters:
    336 ;       AX:     ROMVARS.wFlags
    337 ;       SS:BP:  Menu handle
    338 ;   Returns:
    339 ;       Nothing
    340 ;   Corrupts registers:
    341 ;       BX
    342 ;--------------------------------------------------------------------
    343 ALIGN JUMP_ALIGN
    344 .EnableOrDisableClearBdaDriveCount:
    345     mov     bx, g_MenuitemBootMnuStngsClearBdaDriveCount
    346     call    Buffers_IsXTbuildLoaded
    347329.DisableMenuitemFromCSBXifZFset:
    348330    jz      SHORT .DisableMenuitemFromCSBX
     
    448430    mov     cx, ATTRIBUTE_CHARS_size
    449431    mul     cl                          ; Multiply with the menu choice index
    450     mov     si, ColorThemeTable
    451     add     si, ax
    452     mov     ax, [es:di]                 ; Fetch the ptr to ColorTheme
     432    mov     si, [es:di]                 ; Fetch the ptr to ColorTheme
     433    add     ax, ColorThemeTable
     434    xchg    si, ax
    453435    mov     di, ax
    454436
Note: See TracChangeset for help on using the changeset viewer.