about summary refs log tree commit diff stats
path: root/baremetal
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-13 21:19:02 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-13 21:19:02 -0800
commit30e4df8172acae37608578efa6e259eeb74ddbba (patch)
treeb424975a4c0fbef5aed34d3b036ecae3a6992ba6 /baremetal
parent686307abe0efa3888bf68ae7843ccdbc5170dd4d (diff)
downloadmu-30e4df8172acae37608578efa6e259eeb74ddbba.tar.gz
7517
Diffstat (limited to 'baremetal')
-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)