A few days ago, I decided two things.
1. I am finally going to learn C
2. I am going to re-make Chip Arbitrary, and right this time
So I did so! I picked up my design papers for the Chip Arbitrary remake and made it real. The new programming language is entirely stack-based (Part of the challenge) and as of recently, fully turing complete. Lately I've been spending all my time learning Allegro 5 and using that to make this interface:
The little emulated machine has a total of something like160 bytes of RAM. Maximum would be about 64 KB, though.
What happened here was that some slapped together math problem solving code with a loop applied to it resulted in a stack overflow due to not popping the end result out of the stack after it's done. I just wanted to get the thing to tick, didn't bother writing a proper assembly program for it to run.
My goal with this is to eventually make a BASIC compiler & interpreter for this, To make retro games with it (Pong! Pong's the easiest.) and to port my VM to run on retro hardware such as: The Apple Plus, a Commodore 64, MS-DOS or the like. (Quite far out.)
Since it's written in cold, hard C and the resources for the VM can be changed entirely, I also think this could perhaps run on an Arduino, or multiple arduinos. The core most certainly can fit in a single ATMeta328 chip's RAM & Flash, and I could use TVout to generate a video signal output to a TV. If it's all too bit to fit (most likely), then perhaps by programming one arduino to receive pixel-changing commands while outputting a TV signal and the other to run the VM, get keyboard input from an old PS2 keyboard and update the pixels on arduino 2 then it could work. Not sure, though, Just an idea.
But wouldn't it be cool? Seems a little reminiscent of old DIY computers, Like the Apple Lisa or the Sinclair ZX80, except a lot more novel rather than useful.