From 39100c30b7a16103e75187c9840a79c7df54f3da Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 20 Aug 2018 00:47:53 +0200 Subject: schicophrenic cleanup after realizing many fundamental desgin problems! --- asm/int_mouse_handler.asm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'asm/int_mouse_handler.asm') diff --git a/asm/int_mouse_handler.asm b/asm/int_mouse_handler.asm index 4e4882b..6872af0 100644 --- a/asm/int_mouse_handler.asm +++ b/asm/int_mouse_handler.asm @@ -2,18 +2,14 @@ global int_mouse_handler [extern mouse_handler] [bits 32] -int_mouse_handler: - - cli - pusha +int_mouse_handler: + pusha call mouse_handler mov al, 0x20 ;Port number AND command number to Acknowledge IRQ out 0xa0, al ; came from slave out 0x20, al ;Acknowledge IRQ, so we keep getting interrupts - popa - sti iret ;Interrupt-Return -- cgit v1.2.3