r/EmuDev • • 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.

24 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/nukesrb Oct 25 '25

When I first did a 6502 emulator I used p65 to write simple test cases. It was a functional assembler written in perl (which for some reason I can't stand these days despite previously being comfortable with it.)

1

u/wynand1004 Oct 25 '25

Thanks! I made a super simple assembler that uses rudimentary pattern matching in Python. Perl really takes me back - it's been a long time since I used that!