mu/browse-slack/README.md

22 lines
659 B
Markdown
Raw Permalink Normal View History

2021-08-13 13:16:03 +00:00
To try it out:
2021-08-08 18:15:22 +00:00
2021-08-13 13:16:03 +00:00
1. Import a tiny test Slack archive into the data disk by running:
2021-08-12 18:25:37 +00:00
```
tools/image-data 10 < browse-slack/test_data
```
2021-08-08 18:15:22 +00:00
2021-08-13 13:16:03 +00:00
2. Build the code disk (on Linux; see the top-level Readme for other platforms)
2021-08-12 18:25:37 +00:00
```
./translate browse-slack/*.mu
```
2021-08-08 18:15:22 +00:00
3. Run the code and data disks:
2021-08-12 18:25:37 +00:00
```
2021-08-13 13:16:03 +00:00
qemu-system-i386 -m 2G -hda code.img -hdb path/to/data.img
2021-08-12 18:25:37 +00:00
```
2021-08-13 13:16:03 +00:00
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.