diff options
Diffstat (limited to 'src/kernel/isrs.asm')
-rw-r--r-- | src/kernel/isrs.asm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/kernel/isrs.asm b/src/kernel/isrs.asm index 1aba884..70bab19 100644 --- a/src/kernel/isrs.asm +++ b/src/kernel/isrs.asm @@ -5,6 +5,7 @@ global quit_isr global yield_isr global _start_user_mode global kbd_isr +global mouse_isr global udf_isr global dfa_isr @@ -133,6 +134,22 @@ _start_user_mode: sub esp, 4 jmp yield_isr.return_to_task +mouse_isr: + push eax + push ecx + push edx + + call on_kbd_isr + + mov al, 0x20 + out 0x00a0, al + out 0x0020, al + + pop edx + pop ecx + pop eax + iret + kbd_isr: push eax push ecx |