Changeset 605 in xtideuniversalbios for trunk/Assembly_Library


Ignore:
Timestamp:
May 8, 2021, 6:55:56 PM (3 years ago)
Author:
krille_n_
Message:

Changes:

  • The "Remove other hard drives" option in the Boot settings menu in XTIDECFG is now exposed in all BIOS builds. This is needed because the system BIOS in at least two Zenith computer models (Z-161 and Z-171) does not clear the BDA HD count which causes it to increment on warm boot. Running "Auto Configure" in XTIDECFG now also tries to identify these machines by doing a CRC check on the system BIOS and sets the option to YES if a match is found.
  • WORD_ALIGN is now 2 for XT builds. This should benefit XT class machines with 8086 and NEC V30 CPU:s and the cost is negligible (1 byte for the XT BIOS builds and 12 bytes for XTIDECFG.COM).
  • Other minor optimizations.
Location:
trunk/Assembly_Library
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/CMOS.inc

    r593 r605  
    3131; Almost all of the CMOS locations are vendor specific and
    3232; there is very little standardation
    33 HARD_DISK_TYPES                 EQU     12h     ; Windows 95 reads this to check if IDE drives
     33HARD_DISK_TYPES                 EQU     12h     ; Windows 9x reads this to check if IDE drives
    3434                                                ; are present so it should be safe to access this.
    3535                                                ; Bits 0...3 Hard Disk 1 type (Primary Slave)
  • trunk/Assembly_Library/Inc/Emulate.inc

    r596 r605  
    6060    %endif
    6161%else ; XT
    62     JUMP_ALIGN      EQU     1
    63     WORD_ALIGN      EQU     1
     62    JUMP_ALIGN      EQU     1   ; 2 is optimal for 8086 and NEC V30 CPUs but it's not worth the ROM space for most XT machines with 8088 or NEC V20 CPUs.
     63    WORD_ALIGN      EQU     2   ; The same applies here but the cost of ROM space is negligible.
    6464%endif
    6565
  • trunk/Assembly_Library/Src/Time/TimerTicks.asm

    r592 r605  
    203203;--------------------------------------------------------------------
    204204%ifdef EXCLUDE_FROM_XUB
    205     %ifndef MODULE_BOOT_MENU OR MODULE_HOTKEYS
     205    %ifndef MODULE_BOOT_MENU
    206206        %define EXCLUDE
    207207    %endif
Note: See TracChangeset for help on using the changeset viewer.