about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--baremetal/400.mu7
1 files changed, 6 insertions, 1 deletions
diff --git a/baremetal/400.mu b/baremetal/400.mu
index dd494ecf..0f345e01 100644
--- a/baremetal/400.mu
+++ b/baremetal/400.mu
@@ -1,8 +1,13 @@
+# screen
 sig pixel screen: (addr screen), x: int, y: int, color: int
-sig read-key kbd: (addr keyboard) -> _/eax: byte
 sig draw-grapheme screen: (addr screen), g: grapheme, x: int, y: int, color: int
 sig cursor-position screen: (addr screen) -> _/eax: int, _/ecx: int
 sig set-cursor-position screen: (addr screen), x: int, y: int
+
+# keyboard
+sig read-key kbd: (addr keyboard) -> _/eax: byte
+
+# streams
 sig clear-stream f: (addr stream _)
 sig rewind-stream f: (addr stream _)
 sig write f: (addr stream byte), s: (addr array byte)