{"id":20521022,"url":"https://github.com/owlinux1000/rust-comet2","last_synced_at":"2026-06-08T16:02:03.021Z","repository":{"id":144322080,"uuid":"122343178","full_name":"owlinux1000/rust-comet2","owner":"owlinux1000","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-21T13:57:26.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T00:26:23.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owlinux1000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-02-21T13:57:03.000Z","updated_at":"2018-02-21T13:57:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"70429325-9993-4e64-afd8-799640b50a5d","html_url":"https://github.com/owlinux1000/rust-comet2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owlinux1000/rust-comet2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2Frust-comet2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2Frust-comet2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2Frust-comet2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2Frust-comet2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owlinux1000","download_url":"https://codeload.github.com/owlinux1000/rust-comet2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owlinux1000%2Frust-comet2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-15T22:25:24.176Z","updated_at":"2026-06-08T16:02:03.004Z","avatar_url":"https://github.com/owlinux1000.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COMET II Emulator written in Rust\n\nRustの勉強用に書いたCOMET IIエミュレータ\n\n## 使い方\n\n### ツールとして\n\n[rust-casl2](https://git.alicemacs.com/chihiro/rust-casl2)で生成したファイルを用いてエミュレータで実行することができます．\n\n```\n$ rust-comet2 sample\n```\n\n### ライブラリとして\n\n```\nextern crate rust_casl2;\nuse rust_casl2::emu::Emu;\n\nfn main() {\n    let mut emu = Emu::new();\n    emu.gr[1] = 0x0;\n    emu.gr[2] = 0xdead;\n    emu.memory[0] = 0x1412; // LD GR1, GR2\n    let code = emu.fetch();\n    emu.execute(code);\n    println!(\"{:x}\", gr[1]); //=\u003e 0xdead\n    println!(\"{:x}\", gr[2]); //=\u003e 0xdead\n}\n```\n\n## 補足\n\n* SVC命令については未実装\n* **Rust初心者なのでRustっぽい書き方を教えてください**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowlinux1000%2Frust-comet2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowlinux1000%2Frust-comet2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowlinux1000%2Frust-comet2/lists"}