A cross-platform simulator for the GreenArrays GA144 multi-computer chip.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Zig 96.1%
Nix 3.3%
Shell 0.6%
36 1 0

Clone this repository

https://tangled.org/sadbeast.com/gasim https://tangled.org/did:plc:wi5mkv7h26ruiilukqeydm4r/gasim
git@tangled.org:sadbeast.com/gasim git@tangled.org:did:plc:wi5mkv7h26ruiilukqeydm4r/gasim

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

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#

References#