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 /img.mu | |
parent | cd9a3fe3ad0253c0c486f740c0ea2f52367a269b (diff) | |
download | mu-ac45f097153afd3a89f43886e4124c5b2c26b98a.tar.gz |
.
Diffstat (limited to 'img.mu')
-rw-r--r-- | img.mu | 8 |
1 files changed, 4 insertions, 4 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 |