Ignore:
Timestamp:
Nov 21, 2021, 2:15:32 PM (6 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/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm

    r567 r621  
    137137;--------------------------------------------------------------------
    138138; Iteration routines for FindDPT_MasterOrSingleForIdevarsOffsetInDL and
    139 ; FindDPT_SlaveForIdevarsOffsetInDL, for use with IterateAllDPTs
     139; FindDPT_SlaveForIdevarsOffsetInDL, for use with FindDPT_IterateAllDPTs
    140140;
    141141; Returns when DPT is found on the controller with Idevars offset in DL
     
    152152IterateFindSecondDPTforIdevars:
    153153    call    IterateFindFirstDPTforIdevars
    154     jc      SHORT .WrongController
     154    jc      SHORT WrongController
    155155    mov     si, IterateFindFirstDPTforIdevars
    156 .WrongController:
     156SetCFandReturn:
    157157    stc
     158WrongController:
    158159    ret
    159160
    160161IterateFindFirstDPTforIdevars:
    161162    cmp     dl, [di+DPT.bIdevarsOffset]         ; Clears CF if matched
    162     je      .Done
    163     stc                                         ; Set CF for not found
    164 .Done:
     163    jne     SHORT SetCFandReturn
    165164    ret
    166165
     
    221220;               Set if DPT not found, or no DPTs present
    222221;   Corrupts registers:
    223 ;       SI
     222;       BL, SI
    224223;--------------------------------------------------------------------
    225224%ifdef MODULE_SERIAL
     
    315314    loop    .LoopWhileDPTsLeft
    316315
    317 ALIGN JUMP_ALIGN
    318316.NotFound:
    319317    stc
Note: See TracChangeset for help on using the changeset viewer.