{"id":13344438,"url":"https://github.com/laullon/b2t80s","last_synced_at":"2025-09-21T21:57:16.281Z","repository":{"id":50097462,"uuid":"250320277","full_name":"laullon/b2t80s","owner":"laullon","description":"b2t80s  - Z80 Based Computers Emulator (back to the 80's)","archived":false,"fork":false,"pushed_at":"2021-06-22T21:59:28.000Z","size":10973,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T22:41:32.874Z","etag":null,"topics":["8bits","amstrad","amstrad-cpc","computers-emulator","retrocomputing","retrogaming","z80","z80-emulator","zx-spectrum"],"latest_commit_sha":null,"homepage":"","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/laullon.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}},"created_at":"2020-03-26T17:03:12.000Z","updated_at":"2023-03-29T20:43:56.000Z","dependencies_parsed_at":"2022-08-03T19:00:24.831Z","dependency_job_id":null,"html_url":"https://github.com/laullon/b2t80s","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/laullon/b2t80s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laullon%2Fb2t80s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laullon%2Fb2t80s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laullon%2Fb2t80s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laullon%2Fb2t80s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laullon","download_url":"https://codeload.github.com/laullon/b2t80s/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laullon%2Fb2t80s/sbom","scorecard":{"id":579872,"data":{"date":"2025-08-11","repo":{"name":"github.com/laullon/b2t80s","commit":"33ef502f2d889fb6876cd64c2bb7789b18562768"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.4 not signed: https://api.github.com/repos/laullon/b2t80s/releases/27010194","Warn: release artifact v0.3 not signed: https://api.github.com/repos/laullon/b2t80s/releases/25644426","Warn: release artifact V0.2 not signed: https://api.github.com/repos/laullon/b2t80s/releases/25535366","Warn: release artifact v0.4 does not have provenance: https://api.github.com/repos/laullon/b2t80s/releases/27010194","Warn: release artifact v0.3 does not have provenance: https://api.github.com/repos/laullon/b2t80s/releases/25644426","Warn: release artifact V0.2 does not have provenance: https://api.github.com/repos/laullon/b2t80s/releases/25535366"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-1572 / GHSA-qgc7-mgm3-q253","Warn: Project is vulnerable to: GO-2023-1990 / GHSA-j3p8-6mrq-6g7h","Warn: Project is vulnerable to: GO-2023-1989 / GHSA-x92r-3vfx-4cv3","Warn: Project is vulnerable to: GO-2024-2937 / GHSA-9phm-fm57-rhg8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T18:55:27.394Z","repository_id":50097462,"created_at":"2025-08-20T18:55:27.395Z","updated_at":"2025-08-20T18:55:27.395Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276312986,"owners_count":25620627,"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-09-21T02:00:07.055Z","response_time":72,"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":["8bits","amstrad","amstrad-cpc","computers-emulator","retrocomputing","retrogaming","z80","z80-emulator","zx-spectrum"],"created_at":"2024-07-29T19:33:09.170Z","updated_at":"2025-09-21T21:57:16.230Z","avatar_url":"https://github.com/laullon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/laullon/b2t80s)](https://goreportcard.com/report/github.com/laullon/b2t80s) [![Build Status](https://travis-ci.com/laullon/b2t80s.svg?branch=master)](https://travis-ci.com/laullon/b2t80s)\n\n# b2t80s\n\nZ80 \u0026 6502 Based Computers, consoles and arcades Emulator (back to the 80's)\n\n* ZX Spectrum [90%]\n* Amstrad CPC [80%]\n* MSX 1 [70%]\n* NES [50%]\n* Tetris Arcade [80%]\n\n## Download\n\n\u003chttps://github.com/laullon/b2t80s/releases/latest\u003e\n\n## Usage\n\n```\n  -bp string\n        Breakpoints [0xXXXX[,0xXXXX,...]]\n  -cpuprofile file\n        write cpu profile to file\n  -debug\n        shows debugger\n  -dskA string\n        disc file to load on drive A\n  -memprofile file\n        write memory profile to file\n  -mode string\n        Spectrum model to emulate [48k|128k|plus3|cpc464|cpc6128|msx1|atetris|nes] (default \"48k\")\n  -rom string\n        msx1 rom file to load - format: [mapper::]filename - Mappers:konami\n  -slow\n        Real Spectrum loading process\n  -tap string\n        tap file to load\n  -z80 string\n        z80 file to load\n  -cart nes cartridge\n```\n\n## Build and Run \n\n### Requirements\n\n#### All OS\n\n- Go 1.13+\n\n#### Linux:\n\n- libgl1-mesa-dev\n- libegl1-mesa-dev\n- libgles2-mesa-dev\n- xorg-dev\n- libasound2-dev\n\n#### Macos:\n\n- Xcode (latest)\n\n### Dependencies\n\n```\ngo get -u github.com/go-bindata/go-bindata/...\n$HOME/go/bin/go-bindata -pkg data -o data/data.go data/...\n```\n\n### Run\n\n```\ngo run main.go --mode 48k -tap \"./games/ManicMiner.tap\"\n```\n\n```\ngo run main.go --mode nes -cart \"games/nes/1942 (JU) [p1].nes\"\n```\n\n```\ngo run main.go --mode atetris\n```\n\n## links\n\n### ZX\n\n- \u003chttps://stackoverflow.com/questions/1215777/writing-a-graphical-z80-emulator-in-c-or-c\u003e\n- tests: \u003chttp://mdfs.net/Software/Z80/Exerciser/\u003e\n- The Complete Spectrum ROM Disassembly: \u003chttps://skoolkid.github.io/rom/maps/all.html#0038\u003e\n- SPECTRUM 128 ROM 0 DISASSEMBLY \u003chttp://www.matthew-wilson.net/spectrum/rom/128_ROM0.html?LMCL=aH_qpw\u0026LMCL=L7lymk#L1F45\u003e\n- Roms: \u003chttp://www.shadowmagic.org.uk/spectrum/roms.html\u003e\n- Contention Test Success \u003chttp://www.zxdesign.info/testSuccess.shtml\u003e\n- Video Parameters \u003chttp://www.zxdesign.info/vidparam.shtml\u003e\n\n### CPC\n\n- cpc6128 rom: \u003chttp://cpctech.cpc-live.com/docs/os.asm\u003e\n- \u003chttp://cpctech.cpc-live.com/docs/basic.asm\u003e\n- \u003chttp://cpctech.cpc-live.com/docs/amsdos.asm\u003e\n\n### Z80\n\n- \u003chttps://www.chibiakumas.com/z80/\u003e\n\n### my\n\n- int.asm \u003chttps://gist.github.com/laullon/9928e27738df3c5a194d92c7b2977710\u003e\n\n## ZexDoc\n\n```\nzmac --zmac zexdocsmall.asm\ngo test -v -timeout 999m github.com/laullon/b2t80s/emulator -run TestZEXDoc\n```\n\n## TODOs\n\n// TODO: test OLC:PGE for UI - \u003chttps://github.com/OneLoneCoder/olcPixelGameEngine\u003e\n\n## traces\n\n```\n/usr/local/bin/go test -trace=trace.out -timeout 15s github.com/laullon/b2t80s/cpu/z80 --v\ngo tool trace trace.out\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaullon%2Fb2t80s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaullon%2Fb2t80s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaullon%2Fb2t80s/lists"}