{"id":22055263,"url":"https://github.com/0xdeb7ef/emu","last_synced_at":"2025-03-23T16:14:26.578Z","repository":{"id":265511898,"uuid":"885847454","full_name":"0xdeb7ef/emu","owner":"0xdeb7ef","description":"A Zig library that offers some simple CPUs to emulate.","archived":false,"fork":false,"pushed_at":"2024-11-30T02:44:23.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T22:19:47.289Z","etag":null,"topics":["chip-8","chip8","emulation","emulator","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/0xdeb7ef.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T14:55:18.000Z","updated_at":"2024-11-30T02:44:26.000Z","dependencies_parsed_at":"2024-11-29T18:30:05.854Z","dependency_job_id":null,"html_url":"https://github.com/0xdeb7ef/emu","commit_stats":null,"previous_names":["0xdeb7ef/emu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdeb7ef%2Femu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdeb7ef%2Femu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdeb7ef%2Femu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdeb7ef%2Femu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xdeb7ef","download_url":"https://codeload.github.com/0xdeb7ef/emu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128130,"owners_count":20565206,"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","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","chip8","emulation","emulator","zig"],"created_at":"2024-11-30T16:06:03.214Z","updated_at":"2025-03-23T16:14:26.552Z","avatar_url":"https://github.com/0xdeb7ef.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# emu\n\nThis repo is ment to hold my attempts at emulating random stuff that I find interesting.\n\nAt the moment, there's only an unfinished CHIP-8 implementation.\n\nMy goal is to make it a sort of library that can be used to emulate various different CPUs\nand/or hardware.\n\n## CHIP-8\n\nAll the CHIP-8 opcodes have been implemented and tested against the\n[CHIP-8 Test Suite](https://github.com/Timendus/chip8-test-suite).\n\nThe CHIP-8 core passes the the following test ROMs:\n\n- `1-chip8-logo.ch8`\n- `2-ibm-logo.ch8`\n- `3-corax+.ch8`\n- `4-flags.ch8`\n\nThe followings tests are currently skipped because they require functionality that\nhasn't been implemented yet:\n\n- `5-quirks.ch8`\n- `6-keypad.ch8`\n- `7-beep.ch8`\n\n### Things left to do\n\n- The keyboard opcodes haven't been tested yet.\n- The core does not yet handle the sound and delay timers, so that needs a bit\n  of work to get working.\n- Based on the previous task, the whole emulation cycle needs to be worked on so it can\n  handle different speeds/frequencies, you could probably just do those manually for now\n  but it would be nicer to have the core handle it, maybe a `cycle()` function.\n\n### References\n\n- [Guide to making a CHIP-8 emulator](https://tobiasvl.github.io/blog/write-a-chip-8-emulator/#logical-and-arithmetic-instructions)\n- [Cowgod's CHIP-8 Technical Reference](http://devernay.free.fr/hacks/chip8/C8TECH10.HTM)\n- [CHIP-8 Variant Opcode Table](https://chip8.gulrak.net/)\n- and many more... [emudev.org](https://emudev.org/system_resources)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdeb7ef%2Femu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdeb7ef%2Femu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdeb7ef%2Femu/lists"}