From 487828bd12e24c92002b6bf1f96b8fdb1506c110 Mon Sep 17 00:00:00 2001 From: Gautham Ganapathy Date: Sun, 29 Oct 2023 15:36:27 +0000 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 82f1f15..4c04899 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,14 @@ This is a Haskell implementation of an emulator for the Tesselated Intelligence The emulation is not quite complete since it does not yet support the ANY and LAST ports but everything else should work (🤞). +To run one of the examples: +```sh +stack run tissim -- examples/segment00150/segment00150.asm -c examples/segment00150/segment00150.cfg +``` + +To run tests: +```sh +stack test +``` + Thanks to [Derek Anderson](https://github.com/Phlarx) for the layout and I/O format spec and [Clara Schaertl Short et al](https://github.com/kk4ead) for the [best practices document](https://kk4ead.github.io/tis-100/).