mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-13 21:25:07 -07:00
new OS
This commit is contained in:
30
kernel/isr.asm
Normal file
30
kernel/isr.asm
Normal 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
|
Reference in New Issue
Block a user