Changeset 621 in xtideuniversalbios for trunk/Assembly_Library/Src/Util/Memory.asm


Ignore:
Timestamp:
Nov 21, 2021, 2:15:32 PM (9 months 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/Assembly_Library/Src/Util/Memory.asm

    r602 r621  
    160160ALIGN JUMP_ALIGN
    161161Memory_SumCXbytesFromESSItoAL:
    162     push    si
    163     dec     si
     162    add     si, cx
    164163    xor     al, al
    165164ALIGN JUMP_ALIGN
    166165.AddNextByteToAL:
    167     inc     si
     166    dec     si
    168167    add     al, [es:si]
    169168    loop    .AddNextByteToAL
    170     pop     si
    171169    ret
    172170%endif
Note: See TracChangeset for help on using the changeset viewer.