summaryrefslogtreecommitdiff
path: root/asm/int_mouse_handler.asm
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-08-20 00:47:53 +0200
committerMiguel <m.i@gmx.at>2018-08-20 00:47:53 +0200
commit39100c30b7a16103e75187c9840a79c7df54f3da (patch)
treeea54cd41375e3cc38a291dfff47abffbdb468a7e /asm/int_mouse_handler.asm
parentdc5b5d1e5cf82b06fe97ffc8c9374c055e12a748 (diff)
schicophrenic cleanup after realizing many fundamental desgin problems!
Diffstat (limited to 'asm/int_mouse_handler.asm')
-rw-r--r--asm/int_mouse_handler.asm8
1 files changed, 2 insertions, 6 deletions
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