DCPU emulation on DCPU
This is a fully implemented DCPU emulator written for DCPU.
Available here: http://code.google.com/p/dcpu-semu/
Written in assembly language and tested with DCPU-16 Studio.
Keep in mind that this is a first pass version to get it working. The primary goal is emulation speed over code size.
Feedback is welcome :)
Posted Apr 8, 2012, 1:15 PM UTC
Out of curiosity: can it successfully run itself?
Oh sweet jesus I see where this is going.
Don't you fucking dare.
[deleted]
No, where it gets interesting is when you have an emulator that can emulate two machines at once.
You have it emulate one program, and another emulator. You have that emulator run a different program, and another emulator. You have that emulator run a third program, and another emulator... It's a lazy excuse for multitasking.
... that is not how you do multitasking, and it's certainly not a lazy excuse for it.
That said, traditional multitasking requires either specially built programs or timed interrupts.
Lazy in the sense that the programs running on the emulators don't need to cooperate or even know what's going on. Definitely is a lot more work on the part of the emulator and whatever machine is running this monstrosity.
Working on it now :)
Happy cake day.
Yep, happy cake day, and pretty epic username. :)
You'll need to rename the project "Xzibit" or "Inception".