Changeset 605 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


Ignore:
Timestamp:
May 8, 2021, 6:55:56 PM (4 years ago)
Author:
Krister Nordvall
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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm

    r604 r605  
    9797    ;call   HotkeyBar_UpdateDuringDriveDetection
    9898
     99    push    ds
     100    push    es
     101    pop     ds
     102
    99103.WaitUntilTimeToCloseHotkeyBar:
    100     call    TimerTicks_ReadFromBdaToAX
    101     sub     ax, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeWhenDisplayed]
     104    mov     ax, [BDA.dwTimerTicks]
     105    sub     ax, [BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeWhenDisplayed]
    102106    cmp     ax, MIN_TIME_TO_DISPLAY_HOTKEY_BAR
    103107    jb      SHORT .WaitUntilTimeToCloseHotkeyBar
     
    105109    ; Restore system timer tick handler since hotkeys are no longer needed
    106110    cli
    107     mov     ax, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler]
    108     mov     [es:BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4], ax
    109     mov     ax, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler+2]
    110     mov     [es:BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4+2], ax
     111    mov     ax, [BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler]
     112    mov     [BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4], ax
     113    mov     ax, [BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler+2]
     114    mov     [BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4+2], ax
    111115    sti
     116
     117    pop     ds
    112118%endif
    113119    ; Fall to .ResetAllDrives
Note: See TracChangeset for help on using the changeset viewer.