{"id":17249893,"url":"https://github.com/jtauber/dcpu16py","last_synced_at":"2025-08-21T00:31:54.998Z","repository":{"id":2922639,"uuid":"3933208","full_name":"jtauber/dcpu16py","owner":"jtauber","description":"A Python implementation of Notch's DCPU-16 (complete with assembler, disassembler, debugger and video terminal implementations)","archived":false,"fork":false,"pushed_at":"2014-07-15T17:07:48.000Z","size":358,"stargazers_count":192,"open_issues_count":2,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T23:36:15.878Z","etag":null,"topics":["dcpu16"],"latest_commit_sha":null,"homepage":"http://jtauber.github.com/dcpu16py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtauber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-04T21:02:33.000Z","updated_at":"2024-09-27T17:17:54.000Z","dependencies_parsed_at":"2022-09-04T12:02:06.193Z","dependency_job_id":null,"html_url":"https://github.com/jtauber/dcpu16py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jtauber/dcpu16py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtauber%2Fdcpu16py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtauber%2Fdcpu16py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtauber%2Fdcpu16py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtauber%2Fdcpu16py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtauber","download_url":"https://codeload.github.com/jtauber/dcpu16py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtauber%2Fdcpu16py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271409432,"owners_count":24754714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dcpu16"],"created_at":"2024-10-15T06:45:36.449Z","updated_at":"2025-08-21T00:31:54.732Z","avatar_url":"https://github.com/jtauber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Python implementation of Notch's DCPU-16.\n\nComplete with assembler, disassembler, debugger and video terminal implementations.\n\nSee http://0x10c.com/doc/dcpu-16.txt for specification of the CPU.\n\nNotch apparently started doing a 6502 emulator first. Given I did one in\nPython \u003chttps://github.com/jtauber/applepy\u003e it only seems fitting I now\ndo a DCPU-16 implementation in Python too :-)\n\n\n## Status\n\nRuns a number of example programs successfully. Should be feature-complete at the CPU level.\n\nA dissassembler and (two) assemblers are also included as well as the emulator. The emulator\nincludes a debugger. \n\n* `./asm.py example.dasm16 example.obj` will assemble Notch's example to object code\n* `./disasm.py example.obj` will disassemble the given object code\n* `./dcpu16.py example.obj` will execute it (but won't show anything without extra options)\n\nThere is also an experimental pyparsing-based assembler `./asm_pyparsing.py`\ncontributed by Peter Waller. You'll need to `pip install pyparsing` to run it.\n\n`./dcpu16.py` takes a number of options:\n\n* `--debug` runs the emulate in debug mode, enabling you to step through each instruction\n* `--trace` dumps the registers and stack after every step (implied by `--debug`)\n* `--speed` outputs the speed the emulator is running at in kHz\n* `--term TERM` specifies a terminal to use for text output (`null`, `debug`, `curses`, `pygame` or `qt`)\n\nI'm working on an operating system for the DCPU-16 at\n[https://github.com/jtauber/dcpu16os](https://github.com/jtauber/dcpu16os) and also plan an\nimplementation of Forth at some point.\n\n## Examples\n\nNow see [https://github.com/jtauber/DCPU-16-Examples](https://github.com/jtauber/DCPU-16-Examples)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtauber%2Fdcpu16py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtauber%2Fdcpu16py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtauber%2Fdcpu16py/lists"}