From cec5ef31b3e383b7bdffe049a8c502a563f6b491 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 8 Mar 2021 23:49:07 -0800 Subject: update vocabulary documentation Top-level and linux/ now have separate vocabulary.md files. --- 400.mu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '400.mu') diff --git a/400.mu b/400.mu index 44d94213..c60f17ca 100644 --- a/400.mu +++ b/400.mu @@ -3,7 +3,7 @@ sig pixel-on-real-screen x: int, y: int, color: int sig draw-grapheme-on-real-screen g: grapheme, x: int, y: int, color: int, background-color: int sig cursor-position-on-real-screen -> _/eax: int, _/ecx: int sig set-cursor-position-on-real-screen x: int, y: int -sig show-cursor-on-real-screen g: grapheme +sig draw-cursor-on-real-screen g: grapheme # keyboard sig read-key kbd: (addr keyboard) -> _/eax: byte @@ -26,9 +26,9 @@ sig check-next-stream-line-equal f: (addr stream byte), s: (addr array byte), ms sig write f: (addr stream byte), s: (addr array byte) sig write-stream f: (addr stream byte), s: (addr stream byte) sig read-byte s: (addr stream byte) -> _/eax: byte -sig append-byte f: (addr stream byte), n: int +sig append-byte f: (addr stream byte), n: int # really just a byte, but I want to pass in literal numbers #sig to-hex-char in/eax: int -> out/eax: int -sig append-byte-hex f: (addr stream byte), n: int +sig append-byte-hex f: (addr stream byte), n: int # really just a byte, but I want to pass in literal numbers sig write-int32-hex f: (addr stream byte), n: int sig write-int32-hex-bits f: (addr stream byte), n: int, bits: int sig hex-int? in: (addr slice) -> _/eax: boolean -- cgit 1.4.1-2-gfad0