{"id":21269787,"url":"https://github.com/prashantrahul141/cipi8","last_synced_at":"2025-07-14T07:34:45.996Z","repository":{"id":262412391,"uuid":"861149024","full_name":"prashantrahul141/cipi8","owner":"prashantrahul141","description":"Chip8 emulator implementation in c++","archived":false,"fork":false,"pushed_at":"2024-11-12T09:08:23.000Z","size":2563,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T18:18:30.389Z","etag":null,"topics":["chip8","chip8-emulator","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","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/prashantrahul141.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-09-22T06:05:03.000Z","updated_at":"2024-11-12T09:08:27.000Z","dependencies_parsed_at":"2024-11-12T10:20:56.976Z","dependency_job_id":"4db5e7c3-a179-49ae-8519-6d7a96961e43","html_url":"https://github.com/prashantrahul141/cipi8","commit_stats":null,"previous_names":["prashantrahul141/cipi8"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/prashantrahul141/cipi8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantrahul141%2Fcipi8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantrahul141%2Fcipi8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantrahul141%2Fcipi8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantrahul141%2Fcipi8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashantrahul141","download_url":"https://codeload.github.com/prashantrahul141/cipi8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantrahul141%2Fcipi8/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265256056,"owners_count":23735398,"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","chip8-emulator","cpp"],"created_at":"2024-11-21T08:11:53.785Z","updated_at":"2025-07-14T07:34:45.970Z","avatar_url":"https://github.com/prashantrahul141.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cipi8\n\nCipi is a Chip8 emulator written primarily in CXX. You can read more about Chip8 [here](https://en.wikipedia.org/wiki/CHIP-8).\nThere are a total of 34 instructions taken from [here](http://devernay.free.fr/hacks/chip8/C8TECH10.HTM).\n\nYou can also download release binaries from the [releases page](https://github.com/prashantrahul141/cipi8/releases).\n\n\n![octojam1title.ch8](./assets/meta/october.gif)\n\n_Playing octojam1title.ch8_\n\n![space invaders](./assets/meta/spaceinvaders.gif)\n\n_Playing Space Invaders (David Winter)_\n\n![tetris.ch8](./assets/meta/tetris.gif)\n\n_Playing Tetris (Fran Dachille, 1991)_\n\n\n## Building\n\nThe project uses Cmake as it's prebuild system.\n\n#### Requirements:\n\n- A C compiler\n- [Cmake](https://cmake.org/)\n- [Ninja](https://ninja-build.org/)\n\n1. Clone the repo and cd into the project root directory.\n\n```sh\ngit clone https://github.com/prashantrahul141/cipi8 \u0026\u0026 cd cipi8\n```\n\n2. Run cmake to create build files for your platform.\n\n```sh\ncmake . -G Ninja\n```\n\nadditionally you can provide `-DCMAKE_BUILD_TYPE={configuration}` to build in `Debug`, `Release` configurations.\n\n3. Run Ninja to build the project\n\n```sh\nninja\n```\nYou can provide `-j` flag to build in parallel\n\n```sh\nninja -j 10\n```\n\n\n## Using the emulator\n```sh\nUsage: cipi8 [--help] [--version] [--scale VAR] [--delay VAR] rom_file\n\nPositional arguments:\n  rom_file       The rom file to run. [required]\n\nOptional arguments:\n  -h, --help     shows help message and exits\n  -v, --version  prints version information and exits\n  --scale        Scale of the display [nargs=0..1] [default: 15]\n  --delay        Delay between CPU cycles. [nargs=0..1] [default: 6]\n```\nThere are some examples roms in the /roms directory, you can test them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantrahul141%2Fcipi8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashantrahul141%2Fcipi8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantrahul141%2Fcipi8/lists"}