2022-01-27 07:21:21 +01:00
|
|
|
; vsync interrupt routine
|
|
|
|
|
|
|
|
system_vsync_handler:
|
2022-10-27 06:50:29 +02:00
|
|
|
add rsp, 4
|
2022-04-18 01:21:56 +02:00
|
|
|
push r0
|
|
|
|
push r1
|
|
|
|
push r2
|
|
|
|
push r3
|
|
|
|
push r4
|
|
|
|
push r5
|
|
|
|
push r6
|
|
|
|
push r7
|
|
|
|
|
2022-01-27 07:21:21 +01:00
|
|
|
call mouse_update
|
2022-04-18 01:21:56 +02:00
|
|
|
call keyboard_update
|
|
|
|
|
|
|
|
pop r7
|
|
|
|
pop r6
|
|
|
|
pop r5
|
|
|
|
pop r4
|
|
|
|
pop r3
|
|
|
|
pop r2
|
|
|
|
pop r1
|
|
|
|
pop r0
|
2022-01-27 07:21:21 +01:00
|
|
|
reti
|