2720d0ddff
Also handle more types of exceptions. *** First commit compatible with the C rewrite!! ***
25 lines
289 B
NASM
25 lines
289 B
NASM
; debug monitor vsync routine
|
|
|
|
monitor_vsync_handler:
|
|
add rsp, 4
|
|
push r0
|
|
push r1
|
|
push r2
|
|
push r3
|
|
push r4
|
|
push r5
|
|
push r6
|
|
push r7
|
|
|
|
call keyboard_update
|
|
|
|
pop r7
|
|
pop r6
|
|
pop r5
|
|
pop r4
|
|
pop r3
|
|
pop r2
|
|
pop r1
|
|
pop r0
|
|
reti
|