{"id":24655033,"url":"https://github.com/pascalpost/game-boy-emulator","last_synced_at":"2025-03-21T02:16:15.096Z","repository":{"id":247294300,"uuid":"825470945","full_name":"pascalPost/game-boy-emulator","owner":"pascalPost","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-17T06:17:18.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T22:39:32.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/pascalPost.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-07-07T21:39:24.000Z","updated_at":"2024-07-23T15:35:07.000Z","dependencies_parsed_at":"2024-07-27T23:47:43.891Z","dependency_job_id":"d8a433f8-2131-4308-abcb-a2b7c46570f5","html_url":"https://github.com/pascalPost/game-boy-emulator","commit_stats":null,"previous_names":["pascalpost/game-boy-emulator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalPost%2Fgame-boy-emulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalPost%2Fgame-boy-emulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalPost%2Fgame-boy-emulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalPost%2Fgame-boy-emulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascalPost","download_url":"https://codeload.github.com/pascalPost/game-boy-emulator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244722747,"owners_count":20499154,"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-01-25T22:35:57.040Z","updated_at":"2025-03-21T02:16:15.074Z","avatar_url":"https://github.com/pascalPost.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# game-boy-emulator\n\n[![Go build \u0026 test](https://github.com/pascalPost/game-boy-emulator/actions/workflows/go.yml/badge.svg)](https://github.com/pascalPost/game-boy-emulator/actions/workflows/go.yml)\n\nThis repository contains the WIP of a game boy emulator written in go.\n\n## Steps\n\n1) Create a cli app that dumps the content of ROMs in a format (XXXX : XX XX XX XX  ....) containing the address, the\nbyte data and its ASCII representation. You can test, e.g. with this\n[homebrew snake ROM](https://hh.gbdev.io/game/snake-gb). You may use `cmd/hexDump/hexDump.go` as a reference.\n2) Parse the header and crate unit tests w.r.t., e.g., the Title, the Nintendo Logo and the Cartridge type.\n3) Parse the json file with all opcodes (https://gbdev.io/gb-opcodes/Opcodes.json).\n4) Write a disassembler. You may test with the snake ROM.\n5) Begin programming the emulator by adding instructions for the load sequence of snake.\n6) Add the graphics.\n\n## Resources\n\nMain references:\n- A very well written introduction: https://www.inspiredpython.com/course/game-boy-emulator/let-s-write-a-game-boy-emulator-in-python\n- Single most comprehensive technical reference to Game Boy: https://gbdev.io/pandocs/\n- Homebrew Game Boy games: https://hh.gbdev.io/\n\nOthers (not yet checked):\n- A go example for the Game Boy Advance: https://dev.to/aurelievache/learning-go-by-examples-part-5-create-a-game-boy-advance-gba-game-in-go-5944\n- General detailed document about emulation:\n  - http://www.codeslinger.co.uk/files/emu.pdf\n- explanation of the opcodes:\n  - https://gist.github.com/SakiiR/62661e45ee8b2ab13f0dc8203a7dfbd9\n  - https://rgbds.gbdev.io/docs/v0.8.0/gbz80.7#LD_SP,n16\n- Rust examples:\n  - https://jeremybanks.github.io/0dmg/\n  - https://rylev.github.io/DMG-01/public/book/introduction.html\n  - https://read.cv/mehdi/uNGQ7pgWb2CO1QfJkb1n\n- C/C++:\n  - https://cturt.github.io/cinoop.html\n  - http://www.codeslinger.co.uk/pages/projects/gameboy.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalpost%2Fgame-boy-emulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalpost%2Fgame-boy-emulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalpost%2Fgame-boy-emulator/lists"}