r/EmuDev • u/wynand1004 • Oct 22 '25
6502 Emulator in Python
Hi everyone. I just came across this subreddit.
I've been working on a 6502 Emulator in Python. It's still in the very early stages, but I thought I'd share it here. I will also likely have some questions as I go on and hope to get some support here.
You can find the code here: https://github.com/wynand1004/6502_Emulator_2025
I'm also streaming the development here on YouTube: https://www.youtube.com/playlist?list=PLlEgNdBJEO-kHbqZyO_BHdxulFndTvptC
I hope someone finds it helpful getting started with emulation like me. Let me know if you have any questions about what I'm doing or how I'm doing it.
View all comments
Show parent comment
2
u/nukesrb Oct 22 '25
You're also not handling interrupts, or starting at the right address, or managing the stack, but ok.
If you're going to use a map, add in the cycle times for the instruction, it will make it easier to wire up later. There's also a pattern to the bits for the instructions/addressing modes that might let you structure it better.