{"id":17912661,"url":"https://github.com/danielgatis/chip8","last_synced_at":"2025-10-08T19:23:11.539Z","repository":{"id":79824927,"uuid":"379391284","full_name":"danielgatis/chip8","owner":"danielgatis","description":"A CHIP-8 emulator for Rust in ~350 LOC.","archived":false,"fork":false,"pushed_at":"2021-06-23T00:32:27.000Z","size":1051,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T09:54:35.372Z","etag":null,"topics":["chip-8","emulation","emulator","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/danielgatis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-22T20:21:06.000Z","updated_at":"2025-04-19T08:03:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d95c821-83dc-410d-a6b0-3eb8c3ef9b59","html_url":"https://github.com/danielgatis/chip8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielgatis/chip8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fchip8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fchip8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fchip8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fchip8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgatis","download_url":"https://codeload.github.com/danielgatis/chip8/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fchip8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000698,"owners_count":26082805,"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-10-08T02:00:06.501Z","response_time":56,"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":["chip-8","emulation","emulator","rust"],"created_at":"2024-10-28T19:46:24.868Z","updated_at":"2025-10-08T19:23:11.518Z","avatar_url":"https://github.com/danielgatis.png","language":"Rust","funding_links":["https://www.buymeacoffee.com/danielgatis"],"categories":[],"sub_categories":[],"readme":"# chip8\n\nAn implementation of the CHIP-8 for Rust in ~350 lines of code.\n\n\u003cimg src=\"wall.png\" width=\"400\"\u003e\n\n## What is CHIP-8?\n\nCHIP-8 is a virtual machine (along with a supporting programming language).\nSince the CHIP-8 VM does not expose the fact that it's running on a host CPU,\nin theory the VM could be translated to physical hardware.\n\nThe CHIP-8 VM was used in the late '70s on some computers such as the [Telmac\n1800](https://en.wikipedia.org/wiki/Telmac_1800) and on some calculators in the\n1980's.\n\nCHIP-8 was mainly used as a gaming platform, and today you can play lots of\ngames like Pong and Breakout on it.\n\n## Running a ROM\n\nGiven a CHIP-8 ROM, you can start the ROM in the emulator like so:\n\n```bash\n    cargo run romfile.ch8\n```\n\n## Where to get a ROM?\n[Here](https://github.com/dmatlack/chip8/tree/master/roms).\n\n## Information on the emulator\n\nThe input is mapped similarly to most other CHIP-8 emulators I have come across:\n\nRow 1|Row 2|Row 3|Row 4\n-----|-----|-----|-----\n1 - 1|2 - 2|3 - 3|C - 4\n4 - Q|5 - W|6 - E|D - R\n7 - A|8 - S|9 - D|F - 4\nA - Z|0 - X|B - C|F - V\n\nThe screen runs at the default resolution of 64x32.\n\n## References\n\n* **Cowgod's Chip-8 Technical Reference:** http://devernay.free.fr/hacks/chip8/C8TECH10.HTM\n* **CHIP-8 Wikipedia Page:** https://en.wikipedia.org/wiki/CHIP-8\n* **Reddit r/EmuDev commmunity:** https://reddit.com/r/EmuDev\n\n\n## License\n\nCopyright (c) 2021-present [Daniel Gatis](https://github.com/danielgatis)\n\nLicensed under [MIT License](./LICENSE)\n\n## Buy me a coffee\nLiked some of my work? Buy me a coffee (or more likely a beer)\n\n\u003ca href=\"https://www.buymeacoffee.com/danielgatis\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fchip8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgatis%2Fchip8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fchip8/lists"}