Changeset 605 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- May 8, 2021, 6:55:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r604 r605 97 97 ;call HotkeyBar_UpdateDuringDriveDetection 98 98 99 push ds 100 push es 101 pop ds 102 99 103 .WaitUntilTimeToCloseHotkeyBar: 100 call TimerTicks_ReadFromBdaToAX101 sub ax, [ es:BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeWhenDisplayed]104 mov ax, [BDA.dwTimerTicks] 105 sub ax, [BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeWhenDisplayed] 102 106 cmp ax, MIN_TIME_TO_DISPLAY_HOTKEY_BAR 103 107 jb SHORT .WaitUntilTimeToCloseHotkeyBar … … 105 109 ; Restore system timer tick handler since hotkeys are no longer needed 106 110 cli 107 mov ax, [ es:BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler]108 mov [ es:BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4], ax109 mov ax, [ es:BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler+2]110 mov [ es:BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4+2], ax111 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 111 115 sti 116 117 pop ds 112 118 %endif 113 119 ; Fall to .ResetAllDrives
Note:
See TracChangeset
for help on using the changeset viewer.