Skip to content

krawthekrow/simd16s-assembler

Repository files navigation

Assembler for the upcoming SIMD16S (an SIMD unit made in The Powder Toy). Still under development and very unstable.

Access SIMD16S here. I have yet to make a controller for it, so it can only process GPU operations now.

See arch_docs.txt for sketchy details on the SIMD16S architecture (along with a lot of other future plans). See gpuTest.asm for an example of what code is presently supported by the assembler. That's the code used for the demo in the Powder Toy demo save.

To use:

  1. Install node.
  2. node assembler.js asm-file > bin-file, where asm-file is the assembly code and bin-file is the file to output the machine code to. So, for example, node assembler.js gpuTest.asm > gpuTest.bin.
  3. Use loadProgram.lua to load a program into the RAM. Enter loadfile('loadProgram.lua')(x, y, filename) into the Lua console, where (x, y) are the coordinates of the top-left corner of the RAM block, and filename is the name of the machine code file. So, for example, loadfile('loadProgram.lua')(71, 112, 'gpuTest.bin')
  4. Don't complain about my using Javascript.

About

Assembler for the Powder Toy graphical SIMD unit, SIMD16S.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published