dcpu16 / dcpu16-py Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jtauber/dcpu16py
A Python implementation of Notch's DCPU-16
License: MIT License
This project forked from jtauber/dcpu16py
A Python implementation of Notch's DCPU-16
License: MIT License
A Python implementation of Notch's DCPU-16. See http://0x10c.com/doc/dcpu-16.txt for specification. Notch apparently started doing a 6502 emulator first. Given I did one in Python <https://github.com/jtauber/applepy> it only seems fitting I now do a DCPU-16 implementation in Python too :-) STATUS Runs the example program successfully. Cycle times are not yet taken into account but it otherwise should be feature-complete. A dissassembler and assembler are also included. ./asm.py example.asm example.obj will assemble Notch's example to object code ./dcpu16.py example.obj will execute it (currently hard-coded to debug mode) ./disasm.py example.obj will disassemble the given object code Note that the disassembler doesn't quite output in a format that can be round-tripped back into the assembler as it annotates each line with a memory offset. I plan to work on a Forth implementation soon. I'm also keen to find out how Notch plans I/O to work. EXAMPLES Now see https://github.com/jtauber/DCPU-16-Examples (almost my assembler and emulator don't necessarily support everything there yet)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.