{"id":13619162,"url":"https://github.com/faizilham/chip8-rs","last_synced_at":"2025-04-14T16:30:45.296Z","repository":{"id":41754397,"uuid":"219786500","full_name":"faizilham/chip8-rs","owner":"faizilham","description":"CHIP8 implementation in Rust, compiled to wasm","archived":false,"fork":false,"pushed_at":"2022-12-11T14:42:48.000Z","size":815,"stargazers_count":9,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-08T05:42:04.922Z","etag":null,"topics":["chip8","emulator","rust","wasm"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/faizilham.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":"2019-11-05T16:04:08.000Z","updated_at":"2024-07-09T09:50:45.000Z","dependencies_parsed_at":"2023-01-27T01:15:23.688Z","dependency_job_id":null,"html_url":"https://github.com/faizilham/chip8-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizilham%2Fchip8-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizilham%2Fchip8-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizilham%2Fchip8-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faizilham%2Fchip8-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faizilham","download_url":"https://codeload.github.com/faizilham/chip8-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248916519,"owners_count":21182817,"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":["chip8","emulator","rust","wasm"],"created_at":"2024-08-01T21:00:35.620Z","updated_at":"2025-04-14T16:30:44.951Z","avatar_url":"https://github.com/faizilham.png","language":"JavaScript","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"chip8-rs\n========\nCHIP-8 implementation in Rust, compiled to wasm. [Live Demo](https://faizilham.github.io/lab/chip8/)\n\nFeatures\n--------\n- All CHIP-8 standard features\n- Includes 90 ROMs from CHIP-8 pack\n- Emulates afterglow in old phosphor screen to reduce flickering (can be turned off)\n- Handles 3 implementation quirks that can be enabled:\n\n    1. Shift quirk: opcodes 8xy6 \u0026 8xyE shift Vy instead of Vx\n    2. Load/Store register quirk: opcodes Fx55 \u0026 Fx65 won't increase I register by x + 1\n    3. Sprite wrapping quirk: when parts of sprite are drawn outside of display, wrap it instead of clipping it\n\n- Lightweight page (transfer size \u003c 30kb, total size \u003c 70kb)\n\nHow to Build\n------------\nInstall all the tools needed:\n- [Rust toolchain](https://rustup.rs) and [wasm-pack](https://github.com/rustwasm/wasm-pack)\n- [NodeJS](https://nodejs.org/en/download/) and [yarn](https://yarnpkg.com/lang/en/)\n- (Optional) wasm-opt from [binaryen toolchain](https://github.com/WebAssembly/binaryen)\n\n\nClone this repo and install Node packages\n```\ngit clone https://github.com/faizilham/chip8-rs.git\ncd chip8-rs\nyarn install\n```\n\nBuild project\n```\nyarn build\n```\n\nBuild result will be available in `dist/` directory\n\nKeymapping\n----------\n```\nCHIP-8       PC Keyboard\n1 2 3 C      1 2 3 4\n4 5 6 D      Q W E R\n7 8 9 E      A S D F\nA 0 B F      Z X C V\n```\nIncluded ROMs\n------------\nAll included [ROMs](roms/) have descriptions and default quirk configuration data, taken from\n[mir3z's chip8 project](https://github.com/mir3z/chip8-emu) with some modification\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizilham%2Fchip8-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaizilham%2Fchip8-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizilham%2Fchip8-rs/lists"}