Add default exception handler for page fault writes
This commit is contained in:
parent
e70e5c37ea
commit
f10b1d5635
5
main.asm
5
main.asm
|
@ -39,9 +39,12 @@ entry_seed_done:
|
|||
; set the interrupt vector for interrupt 0xFF - vsync
|
||||
mov [0x000003FC], system_vsync_handler
|
||||
|
||||
; set the exception vector for exception 0x02 - page fault
|
||||
; set the exception vector for exception 0x02 - page fault read
|
||||
mov [0x00000408], system_page_fault_handler
|
||||
|
||||
; set the exception vector for exception 0x03 - page fault write
|
||||
mov [0x0000040C], system_page_fault_handler
|
||||
|
||||
; enable interrupts
|
||||
ise
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user