{"id":16538782,"url":"https://github.com/sbabcoc/6502-emulator","last_synced_at":"2025-06-30T06:08:25.560Z","repository":{"id":79678765,"uuid":"480882754","full_name":"sbabcoc/6502-Emulator","owner":"sbabcoc","description":"This repository contains Intel x86 code to emulate the instruction set of the 6502 processor","archived":false,"fork":false,"pushed_at":"2024-08-12T03:20:38.000Z","size":1582,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T16:50:19.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Assembly","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/sbabcoc.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":"2022-04-12T16:10:06.000Z","updated_at":"2024-08-12T03:20:40.000Z","dependencies_parsed_at":"2023-05-14T11:30:30.298Z","dependency_job_id":null,"html_url":"https://github.com/sbabcoc/6502-Emulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbabcoc/6502-Emulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcoc%2F6502-Emulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcoc%2F6502-Emulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcoc%2F6502-Emulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcoc%2F6502-Emulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbabcoc","download_url":"https://codeload.github.com/sbabcoc/6502-Emulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcoc%2F6502-Emulator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262720641,"owners_count":23353450,"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":[],"created_at":"2024-10-11T18:46:48.361Z","updated_at":"2025-06-30T06:08:25.521Z","avatar_url":"https://github.com/sbabcoc.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 6502-Emulator\nThis repository contains Intel x86 code to emulate the instruction set of the 6502 processor. In its current state, this repository lacks the implementation to fetch, decode, and process each instruction.\n\nThe source is compatible with Microsoft Macro-Assembler 5.1\n\n\u003e NOTE: The locations of the Zero and Overflow flags are swapped in the 6502\n\u003e       status register image maintained in the _F register.  This is done so\n\u003e       that the process of merging the 8086 flag states into the 6502 status\n\u003e       register image will be as efficient as possible.\n\u003e\n\u003e       The procedures for the PHP (Push processor status on stack) and PLP\n\u003e       (Pull processor status from stack) instructions need to accommodate\n\u003e       the transposition of the Zero and Overflow flags from their defined\n\u003e       6502 positions when storing to or loading from the 6502 stack.\n\u003e\n\u003e                      ---------------------------\n\u003e                     | TO SWAP ZERO AND OVERFLOW |\n\u003e                ---------------------------------------\n\u003e               |       test    cl,ZF_8086 or OF_8086   |\n\u003e               |       jpe     @F                      |\n\u003e               |                                       |\n\u003e               |       xor     cl,ZF_8086 or OF_8086   |\n\u003e               |                                       |\n\u003e               |@@:                                    |\n\u003e                ---------------------------------------\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbabcoc%2F6502-emulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbabcoc%2F6502-emulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbabcoc%2F6502-emulator/lists"}