{"id":33003834,"url":"https://github.com/msinger/dmg-schematics","last_synced_at":"2026-03-14T21:36:16.408Z","repository":{"id":43646346,"uuid":"453395661","full_name":"msinger/dmg-schematics","owner":"msinger","description":"Reverse engineered schematics of the Game Boy's DMG-CPU B chip","archived":false,"fork":false,"pushed_at":"2026-03-01T18:04:40.000Z","size":55776,"stargazers_count":34,"open_issues_count":2,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-03-01T20:37:33.629Z","etag":null,"topics":["asic","chip","dmg-001","dmg-cpu","electronics","game-boy","gameboy","kicad-schematics","nintendo","reverse-engineering","schematics"],"latest_commit_sha":null,"homepage":"","language":"KiCad Schematic","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msinger.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-29T12:48:34.000Z","updated_at":"2026-03-01T18:04:44.000Z","dependencies_parsed_at":"2024-06-16T12:42:19.509Z","dependency_job_id":"6d8f80f1-1a3e-4438-b542-e586b4e102b0","html_url":"https://github.com/msinger/dmg-schematics","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/msinger/dmg-schematics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg-schematics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg-schematics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg-schematics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg-schematics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msinger","download_url":"https://codeload.github.com/msinger/dmg-schematics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg-schematics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30518447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-14T19:51:21.629Z","status":"ssl_error","status_checked_at":"2026-03-14T19:51:12.959Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["asic","chip","dmg-001","dmg-cpu","electronics","game-boy","gameboy","kicad-schematics","nintendo","reverse-engineering","schematics"],"created_at":"2025-11-13T15:00:34.722Z","updated_at":"2026-03-14T21:36:16.400Z","avatar_url":"https://github.com/msinger.png","language":"KiCad Schematic","readme":"Game Boy DMG-CPU Schematics\n===========================\n\nContains reverse engineered schematics of the Game Boy DMG-CPU B chip, including the SM83 CPU core, as well as\nVLSI layouts and parsable netlists.\n\n![](schematic_preview.png)\n\nOriginally, the DMG-CPU B schematics in this repository were derived from the schematics in\n[furrtek/DMG-CPU-Inside](https://github.com/furrtek/DMG-CPU-Inside) (CC-BY-SA 4.0 Furrtek). They contain a lot of fixes\nthat were never applied to DMG-CPU-Inside.\n\n\nPDF Export\n----------\n\nMost recent PDF exports can be found in the\n[release](https://github.com/msinger/dmg-schematics/releases) section on github.\n\n\nFiles in this repo\n------------------\n\n| File(s)                                      | Description                                                                           |\n| -------------------------------------------- | ------------------------------------------------------------------------------------- |\n| ./dmg\\_cpu\\_b/\\*                             | KiCad project with schematics of the DMG-CPU B chip.                                  |\n| ./sm83/\\*                                    | KiCad project with schematics of the SM83 CPU core.                                   |\n| ./dmg\\_cpu\\_b/overlay/dmg-cpu-b\\_overlay.svg | Modified version of Furrtek's overlay for the chip's die shot.                        |\n| ./dmg\\_cells/dmg-cpu.jelib                   | Electric VLSI cell library containing layouts of the standard cells used in the chip. |\n| ./sm83\\_cells/sm83.jelib                     | Electric VLSI cell library containing the layout of the complete SM83 CPU core.       |\n| ./netlist/\\*                                 | Text files containing all cells and wires, and their connections and coordinates.     |\n\n\nOverlay SVG\n-----------\n\nThe overlay SVG image contains the contours of the cells in the die shot and highlights all the wires\nconnecting the cells. Also, the cells are labeled with the same names they have in the schematics.\n\n![](overlay_preview.png)\n\nWe took the overlay from Furrtek and modified it to keep it in sync with the fixed schematics.\n\nTo open the overlay with an SVG viewer/editor (like Inkscape) you need to download the die shots and place\nthem into the same directory where the overlay file is.\nThe die shots (`nintendo_dmg-cpu-b_mcmaster_mz_mit20x.jpg` and `nintendo_dmg-cpu-b_mcmaster_s1-1_mit20x.jpg`)\ncan be downloaded from [here](https://siliconpr0n.org/map/nintendo/dmg-cpu-b/single/).\n\n\nElectric VLSI Library\n---------------------\n\nThe [Electric VLSI](https://www.staticfreesoft.com/) libraries contain layouts for the standard cells used\nin the chip as well as the complete SM83 CPU core.\n\n![](vlsi_preview.png)\n\nScreenshots of these layouts can be seen in the cell reference documentations:\n[dmg\\_cells](http://iceboy.a-singer.de/doc/dmg_cells.html),\n[sm83\\_cells](http://iceboy.a-singer.de/doc/sm83_cells.html)\n\n\nNetlist\n-------\n\nThe files in the netlist folder contain definitions for all cells and wires of the chip.\nThey can be parsed by the [nlconv](https://github.com/msinger/nlconv/) tool. This tool is\ncurrently capable of converting the netlists into the following products:\n * HTML file with colors and links that make the netlists more readable.\n * PNG images that are used for the overlays on the Leaflet maps of the chip:\n   [dmg\\_cpu\\_b\\_map](http://iceboy.a-singer.de/dmg_cpu_b_map/) and\n   [sm83\\_map](http://iceboy.a-singer.de/sm83_map/).\n * JavaScript code that is used by the same Leaflet maps for allowing the user to click on and select cells and wires,\n   to get more information about them.\n * SystemVerilog code for simulating the chip: [dmg-sim](https://github.com/msinger/dmg-sim/)\n\n![](netlist_preview.png)\n","funding_links":[],"categories":["Documentation"],"sub_categories":["Hardware"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsinger%2Fdmg-schematics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsinger%2Fdmg-schematics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsinger%2Fdmg-schematics/lists"}