From 81df4702c424f91cca5570ab2554d1d4cbae534d Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 3 Mar 2021 22:43:17 -0500 Subject: 64kiB kernel area, ps/2 mouse support, signed decimals in knob format --- src/kernel/isrs.asm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/kernel/isrs.asm') 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 -- cgit v1.2.3