https://github.com/macmade/mos-6502-emulator
A MOS 6502 Emulator written in Swift
https://github.com/macmade/mos-6502-emulator
6502 cpu emulator mos mos6502 mostech processor
Last synced: about 1 year ago
JSON representation
A MOS 6502 Emulator written in Swift
- Host: GitHub
- URL: https://github.com/macmade/mos-6502-emulator
- Owner: macmade
- License: mit
- Created: 2023-08-10T18:51:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-31T20:24:52.000Z (almost 3 years ago)
- Last Synced: 2024-11-29T17:38:07.711Z (over 1 year ago)
- Topics: 6502, cpu, emulator, mos, mos6502, mostech, processor
- Language: Swift
- Homepage:
- Size: 22 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
MOS-6502-Emulator
=================
[](https://github.com/macmade/MOS-6502-Emulator/actions/workflows/ci-mac-build.yaml)
[](https://github.com/macmade/MOS-6502-Emulator/actions/workflows/ci-mac-test.yaml)
[](https://github.com/macmade/MOS-6502-Emulator/issues)


[](https://twitter.com/macmade)
[](https://github.com/sponsors/macmade)
### About
A MOS 6502 emulator written in Swift.

**Debugger Shortcuts**
[space] Pause/Step
r Run
z Reset CPU
h Set CPU frequency
+/- Scroll memory up or down
m Edit memory
p Set the PC register
s Set the SP register
a Set the A register
x Set the X register
y Set the Y register
f Set the PS register
k Enter keyboard input
$ Show instructions history
**Cloning:**
This repository uses submodules. Please clone with:
git clone --recursive https://github.com/macmade/MOS-6502-Emulator.git
### MOS 6502 Reference
1. [Introduction](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/1-Introduction.md)
2. [Architecture](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/2-Architecture.md)
3. [Registers](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/3-Registers.md)
4. [Instructions](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/4-Instructions.md)
5. [Addressing](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/5-Addressing.md)
6. [Algorithms](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/6-Algorithms.md)
7. [Reference](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/7-Reference.md)
8. [Downloads](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/8-Downloads.md)
9. [Links](https://github.com/macmade/MOS-6502-Emulator/blob/main/Reference/9-Links.md)
### Datasheets
1. [MOS Microcomputers Hardware Manual](https://github.com/macmade/MOS-6502-Emulator/blob/main/Datasheets/MOS-Microcomputers-Hardware-Manual.pdf)
2. [MOS Microcomputers Programming Manual](https://github.com/macmade/MOS-6502-Emulator/blob/main/Datasheets/MOS-Microcomputers-Programming-Manual.pdf)
3. [Rockwell R650X / R651X](https://github.com/macmade/MOS-6502-Emulator/blob/main/Datasheets/Rockwell-R650X-R651X.pdf)
4. [Synertek SY6500](https://github.com/macmade/MOS-6502-Emulator/blob/main/Datasheets/Synertek-SY6500.pdf)
5. [Motorola MC6820](https://github.com/macmade/MOS-6502-Emulator/blob/main/Datasheets/Motorola-MC6820.pdf)
5. [Apple-1 Operation Manual](https://github.com/macmade/MOS-6502-Emulator/blob/main/Datasheets/Apple-1-Operation-Manual.pdf)
### Useful Links
- http://www.6502.org/
- https://www.c64-wiki.com/
- https://www.nesdev.org/
- https://www.nesdev.org/obelisk-6502-guide/
- https://en.wikibooks.org/wiki/6502_Assembly
- http://skilldrick.github.io/easy6502/
- https://k7mem.com/VC_MEK6800_D1_MC6820_PIA.html
### ROMS
- http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/c64/
- https://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Computers/
- https://www.nesdev.org/wiki/Emulator_tests
License
-------
Project is released under the terms of the MIT License.
Repository Infos
----------------
Owner: Jean-David Gadina - XS-Labs
Web: www.xs-labs.com
Blog: www.noxeos.com
Twitter: @macmade
GitHub: github.com/macmade
LinkedIn: ch.linkedin.com/in/macmade/
StackOverflow: stackoverflow.com/users/182676/macmade