Ignore:
Timestamp:
Nov 21, 2021, 2:15:32 PM (2 years ago)
Author:
krille_n_
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/Src/AutoConfigure.asm

    r614 r621  
    118118    xor     dh, al
    119119    mov     bl, dh
    120     rol     bx, 1
    121     rol     bx, 1
    122     rol     bx, 1
    123     rol     bx, 1
     120%ifdef USE_186
     121    rol     bx, 4
     122%else
     123    rol     bx, 1
     124    rol     bx, 1
     125    rol     bx, 1
     126    rol     bx, 1
     127%endif
    124128    xor     dx, bx
    125129    rol     bx, 1
    126130    xchg    dh, dl
    127131    xor     dx, bx
    128     ror     bx, 1
    129     ror     bx, 1
    130     ror     bx, 1
    131     ror     bx, 1
     132%ifdef USE_186
     133    ror     bx, 4
     134%else
     135    ror     bx, 1
     136    ror     bx, 1
     137    ror     bx, 1
     138    ror     bx, 1
     139%endif
    132140    and     bl, ah
    133141    xor     dx, bx
     
    156164    inc     ch          ; Hours changed?
    157165    jz      SHORT .ThisIsNotAnOlivettiM24
    158     mov     BYTE [cs:IsOlivettiM24], 1
     166    mov     BYTE [cs:bIsOlivettiM24], 1
    159167.ThisIsNotAnOlivettiM24:
    160168    ret
    161169
    162 IsOlivettiM24:
     170bIsOlivettiM24:
    163171    db      0
    164172
     
    249257EnableInterruptsForAllStandardControllers:
    250258    jcxz    .NoControllersDetected
     259    test    BYTE [ROMVARS.wFlags+1], FLG_ROMVARS_MODULE_IRQ >> 8
     260    jz      SHORT .NoModuleIrq
    251261    call    Buffers_IsXTbuildLoaded
    252262    je      SHORT .DoNotEnableIRQforXTbuilds
     
    285295    pop     di
    286296.DoNotEnableIRQforXTbuilds:
     297.NoModuleIrq:
    287298.NoControllersDetected:
    288299    ret
Note: See TracChangeset for help on using the changeset viewer.