10 points · by kuripyon · 14y ago · 12 comments
I've been intently watching the development of Notch's 0x10^c, and more specifically the CPU that's emulated within the game. I suspect a number of other people feel similarly but it seems like this could be an "antidote" to what another poster described a few days ago, the apparent lack of "casual," "for-fun" programming as of late.
I work with FPGAs for a living, so of course when I saw the DCPU spec I thought "I wonder how many LUTs it would take to synthesize this." Unsurprisingly, in its present incarnation it really does not take too many and could easily be burnt into a tiny FPGA and deployed in a 48-pin DIP package (with necessary voltage regulators, caps, buffers etc on the same board).
So I'm curious - would this sort of thing be interesting to anyone except me? I'm thinking I would want to do the CPU, make sure it's user-updateable, then also develop a PPU/APU and memory mappers for a real "retro-computing" experience (I would want the PPU to output HDMI signals though... I'm not retro enough to want to feed it to a TV through an RF modulator^^)
What do you all think? Is this something that interests anyone else?
The core is written entirely in synthesisable Verilog RTL. Synthesises to about 700+ Slices at around 150MHz on a Spartan6. (minus h/w division and modulo)
Feel free to extend/expand/contribute.
I posted it on HN yesterday. http://news.ycombinator.com/item?id=3821400
Why not learn real assembly on a living microprocessor and hook it up to real things? There are some instruction sets, like 6809/68000 or 8051, that are very easy to learn and are a good stepping stone to larger architectures.
I'm a big 6809 fan, and you can synthesize a whole '09 system from opencores.org: http://opencores.org/project,system09
I'm not sure if HDMI would be on my must-have list though, a serial-USB and console/terminal would be more than adequate for me.
I don't know if that loses compatibility with Notch's DCPU-16.
tl;dr: It doesn't break compatibility 'cos there's no compatibility to be broken yet ^^