Changeset 621 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


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/Src/Initialization/Interrupts.asm

    r599 r621  
    203203;--------------------------------------------------------------------
    204204Interrupts_UnmaskInterruptControllerForDriveInDSDI:
    205     eMOVZX  bx, [di+DPT.bIdevarsOffset]
     205    eMOVZX  bx, [di+DPT.bIdevarsOffset]     ; Clears CF on pre-386 CPUs
     206%ifndef USE_386
     207%ifdef USE_UNDOC_INTEL
     208    salc
     209    or      al, [cs:bx+IDEVARS.bIRQ]
     210%else
    206211    mov     al, [cs:bx+IDEVARS.bIRQ]
    207212    test    al, al
     213%endif
     214%else ; USE_386
     215    mov     al, [cs:bx+IDEVARS.bIRQ]
     216    test    al, al
     217%endif
    208218    jz      SHORT .Return   ; Interrupts disabled
    209219    cmp     al, 8
Note: See TracChangeset for help on using the changeset viewer.