···11+# gasim
22+33+A cross-platform simulator for the [GreenArrays,
44+Inc.](https://www.greenarraychips.com) [GA144 multi-computer
55+chip](https://www.greenarraychips.com/home/documents/index.php#GA144).
66+77+## Building
88+99+To build `gasim`, [zig 0.14.0](https://ziglang.org/download/) is required.
1010+1111+```bash
1212+zig build -Doptimize=ReleaseFast
1313+```
1414+1515+`gasim` executable will be available in `./zig-out/bin/gasim`.
1616+1717+## Usage
1818+1919+```bash
2020+gasim examples/hello.blk
2121+```
2222+2323+This will launch the simulator with node 708 executing instructions streamed in
2424+from `examples/hello.blk`.
2525+2626+## Prior Art
2727+2828+* GreenArrays own SOFTSIM available in their free [arrayForth
2929+distribution](https://www.greenarraychips.com/home/support/download-03d.php).
3030+Works well under wine.
3131+* [AshleyF/Color](https://github.com/AshleyF/Color) - A colorForth editor,
3232+assembler and F18 simulator written in F#.
3333+* [mschuldt/ga144-sim](https://github.com/mschuldt/ga144-sim) - GA144 simulator
3434+from the [alternative toolchain](https://github.com/mschuldt/ga-tools) written
3535+in Python.
3636+3737+## References
3838+3939+* Incredibly informative [blog
4040+series](https://github.com/AshleyF/Color/blob/master/Docs/chuck_moores_creations.md)
4141+by [AshleyF](https://github.com/AshleyF) that introduces the F18 architecture
4242+and instruction set.
4343+* GreenArrays own concise, but very informative
4444+[documentation](https://www.greenarraychips.com/home/documents/index.php) on
4545+the GA144 chip and F18 architecture.
4646+* [colorForth instruction
4747+set](https://mschuldt.github.io/www.colorforth.com/inst.htm)