Changeset 621 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc


Ignore:
Timestamp:
Nov 21, 2021, 2:15:32 PM (3 years ago)
Author:
Krister Nordvall
Message:

Changes:

  • Fixed three different bugs all causing the boot menu to show drives using IRQs even though the BIOS had been built without MODULE_IRQ.
  • Fixed two bugs in XTIDECFG where loading a BIOS from file and then loading the old settings from EEPROM would
    • overwrite ROMVARS.wFlags in the loaded BIOS file (in RAM). The possibly resulting mismatch of module flags could make it impossible to change settings for modules included in the BIOS or allow changing settings for modules not included in the BIOS.
    • not copy the color theme over to the loaded BIOS.
  • Also fixed two very minor bugs in XTIDECFG in BiosFile_LoadFileFromDSSItoRamBuffer and BiosFile_SaveRamBufferToFileInDSSI where the error handling in these routines would close whatever file handle that happened to match the error code returned by DOS in AX.
  • Made significant changes to the new flash ROM programming routines to reduce the size. Also fixed a minor bug that would cause the second verification to be skipped and return success when programming a 64 KB block of data.
  • Changed the custom BIOS build file names to the 8.3 format.
  • Changed some help strings in XTIDECFG to clarify things.
  • Other minor optimizations and fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc

    r620 r621  
    2222
    2323; Equates and defines
    24 BOOT_MENU_DEFAULT_TIMEOUT               EQU     (TICKS_PER_MINUTE / 2)
    25 MAX_ALLOWED_IDE_CONTROLLERS             EQU     4       ; Maximum number of IDE controllers
    26 MAX_LITE_MODE_CONTROLLERS               EQU     2
    27 EEPROM_POLLING_TIMEOUT_TICKS            EQU     3       ; 1 tick = 54.9 ms
    28 XTIDE_SIGNATURE_LENGTH                  EQU     6       ; XTIDE Universal BIOS signature string length (must be even)
    29 NUMBER_OF_EEPROM_TYPES                  EQU     5
    30 MAX_EEPROM_SIZE_IN_BYTES                EQU     65536
    31 SST_PAGE_SIZE_SHIFT                     EQU     12      ; Minimum we can erase is a 4K sector.
    32 SST_PAGE_SIZE                           EQU     (1 << SST_PAGE_SIZE_SHIFT) 
     24BOOT_MENU_DEFAULT_TIMEOUT           EQU     (TICKS_PER_MINUTE / 2)
     25MAX_ALLOWED_IDE_CONTROLLERS         EQU     4       ; Maximum number of IDE controllers
     26MAX_LITE_MODE_CONTROLLERS           EQU     2
     27EEPROM_POLLING_TIMEOUT_TICKS        EQU     3       ; 1 tick = 54.9 ms
     28XTIDE_SIGNATURE_LENGTH              EQU     6       ; XTIDE Universal BIOS signature string length (must be even)
     29NUMBER_OF_EEPROM_TYPES              EQU     5
     30MAX_EEPROM_SIZE_IN_BYTES            EQU     65536
     31SST_PAGE_SIZE_SHIFT                 EQU     12      ; Minimum we can erase is a 4K sector.
     32SST_PAGE_SIZE                       EQU     (1 << SST_PAGE_SIZE_SHIFT)
    3333
    3434; Program global variables
     
    9898
    9999    .wProgressUpdateParam       resb    2
    100     .wTimeoutCounter            resb    2   ; On SSI, this is timeout cal
     100    .wTimeoutCounter            resb    2
    101101    .wLastOffsetWritten         resb    2
    102102    .bLastByteWritten           resb    1
Note: See TracChangeset for help on using the changeset viewer.