about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--102keyboard.subx2
1 files changed, 2 insertions, 0 deletions
diff --git a/102keyboard.subx b/102keyboard.subx
index 39788075..f963baa2 100644
--- a/102keyboard.subx
+++ b/102keyboard.subx
@@ -24,6 +24,8 @@ read-key:  # kbd: (addr keyboard) -> result/eax: byte
     89/<- %ebp 4/r32/esp
     # . save registers
     51/push-ecx
+    # wait for an interrupt to save power on Qemu
+    f4/hlt
     # result = 0
     b8/copy-to-eax 0/imm32
     # ecx = keyboard
ew DeVault <sir@cmpwn.com> 2019-05-22 11:13:55 -0400 Implement opening tutorial after account wizard' href='/akspecs/aerc/commit/.gitignore?h=0.5.1&id=58bc15b4727c034f9ce656f7774d68ec2e7a3f55'>58bc15b ^
1
2
3
4
5
6
7
8
9