This commit is contained in:
2025-04-30 23:03:44 -07:00
parent a464e109cb
commit ecfa54e225
30 changed files with 584 additions and 1191 deletions

30
kernel/isr.asm Normal file
View File

@@ -0,0 +1,30 @@
; isr.asm
[BITS 32]
[GLOBAL isr0, isr13, isr_default]
isr0:
cli
push byte 0
push byte 0
call isr_handler
add esp, 8
sti
iret
isr13:
cli
push byte 13
push byte 0
call isr_handler
add esp, 8
sti
iret
isr_default:
cli
push byte 255
push byte 0
call isr_handler
add esp, 8
sti
iret