From 9dabe01545644dd78448d8d489616872f14d964b Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 9 Sep 2018 00:26:30 +0200 Subject: lapic bus speed probing and starting switch to ioapic --- asm/asm_pic.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'asm/asm_pic.asm') diff --git a/asm/asm_pic.asm b/asm/asm_pic.asm index 2514be7..8a90fdf 100644 --- a/asm/asm_pic.asm +++ b/asm/asm_pic.asm @@ -78,6 +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 +;disable + +;mov al, 0xff +;out 0xa1, al +;out 0x21, al + ret ;;;;;;;;;;;;;;;;;;;; -- cgit v1.2.3