This is a fork of Pailstone (http://pailstone.eonz.net). Originally I just wanted to update Pailstone to the latest bukkit so all the circuits on my server would work again. It turned into a full-blown weekend project with the addition of a DCPU-16 (http://0x10c.com) circuit that loads assembly from a gist and supports memory-mapped I/O.
Status: mostly stable with a few critical bugs. I wouldn't recommend building anything big with it.
Sign formats:
:dcpu
<gist id>
<cpu name>
(where gist id is the numeric id of a gist with some dasm16, and cpu name is a unique name for this cpu)
:mmap
<cpu name>
<address:bit>
(where cpu name is the unique name for the cpu you're mapping to/from, and address:bit is the memory address and bit index you want to map: for example 0x8000:7)
Things I still want to do:
- fix the reload NPE so circuits don't have to be recreated all the time
- map the output of the :dcpu block itself to a bit in one of the registers
- clear mapped bits on startup/shutdown
- support loading from more than just gist (eg. pastebin, dcpubin, etc)
- have a configurable limit on the number of DCPU instances that can be created