gasim#
A cross-platform simulator for the GreenArrays, Inc. GA144 multi-computer chip.
Usage#
gasim examples/hello.node
Currently, this just launches the simulator with node 001's RAM and ROM loaded with the contents of the provided binary file.
The expected file format is 288 8-bit bytes, with the first 144 bytes containing the RAM contents and the next 144 bytes containing the ROM.
Download#
Download a static binary for your operating system.
If you have Nix installed, try nix run github:coat/gasim#.
Building#
To build gasim, zig 0.16.0-dev is required.
zig build -Doptimize=ReleaseFast
gasim will be available in ./zig-out/bin/gasim.
TODO#
- I/O
- ROM implementations
Prior Art#
- GreenArrays' own SOFTSIM available in their free arrayForth distribution. Works well under wine.
- AshleyF/Color - A colorForth editor, assembler and F18 simulator written in F#.
- mschuldt/ga144-sim - GA144 simulator from an alternative toolchain.
References#
- Incredibly informative blog series by AshleyF that introduces the F18 architecture and instruction set.
- GreenArrays' own concise, but very informative documentation on the GA144 chip and F18 architecture.
- colorForth instruction set