about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-29 21:55:37 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-29 21:55:37 -0700
commitcd411f09014d6be1325955bd77bca8cffb1fa942 (patch)
tree1cf3a44dedadb11ccbf7b987a73a42554575cdfb
parent069a8df45c13e2d390211ddf9aebe09a34f2e510 (diff)
downloadmu-cd411f09014d6be1325955bd77bca8cffb1fa942.tar.gz
timer working in presence of null keyboard handler
-rw-r--r--timer.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/timer.subx b/timer.subx
index 31c42955..c7539de1 100644
--- a/timer.subx
+++ b/timer.subx
@@ -253,8 +253,8 @@ initialize_32bit_mode:
   # pin idt_descriptor below.
   0f 01 3/subop/lidt 0/mod/indirect 5/rm32/use-disp32 0x7f00/disp32/idt_descriptor
 
-  # enable timer IRQ0
-  b0/copy-to-al 0xfe/imm8  # disable mask for IRQ0
+  # enable timer IRQ0 and keyboard IRQ1
+  b0/copy-to-al 0xfc/imm8  # disable mask for IRQ0 and IRQ1
   e6/write-al-into-port 0x21/imm8
 
   fb/enable-interrupts