Deviant Login Shop  Join deviantART for FREE Take the Tour
About Deviant Member ReMale/United States Recent Activity
Deviant for 4 Years
Needs Premium Membership
Statistics 453 Deviations 5,451 Comments 9,874 Pageviews

Favourites

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. :P 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. :P

AdCast - Ads from the Community

×

Comments


Add a Comment:
 
:iconsilvasnooze85:
Silvasnooze85 Featured By Owner Jun 11, 2014
Just a watcher x3
Reply
:iconr3create:
R3Create Featured By Owner Jun 11, 2014
oh OK x3
Reply
:iconsilvasnooze85:
Silvasnooze85 Featured By Owner Jun 12, 2014
hai there :3
Reply
:iconr3create:
R3Create Featured By Owner Jun 18, 2014
Hi! who's this? x3 Sorry for the late reply, I was traveling
Reply
:iconparanoidnightmares:
ParanoidNightmares Featured By Owner May 25, 2014  Student Traditional Artist
Yo. Its me :3
Reply
:iconr3create:
R3Create Featured By Owner May 27, 2014
Ohai. X3
Reply
:iconroyflame25:
Royflame25 Featured By Owner Jan 23, 2014  Student Artist
happy birthday! :3
Reply
:iconr3create:
R3Create Featured By Owner Jan 23, 2014
Thanks ^^
Reply
:iconroyflame25:
Royflame25 Featured By Owner Jan 23, 2014  Student Artist
np^^
Reply
:iconsentinentcodex:
Sentinentcodex Featured By Owner Dec 12, 2013  Hobbyist Filmographer
Hey R3create, I'm TinFoilHats from the HP! forums. Can I add you to my watch?
Reply
:iconr3create:
R3Create Featured By Owner Dec 12, 2013
Yes sure. ^^ *hugs* nice to meet you!
Reply
:iconroyflame25:
Royflame25 Featured By Owner Nov 20, 2013  Student Artist
hi!^^ how ya doing?
Reply
:iconr3create:
R3Create Featured By Owner Nov 20, 2013
I'm alive ^^
Reply
:iconroyflame25:
Royflame25 Featured By Owner Nov 21, 2013  Student Artist
well that's always nice to know! :D life treating you good?
Reply
:iconr3create:
R3Create Featured By Owner Nov 21, 2013
*shrugs*
Reply
(1 Reply)
:icontattorack:
Tattorack Featured By Owner Oct 20, 2013  Hobbyist General Artist
Tagged to death!
Reply
:iconr3create:
R3Create Featured By Owner Oct 20, 2013
Yay I'm ded now x3
Reply
:icontattorack:
Tattorack Featured By Owner Oct 20, 2013  Hobbyist General Artist
....... =_=
Even in death you got to do it!
Reply
:iconr3create:
R3Create Featured By Owner Oct 20, 2013
i dun really understand what it is o no
Reply
(1 Reply)
:iconbrockenfox:
brockenfox Featured By Owner Oct 6, 2013  Hobbyist Artist
man i haven't talked to in like forever, how youve been .
Reply
:iconr3create:
R3Create Featured By Owner Oct 11, 2013
I like your new avatar better.
Reply
:iconr3create:
R3Create Featured By Owner Oct 6, 2013
I'm not sure if I can remember who you are. Sorry.
Reply
:iconbrockenfox:
brockenfox Featured By Owner Oct 7, 2013  Hobbyist Artist
 im that demon worshipping statanic psycho guy that got banned the shit out of.
Reply
:iconr3create:
R3Create Featured By Owner Oct 7, 2013
ah.

why were you banned?
Reply
(1 Reply)
:iconrainsuzukioc:
RainSuzukiOC Featured By Owner Aug 23, 2013  Hobbyist Traditional Artist
You've been taggedd!! :3 rainsuzukioc.deviantart.com/jo…
Reply
Add a Comment: