{"id":20361137,"url":"https://github.com/kevinthecheung/py8080","last_synced_at":"2025-04-12T04:12:28.135Z","repository":{"id":262876542,"uuid":"356090899","full_name":"kevinthecheung/py8080","owner":"kevinthecheung","description":"8080 emulator in Python","archived":false,"fork":false,"pushed_at":"2022-03-04T01:52:54.000Z","size":574,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T04:12:22.959Z","etag":null,"topics":["8080","basic","cpm","python","retrocomputing"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kevinthecheung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-04-09T00:57:47.000Z","updated_at":"2024-04-16T06:58:08.000Z","dependencies_parsed_at":"2024-11-14T19:47:35.767Z","dependency_job_id":null,"html_url":"https://github.com/kevinthecheung/py8080","commit_stats":null,"previous_names":["kevinthecheung/py8080"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinthecheung%2Fpy8080","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinthecheung%2Fpy8080/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinthecheung%2Fpy8080/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinthecheung%2Fpy8080/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinthecheung","download_url":"https://codeload.github.com/kevinthecheung/py8080/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514205,"owners_count":21116903,"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":["8080","basic","cpm","python","retrocomputing"],"created_at":"2024-11-15T00:00:22.374Z","updated_at":"2025-04-12T04:12:28.093Z","avatar_url":"https://github.com/kevinthecheung.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 8080 Emulator in Python\n\nAn Intel 8080 emulator written in Python. It runs Altair BASIC and CP/M! It\neven passes 8080EXER!\n\n## Screenshots\n\nWordstar on CP/M on my 8080 emulator on Python on Windows:\n![Wordstar on CP/M on my 8080 emulator on Python on Windows](wordstar.png)\n\nHunt the Wumpus on Altair 8K BASIC on my 8080 emulator on Python on Windows:\n![Hunt the Wumpus on Altair BASIC on my 8080 emulator on Python on Windows](wumpus.png)\n\nPassing 8080 instruction exerciser tests:\n![Passing 8080 instruction exerciser tests](8080exer.png)\n\n## Running Altair BASIC\n\nTo run Altair BASIC, just run `altair_basic.py`:\n\n```\npython altair_basic.py\n```\n\nIt will load 8K BASIC by default. Use the `-4`, `-8`, and `-e` options to\nspecify 4K, 8K, or Extended BASIC.\n\nYou can specify a program to load on start with `-f`:\n\n```\npython altair_basic.py -8 -f wumpus.bas\n```\n\n## Running CP/M\n\nTo run CP/M, first install [PyGame][1]:\n\n```\npoetry install\n```\n\nOr:\n\n```\npip install -U pygame\n```\n\n[1]: https://www.pygame.org/\n\nThen, run `cpm.py`, specifying the disk images to load using the `-da`, `-db`,\n`-dc`, ..., `-dp` options. You'll probably want to set `-da` to\n`cpm_2.2/cpm22py64k.bin` unless you've created your own bootable disk images.\n\n```\npython cpm.py -da cpm_2.2/cpm22py64k.bin -db wordstar.bin\n```\n\nThe image file must be raw images of single-sided single-density 8-inch floppy\ndisks with CP/M 2.2 directory data, such as an image created using\n[cpmtools][3]' default format, `ibm-3740`.\n\n[3]: http://www.moria.de/~michael/cpmtools/\n\n## 8080 instruction exerciser\n\nTo run 8080EX1 without CP/M, run `8080exer.py`:\n\n```\npython 8080exer.py\n```\n\n## Resources\n\n- [Altair BASIC programs](https://deramp.com/downloads/altair/software/basic_programs/)\n  on deramp.com\n- [CP/M 2.2 manual](http://www.cpm.z80.de/manuals/archive/cpm22htm/index.htm)\n- [Dave's Old Computers - Disk/Software Image Archive](http://dunfield.classiccmp.org/img/index.htm)\n- [Retrocomputing Archive - Commercial CP/M Software](http://www.retroarchive.org/cpm/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinthecheung%2Fpy8080","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinthecheung%2Fpy8080","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinthecheung%2Fpy8080/lists"}