about summary refs log tree commit diff stats
path: root/tutorial
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-30 12:09:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-30 12:09:50 -0700
commita69248b284be8a8cf8657455aa1b3b726aacb6d9 (patch)
treec1701c6fb930bb5444532ceaa76310535bedecaa /tutorial
parentaab93d7538fe9835739fd3dc35c6a7af09820ed9 (diff)
downloadmu-a69248b284be8a8cf8657455aa1b3b726aacb6d9.tar.gz
more comments from sejo <3
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/index.md13
-rw-r--r--tutorial/task13.mu5
2 files changed, 7 insertions, 11 deletions
diff --git a/tutorial/index.md b/tutorial/index.md
index 72bcf00f..0b24f5ac 100644
--- a/tutorial/index.md
+++ b/tutorial/index.md
@@ -477,15 +477,15 @@ Modify the rectangle to start at the top-left corner on screen. How about
 other corners?
 
 Notice the `screen` variable. The `main` function always has access to a
-`screen` variable, and any function wanting to draw screen will need this
-variable. Later you'll learn to create and pass _fake screens_ within
+`screen` variable, and any function wanting to draw to the screen will need
+this variable. Later you'll learn to create and pass _fake screens_ within
 automated tests, so that we can maintain confidence that our graphics
 functions work as expected.
 
 The &ldquo;real&rdquo; screen on a Mu computer is sized to 1024 (0x400) pixels
-wide and 768 (0x300) pixels tall by default. Each pixel can take on 256
-colors. Many other screen configurations are possible, but it'll be up to you
-to learn how to get to them.
+wide and 768 (0x300) pixels tall by default. Each pixel can take on [256 colors](http://akkartik.github.io/mu/html/vga_palette.html).
+Many other screen configurations are possible, but it'll be up to you to learn
+how to get to them.
 
 Graphics in Mu often involve literal integer constants. To help remember what
 they mean, you can attach _comment tokens_ -- any string without whitespace --
@@ -499,7 +499,8 @@ optional in Mu, and it can be handy to drop them selectively to group
 arguments together.
 
 This is a good time to skim [Mu's vocabulary of functions for pixel graphics](https://github.com/akkartik/mu/blob/main/vocabulary.md#pixel-graphics).
-They're fun to play with.
+They're fun to play with. Once you want to use a specific function, look for
+details on the arguments it expects in `signatures.mu`.
 
 ## Task 13: reading input from keyboard
 
diff --git a/tutorial/task13.mu b/tutorial/task13.mu
deleted file mode 100644
index 9a4bc7f2..00000000
--- a/tutorial/task13.mu
+++ /dev/null
@@ -1,5 +0,0 @@
-fn main screen: (addr screen), keyboard: (addr keyboard) {
-  var in-storage: (stream byte 0x80)
-  var in/esi: (addr stream byte) <- address in-storage
-  read-line-from-keyboard keyboard, in, screen, 0xf/fg 0/bg
-}