I've been slowly working on a Game of Life solver for a solar powered propeller trinket of mine. The test code attached below runs on any Propeller and displays over the serial port. (112500 Baud) It'll simulate a 96x96 or 128x128 cell world pretty quickly. (showing the life field over the serial port is far slower than the solver)
My solver is based around a 3-bit by 32x parallel adder loop that adds up the number of neighboring live cells. It's pretty quick, in assembly it should only need 2-3 instructions per cell. Does anyone know a faster algorithm suitable for the Propeller and "small" life fields?
The solar powered trinket in the two pictures always runs on RCSLOW. (the two super-capacitors at the bottom will run it for 6-days on there own) I'd like to calculate the next life generation on less than 10 seconds, so I need to port the life solver to assembly. Right now, the array addressing required is kicking my butt. If someone else wants to take a crack at an assembly Life solver I'd be grateful.