diff options
-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): |