about summary refs log tree commit diff stats
path: root/boot.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-28 08:32:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-28 08:32:48 -0700
commitcfe4fea124f26d9f3ed919cea123700755440879 (patch)
tree1701aade60c1da9b03c0e6f8392322c8525fbac4 /boot.subx
parenta3a7ffe4da72a27954b25d385ceec28714719377 (diff)
downloadmu-cfe4fea124f26d9f3ed919cea123700755440879.tar.gz
.
Diffstat (limited to 'boot.subx')
-rw-r--r--boot.subx2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.subx b/boot.subx
index 06a9a426..5b98a110 100644
--- a/boot.subx
+++ b/boot.subx
@@ -339,6 +339,7 @@ keyboard-interrupt-handler:
   # prologue
   fa/disable-interrupts
   60/push-all-registers
+  9c/push-flags
   # acknowledge interrupt
   b0/copy-to-al 0x20/imm8
   e6/write-al-into-port 0x20/imm8
@@ -450,6 +451,7 @@ $keyboard-interrupt-handler:select-map-done:
   }
 $keyboard-interrupt-handler:epilogue:
   # epilogue
+  9d/pop-flags
   61/pop-all-registers
   fb/enable-interrupts
   cf/return-from-interrupt