diff options
Diffstat (limited to 'baremetal/400.mu')
-rw-r--r-- | baremetal/400.mu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/baremetal/400.mu b/baremetal/400.mu index 016204c5..f25e13a3 100644 --- a/baremetal/400.mu +++ b/baremetal/400.mu @@ -1,3 +1,8 @@ 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 write f: (addr stream byte), s: (addr array byte) +sig append-byte f: (addr stream byte), n: int +sig read-byte s: (addr stream byte) -> _/eax: byte +sig stream-empty? s: (addr stream _) -> _/eax: boolean |