{"id":21376896,"url":"https://github.com/codesqueak/z80","last_synced_at":"2025-07-13T10:31:13.655Z","repository":{"id":38329880,"uuid":"465068125","full_name":"codesqueak/z80","owner":"codesqueak","description":"A Z80 Processor Emulator In Go. It covers all instructions including undocument, and accurately emulates unused bits in the flag register","archived":false,"fork":false,"pushed_at":"2023-09-03T20:19:42.000Z","size":101,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T09:01:37.341Z","etag":null,"topics":["emaulator","go","golang","processor","z80","zilog"],"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/codesqueak.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":"2022-03-01T21:51:36.000Z","updated_at":"2025-03-05T21:03:22.000Z","dependencies_parsed_at":"2024-06-21T09:05:22.850Z","dependency_job_id":null,"html_url":"https://github.com/codesqueak/z80","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/codesqueak/z80","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesqueak%2Fz80","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesqueak%2Fz80/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesqueak%2Fz80/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesqueak%2Fz80/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesqueak","download_url":"https://codeload.github.com/codesqueak/z80/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesqueak%2Fz80/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265128221,"owners_count":23715621,"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":["emaulator","go","golang","processor","z80","zilog"],"created_at":"2024-11-22T09:18:08.094Z","updated_at":"2025-07-13T10:31:13.421Z","avatar_url":"https://github.com/codesqueak.png","language":"Go","funding_links":["https://www.buymeacoffee.com/codesqueak"],"categories":[],"sub_categories":[],"readme":"# Z80 Processor in Go / Golang\n\n[![build](https://github.com/codesqueak/z80/actions/workflows/build.yml/badge.svg)](https://github.com/codesqueak/z80/actions/workflows/build.yml)\n[![CodeQL](https://github.com/codesqueak/z80/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/codesqueak/z80/actions/workflows/codeql-analysis.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\nThis is an implementation of the Mostek / Zilog Z80 processor NMOS version in Go\n\nIf you find this project useful, you may want to [__Buy me a\nCoffee!__ :coffee:](https://www.buymeacoffee.com/codesqueak) Thanks :thumbsup:\n\n## How to use\n\n### Get the library\n\nAdd this:\n\n```\ngo get  github.com/codesqueak/z80@v1.2.0 \n```\n\n### In project code\n\nAdd this (depending on what bits you need)\n\n```\nimport (\n\t\"github.com/codesqueak/z80/processor/pkg\"\n\t\"github.com/codesqueak/z80/processor/pkg/hw\"\n)\n```\n\n**_github.com/codesqueak/z80/processor/pkg_** - contains processor methods\n\n**_github.com/codesqueak/z80/processor/pkg/hw_** - contains interface definitions for Memory and I/O\n\n## Undocumented instruction\n\nThe code attempts to faithfully reproduce the numerous undocumented instructions in the Z80. I have tested against a\nreal device but if you find any issues, let me know.\n\n## How to make a machine\n\nTo make a machine you need three components, the CPU, Memory and I/O. To see a simple example, look at the test in\n`core_instructions_test.go`.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesqueak%2Fz80","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesqueak%2Fz80","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesqueak%2Fz80/lists"}