{"id":34775929,"url":"https://github.com/msinger/dmg_cpu_b_map","last_synced_at":"2025-12-25T08:16:54.652Z","repository":{"id":45456443,"uuid":"398388951","full_name":"msinger/dmg_cpu_b_map","owner":"msinger","description":"Web-based map of the Gameboy DMG-CPU B with overlays","archived":false,"fork":false,"pushed_at":"2025-11-29T01:08:34.000Z","size":4585,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T02:40:55.463Z","etag":null,"topics":["asic","chip","dmg-001","dmg-cpu","electronics","game-boy","gameboy","leaflet-map","nintendo","reverse-engineering","silicon"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","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":"2021-08-20T20:06:58.000Z","updated_at":"2025-11-29T01:08:37.000Z","dependencies_parsed_at":"2024-05-07T19:43:52.656Z","dependency_job_id":"39be4594-cb0b-4657-b072-e46af6c464a0","html_url":"https://github.com/msinger/dmg_cpu_b_map","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msinger/dmg_cpu_b_map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg_cpu_b_map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg_cpu_b_map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg_cpu_b_map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg_cpu_b_map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msinger","download_url":"https://codeload.github.com/msinger/dmg_cpu_b_map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msinger%2Fdmg_cpu_b_map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28024482,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","leaflet-map","nintendo","reverse-engineering","silicon"],"created_at":"2025-12-25T08:16:50.920Z","updated_at":"2025-12-25T08:16:54.645Z","avatar_url":"https://github.com/msinger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Game Boy DMG CPU B Leaflet Map\n==============================\n\nWeb-based map of the Gameboy DMG-CPU B with overlays.\n\nMade with [Leaflet](https://leafletjs.com/), [Leaflet-Minimap](https://github.com/Norkart/Leaflet-MiniMap/),\n[Leaflet-Nanoscale](https://github.com/whitequark/Leaflet.Nanoscale/) and\n[Leaflet-PolylineMeasure](https://github.com/ppete2/Leaflet.PolylineMeasure).\n\n\nLive version of the map\n-----------------------\n\nYou can use the latest version of the map [here](http://iceboy.a-singer.de/dmg_cpu_b_map/).\n\n![map overview](map_overview.png)\n\n\nGetting the images and generating the tiles\n-------------------------------------------\n\nThe actual images are not included in this repository. They have to be manually exported from Inkscape\nand then processed by `scripts/gen_tiles.sh`.\n\nYou can get the SVG file which contains the cells, wires and labels overlays\n[here](https://github.com/msinger/dmg-schematics/tree/master/dmg_cpu_b/overlay).\n\nShort instructions and download links for the die shots can be found\n[here](https://github.com/msinger/dmg-schematics#overlay).\n\nOnce you've opened the SVG in Inkscape, you have to export each layer, one by one, using these export settings:\n\n![export settings](inkscape_export_settings.png)\u003cbr\u003e\n\nExport the transparent layers as PNGs and the die shots as JPEG.\n\nCreate a folder called `img_src` in this repo and put the files in there with the following names:\n```\nimg_src/cells.png\nimg_src/die_mz_20x.jpg\nimg_src/die_s1_1_20x.jpg\nimg_src/labels.png\nimg_src/wires.png\n```\n\nThen change into the `scripts` directory and run the script that converts all images to tiles:\n```\ncd scripts\n./gen_all.sh\n```\n`gen_all.sh` runs `gen_tiles.sh` for each of the images, which uses ImageMagick's `convert` command for cropping and\nscaling the images. So you need to have ImageMagick installed for this to work.\n\nThe tiles will be output into the `map` directory. Now you should be able to open the `index.html` file\nin a browser to use the map.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsinger%2Fdmg_cpu_b_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsinger%2Fdmg_cpu_b_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsinger%2Fdmg_cpu_b_map/lists"}