Toying around with a made up virtual 8 bit computer. I’m stealing a lot of ideas from the game 0x10c that Markus Persson at Mojang is currently working on.
First video. Running a program that prints the available letters over and over again until the CPU crashed. (screen memory is at the end of the RAM and it went past it)
Second video. Taking input through a keyboard and writing it to a tape drive. Updated graphics too.
https://www.youtube.com/watch?v=H-bdfuIcAoI
The CPU is lacking a lot of opcodes and there's not much to do yet. But I'm having loads of fun working on it.
Next up should probably be to write an assembler as manually adding bytes to the RAM is rather boring and difficult. :P
Actually i dont get the facination of 0x10c. I would only develop in that sort of languages for money., but not in my freetime. I would like the game way more if i could programm in lua, javascript, java, or any other high level language.
@EmpirePhoenix said:
Actually i dont get the facination of 0x10c. I would only develop in that sort of languages for money., but not in my freetime. I would like the game way more if i could programm in lua, javascript, java, or any other high level language.
For what it's worth, I agree. I created several simulated computers in my early programming days... even tried to make a game around one. Sort of like corewars with robots. But it was a bit like programmer's masturbation. The joy in it was writing a chip the way I wanted a chip to be written without all of the x86 idiosyncrasies, etc..
Though people have done some pretty amazing things with redstone, it remains to be seen if they will enjoy plugging ASM statements into simulated hardware. It's not the same kind of puzzle.
Anyway, to the OP... sounds pretty cool. I think writing a simple chip VM is one of those programming skill milestones... so... "achievement unlocked". :)
@pspeed said:
Though people have done some pretty amazing things with redstone, it remains to be seen if they will enjoy plugging ASM statements into simulated hardware. It's not the same kind of puzzle.
There are already rumors of a gcc port for the DCPU-16 - just saying. It's just a matter of time until java runs on it ;)
Speaking of 0x10c, seems like a new video is out on the webpage. Hadn’t seen any footage before. Pretty cool they’re going with regular graphics this time.