aboutsummaryrefslogtreecommitdiff
path: root/include/06.keyboard/keyboard02.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/06.keyboard/keyboard02.c')
-rw-r--r--include/06.keyboard/keyboard02.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/06.keyboard/keyboard02.c b/include/06.keyboard/keyboard02.c
new file mode 100644
index 0000000..239c874
--- /dev/null
+++ b/include/06.keyboard/keyboard02.c
@@ -0,0 +1,7 @@
+#define PIC1_COMMAND_PORT 0x20
+#define PIC1_DATA_PORT 0x21
+#define PIC2_COMMAND_PORT 0xA0
+#define PIC2_DATA_PORT 0xA1
+// IO Ports for Keyboard
+#define KEYBOARD_DATA_PORT 0x60
+#define KEYBOARD_STATUS_PORT 0x64