diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-16 06:13:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-16 06:13:51 -0700 |
commit | ac45f097153afd3a89f43886e4124c5b2c26b98a (patch) | |
tree | 42a4e0b82f4301273f0abb0251b30c6473287bae | |
parent | cd9a3fe3ad0253c0c486f740c0ea2f52367a269b (diff) | |
download | mu-ac45f097153afd3a89f43886e4124c5b2c26b98a.tar.gz |
.
-rw-r--r-- | img.mu | 8 | ||||
-rw-r--r-- | shell/README.md | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/img.mu b/img.mu index f55c4824..8177ae6b 100644 --- a/img.mu +++ b/img.mu @@ -2,13 +2,13 @@ # # To build: # $ ./translate img.mu # generates code.img -# Load a pbm, pgm or ppm image (no more than 255 levels) +# Load a pbm, pgm or ppm image (no more than 255 levels) in the data disk # $ dd if=/dev/zero of=data.img count=20160 -# $ cat x.pbm |dd of=data.img conv=notrunc +# $ dd if=x.pbm of=data.img conv=notrunc # or -# $ cat t.pgm |dd of=data.img conv=notrunc +# $ dd if=t.pgm of=data.img conv=notrunc # or -# $ cat snail.ppm |dd of=data.img conv=notrunc +# $ dd if=snail.ppm of=data.img conv=notrunc # To run: # $ qemu-system-i386 -hda code.img -hdb data.img diff --git a/shell/README.md b/shell/README.md index 920e6aec..2843d0f1 100644 --- a/shell/README.md +++ b/shell/README.md @@ -19,7 +19,7 @@ Currently runs a tiny dialect of Lisp. Steps to run it from the top-level: ```sh dd if=/dev/zero of=data.img count=20160 - cat shell/data.limg |dd of=data.img conv=notrunc + dd if=shell/data.limg of=data.img conv=notrunc ``` Run with data disk (and 2GB of RAM): |