To select a program, use the arrow keys and space bar. On the main menu you can also toggle "stamp mode", which switches to a more accurate graphics drawing mode at the cost of performance. Minesweeper controls: F to flag mines Space to clear an area Arrow Keys to move cursor. The three programs included are Minesweeper, a Matrix screen animation and a tetris game. Right now the tetris game is not working correctly, but the other two are fine.
!!! Matrix is broken for some reason, i'll fix it asap. Since the original was made in Scratch 1.4 (and i did some pretty stupid things), I was able to completely refactor the emulator to work 2x faster with a lot less+cleaner code and variables. The DCPU-16 is actually really easy to emulate (at least the original), and this project now reflects that! It's now at about 25% of the intended speed. On another note, I am working on the Gameboy Emulator a bit, it won't be able to run well but it should be able to run most games with basic sound support, now that I've implemented MBCs and corrected some instructions and the interrupt handling procedure. Original: An emulator for the DCPU-16 computer (revision 1.1, pre highnerd) made entirely from scratch! Includes monitor, keyboard, 3 programs and the CPU emulator itself. Specification for the DCPU-16 is available at http://0x10c.com/doc/dcpu-16.txt. This emulator works by converting the program binaries to scratch readable lists of ones and zeros, which are then imported and interpreted by the scratch program to emulate the DCPU. -- CUSTOM USE -- To load your own programs into this emulator, download the project, assemble your (dcpu 1.1) program with a 1.1 compliant assember and convert your .bin into scratch lists using this python script (using python 3): http://pastebin.com/FtdZNfET The input file must be in the same folder and called "input.bin". This will output "scratchdcpu.txt". Open this project in scratch 1.4, show the list "ROM" (or one of your choosing), right click and choose import. The program loader built in is not a part of the emulator and can be replaced with your own. All you need to do is copy your program into the list "ROM (program)" and broadcast "Begin Emulation". ---- Right now the latest DCPU specification is actually 1.7, which introduces connectable hardware and extra instructions. I wanted to start simple, so I'll be releasing an updated emulator for that in time. I might even release an assembler in the future, so you can experiment with your own programs a lot easier. In short, enjoy!