Quoted from cfh:I don't know how much memory the Arduino has, but Pascal re-wrote about 20 gottlieb system80 games in his Arduino based CPU board. you just select the game you want from a menu. Me think this may be possible for this unit too...
if it was me, i would use the exact same 'core' for any game. Changing between games should be simple and occupy small space...
and Chalkey, i'm with ya. i don't shop on Amazon. it makes me feel dirty.
Here's the current state of the code:
Sketch uses 27174 bytes (88%) of program storage space. Maximum is 30720 bytes.
Global variables use 1333 bytes (65%) of dynamic memory, leaving 715 bytes for local variables. Maximum is 2048 bytes.
The Nano is tiny (and inexpensive, which is why I chose it), but with a larger board a person could write endless variations. One of my goals was to keep the whole project to less than $20.
If I exposed a few more controls to the menus, one could probably configure a pretty decent simulation of the original Stars in the same codebase as mine. All the code is out there if someone wants to run with that idea!
I'm not really excited to re-implement those old rules, but for some odd reason I'm tickled by the idea of having my machines "dual-boot". I found a tri-state line buffer in my stash of ICs, so I'm going to try the idea I outlined above. Right now, I have to open the head, flip a switch, and remove a connector. If this new plan works, I will be able to run a simple switch to the coin door.