{"id":15936809,"url":"https://github.com/cyberzhg/swift-6502-core","last_synced_at":"2025-04-03T19:30:15.105Z","repository":{"id":78867139,"uuid":"325936021","full_name":"CyberZHG/swift-6502-core","owner":"CyberZHG","description":"Emulation of the 6502 CPU","archived":false,"fork":false,"pushed_at":"2021-11-27T08:12:30.000Z","size":151,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T07:41:40.243Z","etag":null,"topics":["6502-emulation","6502-processor"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/CyberZHG.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}},"created_at":"2021-01-01T07:29:11.000Z","updated_at":"2024-11-11T17:30:17.000Z","dependencies_parsed_at":"2023-05-01T06:01:20.642Z","dependency_job_id":null,"html_url":"https://github.com/CyberZHG/swift-6502-core","commit_stats":null,"previous_names":["lwislvislie/swift-6502-core","cyberzhg/swift-6502-core"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberZHG%2Fswift-6502-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberZHG%2Fswift-6502-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberZHG%2Fswift-6502-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberZHG%2Fswift-6502-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberZHG","download_url":"https://codeload.github.com/CyberZHG/swift-6502-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247065013,"owners_count":20877686,"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":["6502-emulation","6502-processor"],"created_at":"2024-10-07T04:40:51.503Z","updated_at":"2025-04-03T19:30:15.061Z","avatar_url":"https://github.com/CyberZHG.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPU6502Core\n\nEmulation of the 6502 CPU.\n\n```swift\nimport CPU6502Core\n\nvar cpu = CPU6502()\nvar memory = PlainMemory()\n\nmemory.setBytes(start: 0x8000, bytes: [0xA9, 0x0A])  // LDA #10\ncpu.PC = 0x8000\nlet actualCycle = try self.cpu.execute(memory, maxCycle: 2)\n// `actualCycle` will be 2\n// `cpu.PC` will be 0x8002\n// `cpu.A` will be 0x0A\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberzhg%2Fswift-6502-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberzhg%2Fswift-6502-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberzhg%2Fswift-6502-core/lists"}