From 6b2f0220fd8858b857b85a26550b76f935657c79 Mon Sep 17 00:00:00 2001
From: aaron <aaron@6dbc8c32-bb84-406f-8558-d1cf31a0ab0c>
Date: Wed, 17 May 2017 16:41:16 +0000
Subject: [PATCH] git-svn-id: https://spexeah.com:8443/svn/Asuro@73
 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

---
 src/drivers/isr32.pas | 8 ++++++++
 src/irq.pas           | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/src/drivers/isr32.pas b/src/drivers/isr32.pas
index 67bf74f2..4955e63e 100644
--- a/src/drivers/isr32.pas
+++ b/src/drivers/isr32.pas
@@ -36,6 +36,14 @@ end;
 
 procedure register();
 begin
+    asm
+    mov al, $36
+    out $46, al
+    mov ax, 1165
+    out $40, al
+    mov al, ah
+    out $40, al
+    end;
     IDT.set_gate(32, uint32(@Main), $08, ISR_RING_0);
 end;
 
diff --git a/src/irq.pas b/src/irq.pas
index b815853d..6fa4b521 100644
--- a/src/irq.pas
+++ b/src/irq.pas
@@ -28,8 +28,10 @@ begin
     outb($A1, $02);
     outb($21, $01);
     outb($A1, $01);
+
     outb($21, $00);
     outb($A1, $00);
+
     console.writestringln('IRQ: INIT END.');
 end;