From f6fd7e1be0780b5b6dee042bef1c4f0264069787 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 13 Jan 2021 00:08:31 -0800 Subject: 7509 --- html/baremetal/400.mu.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'html/baremetal/400.mu.html') diff --git a/html/baremetal/400.mu.html b/html/baremetal/400.mu.html index 715c8d09..95835ad8 100644 --- a/html/baremetal/400.mu.html +++ b/html/baremetal/400.mu.html @@ -14,9 +14,9 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background- body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } +.PreProc { color: #c000c0; } .LineNr { } .Constant { color: #008787; } -.PreProc { color: #c000c0; } --> @@ -52,14 +52,17 @@ if ('onhashchange' in window) { https://github.com/akkartik/mu/blob/main/baremetal/400.mu
-1 sig pixel screen: (addr screen), x: int, y: int, color: int
-2 sig read-key kbd: (addr keyboard) -> _/eax: byte
-3 sig draw-grapheme screen: (addr screen), g: grapheme, x: int, y: int, color: int
-4 
-5 sig write f: (addr stream byte), s: (addr array byte)
-6 sig append-byte f: (addr stream byte), n: int
-7 sig read-byte s: (addr stream byte) -> _/eax: byte
-8 sig stream-empty? s: (addr stream _) -> _/eax: boolean
+ 1 sig pixel screen: (addr screen), x: int, y: int, color: int
+ 2 sig read-key kbd: (addr keyboard) -> _/eax: byte
+ 3 sig draw-grapheme screen: (addr screen), g: grapheme, x: int, y: int, color: int
+ 4 sig cursor-position screen: (addr screen) -> _/eax: int, _/ecx: int
+ 5 sig set-cursor-position screen: (addr screen), x: int, y: int
+ 6 sig clear-stream f: (addr stream _)
+ 7 sig rewind-stream f: (addr stream _)
+ 8 sig write f: (addr stream byte), s: (addr array byte)
+ 9 sig append-byte f: (addr stream byte), n: int
+10 sig read-byte s: (addr stream byte) -> _/eax: byte
+11 sig stream-empty? s: (addr stream _) -> _/eax: boolean
 
-- cgit 1.4.1-2-gfad0