{"id":21328444,"url":"https://github.com/mrcook/retroio","last_synced_at":"2026-03-08T18:31:57.557Z","repository":{"id":67278585,"uuid":"123984527","full_name":"mrcook/retroio","owner":"mrcook","description":"CLI utility for reading 8-bit emulator disk and tape images (ZX Spectrum, C64, Amstrad)","archived":false,"fork":false,"pushed_at":"2022-09-12T19:19:00.000Z","size":471,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T01:59:49.277Z","etag":null,"topics":["8-bit","8bit","amstrad","c64","cli","commodore","d64","emulators","go","golang","retro","spectrum","tzx","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/mrcook.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}},"created_at":"2018-03-05T22:02:53.000Z","updated_at":"2024-04-20T16:44:40.000Z","dependencies_parsed_at":"2023-07-13T03:34:19.051Z","dependency_job_id":null,"html_url":"https://github.com/mrcook/retroio","commit_stats":null,"previous_names":["mrcook/tzxit"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcook%2Fretroio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcook%2Fretroio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcook%2Fretroio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcook%2Fretroio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrcook","download_url":"https://codeload.github.com/mrcook/retroio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225806124,"owners_count":17527051,"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":["8-bit","8bit","amstrad","c64","cli","commodore","d64","emulators","go","golang","retro","spectrum","tzx","zx-spectrum"],"created_at":"2024-11-21T21:29:00.469Z","updated_at":"2026-03-08T18:31:57.512Z","avatar_url":"https://github.com/mrcook.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RetroIO (rio)\n\nA command-line utility written in the Go programming language for working\nwith disk and cassette tape files used by emulators of home computers from\nthe 1980s.\n\nOne example would be `tzx` tapes from the ZX Spectrum 8-bit home computer.\n\n\n## Supported Media and Commands\n\n\n### Directory Command\n\n* Amstrad:      `DSK`\n* Commodore 64: `D64`, `D71`, `D81`\n\nThe `dir` command reads a disk and prints the directory listing to the terminal.\nAny hidden/scratch files will also be displayed.\n\n```sh\n$ rio c64 dir super-mario-bros64.d64\n\nLOAD\"$\",8\nSEARCHING FOR $\nLOADING\nREADY.\nLIST\n\n0 \"SUPER MARIO BROS\" .  4 \n192  \"SUPER M. BROS.64\" PRG\n59   \"SMB.64 DOCS\"      PRG\n0    \"                \" DEL\n0    \"     ¦¦¦¦¦      \" DEL\n0    \"    ¦¦¦¦¦¦¦¦¦   \" DEL\n0    \"    ---vv-v     \" DEL\n0    \"   -v-vvv-vvv   \" DEL\n0    \"   -v--vvv-vvv  \" DEL\n0    \"   --vvvv----   \" DEL\n0    \"     vvvvvvv    \" DEL\n0    \"    --¦---      \" DEL\n0    \"   ---¦--¦---   \" DEL\n0    \"  ----¦¦¦¦----  \" DEL\n0    \"  vv-¦v¦¦v¦-vv  \" DEL\n0    \"  vvv¦¦¦¦¦¦vvv  \" DEL\n0    \"  vv¦¦¦¦¦¦¦¦vv  \" DEL\n0    \"    ¦¦¦  ¦¦¦    \" DEL\n0    \"   ---    ---   \" DEL\n0    \"  ----    ----  \" DEL\n0    \"                \" DEL\n428 BLOCKS FREE.\n```\n\n\n### Geometry Command\n\n* Amstrad:      `DSK`, `CDT`\n* Commodore 64: `D64`, `D71`, `D81`, `T64`, `TAP`\n* ZX Spectrum:  `TZX`, `TAP`, `TRD`\n\nThe `geometry` command will read and display core metadata about the layout\nof the media. This can be disk track and sector details, or the header and\nblock information from a cassette tape.\n\n```sh\n$ rio spectrum geometry skool-daze.tzx\n\nTZX processing complete!\n\nARCHIVE INFORMATION:\n  Title     : Skool Daze\n  Publisher : Microsphere\n  Authors   : David S. Reidy, Keith Warrington\n  Year      : 1984\n  Loader    : Microsphere\n  Comment   : Timing corrected by Mikie.\n\nDATA BLOCKS:\n#1 Standard Speed Data : 19 bytes, pause for 970 ms.\n   - Header       : BASIC Program\n   - Filename     : skooldaze\n   - AutoStartLine: 0\n#2 Standard Speed Data : 333 bytes, pause for 5981 ms.\n   - Standard Data: 331 bytes\n#3 Turbo Speed Data    : 82109 bytes, pause for 0 ms.\n\nTZX revision: 1.10\n```\n\n\n### Read Command\n\n* ZX Spectrum: `TZX` and `TAP`\n\nThe `read` command will read data contained on the media.\n\nAt present only printing of `BASIC` programs is supported. Simply add the `--bas`\nflag when `read`ing the media image.\n\n_Please note that decoding is currently experimental and the output may not be\nconsidered valid BASIC, and may even be garbled or missing completely._\n\n```sh\n$ rio spectrum read --bas manic-miner.tzx\n\nBASIC PROGRAMS:\n\nBLK#02: ManicMiner\n  10  CLEAR 30000\n  20  PAPER 0: BORDER 0: INK 0: CLS : LOAD \"\"CODE : LOAD \"\"CODE \n  30  RANDOMIZE USR 33792\n```\n\n## Installation\n\n    $ go get -u -v github.com/mrcook/retroio/...\n\nTo install the app after manually cloning the repository you must first change to the `rio` directory:\n\n    $ cd retroio/rio\n    $ go install\n\n\n## Usage\n\n    $ rio help\n\nTo display a list of commands\n\nNote: the correct media type will be set for the requested system based\non the file extension, however this can be overridden with the `--media` flag.\n\n\n## LICENSE\n\nCopyright (c) 2018-2020 Michael R. Cook. All rights reserved.\n\nThis work is licensed under the terms of the MIT license.\nFor a copy, see \u003chttps://opensource.org/licenses/MIT\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcook%2Fretroio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrcook%2Fretroio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcook%2Fretroio/lists"}