Changeset 604 in xtideuniversalbios
- Timestamp:
- Dec 15, 2020, 10:17:38 PM (4 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r603 r604 106 106 cli 107 107 mov ax, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler] 108 mov [es:BIOS_ USER_TIMER_TICK_INTERRUPT_1Ch*4], ax108 mov [es:BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4], ax 109 109 mov ax, [es:BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler+2] 110 mov [es:BIOS_ USER_TIMER_TICK_INTERRUPT_1Ch*4+2], ax110 mov [es:BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4+2], ax 111 111 sti 112 112 %endif -
trunk/XTIDE_Universal_BIOS/Src/Menus/HotkeyBar.asm
r603 r604 23 23 24 24 ;-------------------------------------------------------------------- 25 ; Handler for INT 1Ch UserTimer Tick.25 ; Handler for INT 08h System Timer Tick. 26 26 ; Reads key presses and draws hotkey bar. 27 27 ; … … 40 40 push ax 41 41 %endif 42 43 ;!!! Keep interrupts disabled so there won't be another44 ; timer tick call before we are ready45 46 42 LOAD_BDA_SEGMENT_TO es, ax 47 43 … … 123 119 124 120 ; Move cursor to top left corner (0, 0) 125 xor ax, ax121 mov ax, es 126 122 call HotkeyBar_SetCursorCoordinatesFromAX 127 123 ; Fall to .PrintFloppyDriveHotkeys … … 265 261 ; FormatDriveHotkeyString 266 262 ; Parameters: 267 ; CH: 268 ; CL: 269 ; AL: 270 ; AH: 271 ; SI: 272 ; ES: 263 ; CH: Zero if letter in CL is selected for boot 264 ; CL: Drive letter hotkey from BOOTVARS 265 ; AL: First character for drive key string 266 ; AH: Second character for drive key string (ANGLE_QUOTE_RIGHT) 267 ; SI: Offset to hotkey description string 268 ; ES: BDA segment (zero) 273 269 ; Returns: 274 270 ; Nothing … … 292 288 ; FormatFunctionHotkeyString 293 289 ; Parameters: 294 ; AL: 295 ; 296 ; AH: 297 ; SI: 298 ; ES: 290 ; AL: Scancode of function key, to know which if any to show as selected 291 ; Later replaced with an 'F' for the call to the output routine 292 ; AH: Second character for drive key string 293 ; SI: Offset to hotkey description string 294 ; ES: BDA segment (zero) 299 295 ; Returns: 300 296 ; Nothing … … 350 346 ; PushHotkeyParamsAndFormat 351 347 ; Parameters: 352 ; AL: 353 ; AH: 354 ; DX: 355 ; CX: 356 ; CS:DI: 348 ; AL: First character 349 ; AH: Second character 350 ; DX: Description Attribute 351 ; CX: Description string parameter 352 ; CS:DI: Description string 357 353 ; Returns: 358 354 ; Nothing … … 413 409 pop ds 414 410 415 ; Store system 1ChTimer Tick handler and install our hotkeybar handler416 mov ax, [BIOS_ USER_TIMER_TICK_INTERRUPT_1Ch*4]411 ; Store System Timer Tick handler and install our hotkeybar handler 412 mov ax, [BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4] 417 413 mov [BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler], ax 418 mov ax, [BIOS_ USER_TIMER_TICK_INTERRUPT_1Ch*4+2]414 mov ax, [BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h*4+2] 419 415 mov [BOOTVARS.hotkeyVars+HOTKEYVARS.fpPrevTimerHandler+2], ax 420 mov al, BIOS_ USER_TIMER_TICK_INTERRUPT_1Ch416 mov al, BIOS_SYSTEM_TIMER_TICK_INTERRUPT_08h 421 417 mov si, HotkeyBar_TimerTickHandler 422 418 call Interrupts_InstallHandlerToVectorInALFromCSSI … … 424 420 ; Store time when hotkeybar is displayed 425 421 ; (it will be displayed after initialization is complete) 426 call TimerTicks_ReadFromBdaToAX422 mov ax, [BDA.dwTimerTicks] 427 423 mov [BOOTVARS.hotkeyVars+HOTKEYVARS.wTimeWhenDisplayed], ax 428 424
Note:
See TracChangeset
for help on using the changeset viewer.