From fc1d491479abd74a1e038ad9ff7d4d330d79e4a8 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 9 Sep 2018 03:17:52 +0200 Subject: ioapic works! --- asm/asm_pic.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'asm/asm_pic.asm') diff --git a/asm/asm_pic.asm b/asm/asm_pic.asm index 8a90fdf..a665221 100644 --- a/asm/asm_pic.asm +++ b/asm/asm_pic.asm @@ -78,11 +78,12 @@ in al, 0xA1 ; read in the primary PIC Interrupt Mask Register (IMR) and al, 0x00 ; 0xEF => 11101111b. This sets the IRQ4 bit (Bit 5) in AL out 0xA1, al ; write the value back into IMR +;ret ;disable -;mov al, 0xff -;out 0xa1, al -;out 0x21, al +mov al, 0xff +out 0xa1, al +out 0x21, al ret -- cgit v1.2.3