{"id":18419028,"url":"https://github.com/redcode/run-jsmoo-z80-test","last_synced_at":"2025-04-13T06:52:23.348Z","repository":{"id":216172313,"uuid":"740595373","full_name":"redcode/run-jsmoo-z80-test","owner":"redcode","description":"A Ruby script for running the Z80 tests included in JSMoo","archived":false,"fork":false,"pushed_at":"2024-02-09T01:22:10.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T03:17:52.363Z","etag":null,"topics":["cpu","cpu-emulation","emulation","ruby","test","tests","z80","z80-emulation","zilog"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redcode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-0BSD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-08T17:02:22.000Z","updated_at":"2024-01-10T20:08:41.000Z","dependencies_parsed_at":"2024-02-09T02:27:05.307Z","dependency_job_id":"11fb9da8-15d3-4850-900d-80704b8dda25","html_url":"https://github.com/redcode/run-jsmoo-z80-test","commit_stats":null,"previous_names":["redcode/run-jsmoo-z80-test"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2Frun-jsmoo-z80-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2Frun-jsmoo-z80-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2Frun-jsmoo-z80-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redcode%2Frun-jsmoo-z80-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redcode","download_url":"https://codeload.github.com/redcode/run-jsmoo-z80-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675455,"owners_count":21143767,"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":["cpu","cpu-emulation","emulation","ruby","test","tests","z80","z80-emulation","zilog"],"created_at":"2024-11-06T04:15:35.808Z","updated_at":"2025-04-13T06:52:23.326Z","avatar_url":"https://github.com/redcode.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `run-jsmoo-z80-test`\n\nThis is a small Ruby script that runs the [Z80 tests](https://github.com/raddad772/jsmoo/tree/main/misc/tests/GeneratedTests/z80) included in [JSMoo](https://github.com/raddad772/jsmoo). It has been written at the request of the [author](https://github.com/raddad772) of JSMoo to check the validity of the tests and help in their improvement. It requires the [`json`](https://rubygems.org/gems/json) and [`z80`](https://rubygems.org/gems/z80) gems.\n\n## Usage\n\n```shell\nrun-jsmoo-z80-test \u003cJSON-file\u003e...\n```\n\nIf `-` is passed as an argument, the script will read the JSON data from the standard input, run the tests it contains, and exit. Subsequent arguments will be ignored.\n\nExamples:\n\n```shell\n# Run the script with specific JSON files\nrun-jsmoo-z80-test file1.json file2.json\n\n# Run the script with JSON data from standard input\necho '\u003cJSON\u003e' | run-jsmoo-z80-test -\n```\n\n## TL;DR\n\nOnce you have installed the dependencies, clone this repository and the main branch of the JSMoo repository. Next, run the script, passing it the paths to the JSON files you want to process:\n\n```shell\nmkdir work \u0026\u0026 cd work\ngit clone https://github.com/redcode/run-jsmoo-z80-test.git\ngit clone https://github.com/raddad772/jsmoo.git\nrun-jsmoo-z80-test/run-jsmoo-z80-test jsmoo/misc/tests/GeneratedTests/z80/v1/*.json\n```\n\n## Results\n\nThe [`z80`](https://rubygems.org/gems/z80) gem passes the full set of [Z80 tests](https://github.com/raddad772/jsmoo/tree/main/misc/tests/GeneratedTests/z80) included in [JSMoo](https://github.com/raddad772/jsmoo):\n\n```\nRESULTS SUMMARY\nFiles: 1610 in total; 1610 passed\nTests: 1610000 in total; 1610000 passed\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredcode%2Frun-jsmoo-z80-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredcode%2Frun-jsmoo-z80-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredcode%2Frun-jsmoo-z80-test/lists"}