This commit is contained in:
Kartik K. Agaram 2021-08-13 06:16:03 -07:00
parent 4a3258f9d3
commit fb703575b0
1 changed files with 9 additions and 7 deletions

View File

@ -1,19 +1,21 @@
To try it out (on Linux; it's unusably slow on other platforms):
To try it out:
1. Import a Slack archive into the data disk by following the instructions at
the top of `browse-slack/convert_slack.py`.
There's also a test disk image you can try out by running:
1. Import a tiny test Slack archive into the data disk by running:
```
tools/image-data 10 < browse-slack/test_data
```
2. Build the code disk.
2. Build the code disk (on Linux; see the top-level Readme for other platforms)
```
./translate browse-slack/*.mu
```
3. Run the code and data disks:
```
qemu-system-i386 -accel kvm -m 2G -hda code.img -hdb path/to/data.img
qemu-system-i386 -m 2G -hda code.img -hdb path/to/data.img
```
You should now see some text and images in Qemu. For a real Slack archive,
follow the instructions at the top of `browse-slack/convert_slack.py`. You'll
also want to tweak the `sector-count` in browse-slack/main.mu which affects
the number of sectors read from the data disk.