{"id":28675483,"url":"https://github.com/mattdrivendev/raychip-8","last_synced_at":"2025-06-26T15:32:37.150Z","repository":{"id":275840327,"uuid":"925722206","full_name":"MattDrivenDev/raychip-8","owner":"MattDrivenDev","description":"Chip-8 interpreter using raylib","archived":false,"fork":false,"pushed_at":"2025-02-17T15:09:10.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T22:10:34.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MattDrivenDev.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,"zenodo":null}},"created_at":"2025-02-01T15:34:37.000Z","updated_at":"2025-02-17T15:09:14.000Z","dependencies_parsed_at":"2025-02-04T21:32:02.379Z","dependency_job_id":"4e220780-5dd9-411d-b215-f0a7a9ca59c2","html_url":"https://github.com/MattDrivenDev/raychip-8","commit_stats":null,"previous_names":["mattdrivendev/raychip-8"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MattDrivenDev/raychip-8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattDrivenDev%2Fraychip-8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattDrivenDev%2Fraychip-8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattDrivenDev%2Fraychip-8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattDrivenDev%2Fraychip-8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MattDrivenDev","download_url":"https://codeload.github.com/MattDrivenDev/raychip-8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattDrivenDev%2Fraychip-8/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094637,"owners_count":23258010,"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":[],"created_at":"2025-06-13T22:10:07.322Z","updated_at":"2025-06-26T15:32:37.060Z","avatar_url":"https://github.com/MattDrivenDev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# raychip-8\nChip-8 interpreter using C with raylib.\n\n![Screenshot](https://github.com/MattDrivenDev/raychip-8/blob/main/screenshot.png)\n\n## Docs/Specification\n[http://devernay.free.fr/hacks/chip8/C8TECH10.HTM](http://devernay.free.fr/hacks/chip8/C8TECH10.HTM)\n\n## Test Cases\n[https://github.com/Timendus/chip8-test-suite?tab=readme-ov-file#chip-8-test-suite](https://github.com/Timendus/chip8-test-suite?tab=readme-ov-file#chip-8-test-suite)\n\n## TIL: Bytes\nThe initial commit was using the `int` data type all over the place for the various registers and memory etc. I initially chose this because of some of the reading I did with .NET in my [F# Chip-8 Interpreter](https://github.com/MattDrivenDev/Chip-8/blob/master/C8.fsx)... because, a `byte` data type there was going to be converted to either a 32 or 64 bit `int` behind the scenes because the processors are heavily optimized for those operations anyway. So, I figured? Just do that!\n\nBut, that gets ropey when I hit some of the C8 instructions like `ADD`... when adding two values together it has to roll over when the value is too high, right?\n\nThat's when I learned a little more about bytes: [Is there a 'byte' data type in C++?](https://stackoverflow.com/questions/20024690/is-there-byte-data-type-in-c): as it turns out I should probably be using an `unsigned char` value. Which, is what [raylib](https://www.raylib.com/) is returning from the `LoadFileData()` function (makes sense now!).\n\n## Shorts\nJust a note - I'm using `unsigned short` in places... But, really, it should be a `uint16_t`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdrivendev%2Fraychip-8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattdrivendev%2Fraychip-8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdrivendev%2Fraychip-8/lists"}