{"id":43318527,"url":"https://github.com/fstark/sg4b-reverse","last_synced_at":"2026-02-01T22:10:43.897Z","repository":{"id":236828254,"uuid":"793230864","full_name":"fstark/sg4b-reverse","owner":"fstark","description":"Texscan MSI SpectraGen 4B ROM reverse engineering","archived":false,"fork":false,"pushed_at":"2024-05-27T11:56:32.000Z","size":5475,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-24T03:36:24.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fstark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-28T19:29:42.000Z","updated_at":"2024-05-27T11:56:35.000Z","dependencies_parsed_at":"2024-05-20T23:50:00.148Z","dependency_job_id":null,"html_url":"https://github.com/fstark/sg4b-reverse","commit_stats":null,"previous_names":["fstark/sg4b-reverse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fstark/sg4b-reverse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstark%2Fsg4b-reverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstark%2Fsg4b-reverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstark%2Fsg4b-reverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstark%2Fsg4b-reverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fstark","download_url":"https://codeload.github.com/fstark/sg4b-reverse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fstark%2Fsg4b-reverse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28992746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"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":[],"created_at":"2026-02-01T22:10:43.261Z","updated_at":"2026-02-01T22:10:43.886Z","avatar_url":"https://github.com/fstark.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sg4b-reverse\nTexscan MSI SpectraGen 4B ROM reverse engineering\n\nSupports reverse engineering of the Texscan MSI SpectraGen 4B ROM version 5.7, to understand how to connect with it (does not aim at full reverse).\n\n# Texscan\n\nhttps://cg-wiki.org/texscan_msi/sg4b\n\n# ROMs:\n\nU20.BIN : Main Boot ROM, 16K, mapped 0x0000 - 0x3fff\nU21.BIN : 16K, mapped 0x8000 - 0x7fff\nU22.BIN : Mostly data, 16K, mapped 0xc000 - 0xffff\n\n# How to use\n\nUnder linux, install ``pasmo``. Run the ``doit.sh`` script and start hacking the ``rom-57.asm`` file. Any discrepancy in generation will immediately be highligted in the terminal.\n\n\n\n# Personal notes on the initial generation of assembly files\n\nFirst, generation of a simple assembly file at correct address\nThen assembly of this file to generate the correct symbol file\nThen concatenation of all symbol file to get a symbol accross all ROMs\nThen re-generation of assembly files with all symbols\n\nz80dasm -l -a -t -g 0x8000 ROMs/U21-57.BIN \u003e u21-57.asm\npasmo --alocal u21-57.asm u21-57.bin u21-57.sys\n\nz80dasm -l -a -t -g 0xc000 ROMs/U22-57.BIN \u003e u22-57.asm\npasmo --alocal u22-57.asm u22-57.bin u22-57.sys\n\ncat u20-57.sys u21-57.sys u22-57.sys | sed -e 's/[ \\t]*EQU 0\\(....\\)H/: equ 0x\\1/g' \u003e all.sym\nz80dasm -l -a -t -g 0x8000 -S all.sym ROMs/U21-57.BIN \u003e u21-57.asm\nz80dasm -l -a -t -g 0xc000 -S all.sym ROMs/U22-57.BIN \u003e u22-57.asm\n\npasmo --alocal u21-57.asm u21-57.bin u21-57.sys\n\npasmo --alocal rom.asm rom.bin rom.sys\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffstark%2Fsg4b-reverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffstark%2Fsg4b-reverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffstark%2Fsg4b-reverse/lists"}