This commit is contained in:
Kartik K. Agaram 2021-07-16 06:13:51 -07:00
parent cd9a3fe3ad
commit ac45f09715
2 changed files with 5 additions and 5 deletions

8
img.mu
View File

@ -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

View File

@ -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):