{"id":23096802,"url":"https://github.com/lvntky/c6502","last_synced_at":"2025-08-16T12:31:51.481Z","repository":{"id":177946681,"uuid":"661119071","full_name":"lvntky/c6502","owner":"lvntky","description":"Emulator/Decompiler for the 6502 CPU written in C","archived":false,"fork":false,"pushed_at":"2024-10-18T06:39:43.000Z","size":66,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T16:59:23.197Z","etag":null,"topics":["6502","c","cpu","emulator","mos","retro"],"latest_commit_sha":null,"homepage":"","language":"C","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/lvntky.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-01T21:09:53.000Z","updated_at":"2024-10-18T06:39:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2ac4bc7-dfb7-4b17-ac36-e6441dfb43b8","html_url":"https://github.com/lvntky/c6502","commit_stats":null,"previous_names":["lvntky/c6502"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvntky%2Fc6502","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvntky%2Fc6502/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvntky%2Fc6502/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvntky%2Fc6502/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvntky","download_url":"https://codeload.github.com/lvntky/c6502/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230037813,"owners_count":18163196,"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","c","cpu","emulator","mos","retro"],"created_at":"2024-12-16T22:48:25.597Z","updated_at":"2024-12-16T22:48:26.282Z","avatar_url":"https://github.com/lvntky.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c6502 | 6502 CPU Emulator\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a5c2e47531864725850a9e7e30705971)](https://app.codacy.com/gh/lvntky/c6502/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\nThis is a simple emulator for the 6502 CPU written in C. The emulator allows you to run programs written for the 6502 architecture on modern systems.\n\n## Features\n\n- Accurate emulation of the 6502 CPU, including all official instructions and addressing modes.\n- Support for common hardware devices such as RAM and ROM.\n- Ability to load and execute binary programs written for the 6502.\n\n## Requirements\n\nTo build and run the emulator, you'll need the following:\n\n- CMake (version 3.22.1 or higher)\n- A C compiler compatible with the C99 standard.\n- A Linux System.\n- Basic knowledge of the C programming language.\n\n## Building the Emulator\n\nTo build the emulator using CMake, follow these steps:\n\n1. Clone the repository or download the source code.\n2. Navigate to the project directory.\n3. Open a terminal or command prompt in the project directory.\n4. Create a build directory: `mkdir build`\n5. Build the project `cmake -B ./build -S ./`\n6. Go to build directory: `make all`\n\nThis will generate the executable file for the emulator.\n\n## Usage\n\nTo use the emulator, execute the generated binary from the command line. The following options are available:\n\n- `./c6502 \u003cfilename\u003e`: Load a binary program into memory.\n\n\n## Contributing\n\nContributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on the project's GitHub repository.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgments\n\n- [Obelisk/Archive.org](https://web.archive.org/web/20190611003956/http://www.obelisk.me.uk/6502/)\n\n## Contact\n\nIf you have any questions or need further assistance, feel free to reach out to the project maintainer at `leventkayadev@gmail.com`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvntky%2Fc6502","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvntky%2Fc6502","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvntky%2Fc6502/lists"}