If you’ve been trying to think of stuff you can do with the DCPU-16 this may inspire you to write a clone of a classic game.
This version of Pac-Man was written using a sprite system with a 16 color pallette. It runs in an HTML-based emulator, so you can even monkey around with the assembly code to help you figure out how it works. But if you’re not into writing code that is this machine-close, you can just click the ‘run’ button and use your keyboard arrows to play through a level or two. You’ll notice there’s only one game board available so far and some things are still missing like that familiar waka-waka as he gobbles up the dots. Let us know if you mange to extend the features of this version.
In case you missed it, this emulator is running the DCPU-16 spec from Notch’s new game, 0x10c (. We have no idea how that’s going to shape up, but getting in on the game early will pay off it turns out to be as popular as Minecraft.
Impressive. I can’t believe it’s only ~750 lines of code.
I look forward to seeing someone emulate DCPU-16 on redstone in Minecraft.
And then run 2d minecraft on the emulated dcpu16. INCEPTION
its called “java” or “.NET”
alas that’s an out of spec dcpu-16 the screen Res should be 32×12 but on the bright side you can redefine the character set…
I still think DCPU-16 is lame and Notch should learn some actual Engineering first (no index registers, 3 cycle division lol)
I thught that the released CPU specs were the very game after all…
Oh, and looking through the spec… Notch should have used MIPS.
Or at least MSP430, since Notch seemed to be going for a 16-bit CPU. While the (lack of) available address modes for destination operands can be a bit of an annoyance, and it does have some quirks, the 430 really is a clever and well-thought-out design.
Does the DCPU-16 exist outside 0x01c, or is it just a part of that game?
If not, I am impressed by the sheer volume of emulators/projects in only the three weeks since Notch announced it.
0x10c even. I see that endian-ness problem is alive and well in my brain this morning.
Notch designed it for the game.
lol
if someone wants me to sit there and test a new design/archetecture for a hardware CPU all day long,
they’d betterd be ready to pay me 50,000.00 – 100,000.00 $/year
… with DCPU/10C i dont even get to see/use an electrical output, its like “testing the market” to see if all those peskey hardware modders will settle for a simulation,,,
a simulation inside facebook,
facebook,
where we(they) can easily monitor 100% as long as they have a “virus” or a “fix”,
the fix you downloaded from an FBI website,
or should i say YAHOO website,
as the article on yahoo that said to vitit a “FBI” website to fix your DHCP-redirect virus (today),
was not posted to “other” news websites.
hmm, only for logic geeks!
not-not-is-was-has-will-is-wont-always-something
IGNORE! hahahaha
lolz
PS: games and sims are NOT job expierence
At the very least it would help you learn some of the basics of assembly. It’s not ‘job experience’ but it is programming experience.
I don’t want to see a port of GCC to this thing. That would be worse than SDCC on a TI-84+, and it would ruin the point of the game.
However, I would like to see some rehashes on the CPU design…