26
submitted 3 days ago by Mr_Mofu to c/retrocomputing@lemmy.sdf.org

I've had the idea to try and learn how to Program 6502 Assembly for my Commodore PET, but I'm a little lost on what the best source is on learning this stuff, especially for a beginner who is yet unfamiliar with its full Architecture and Quirks!

Thus far I've tried looking at Books from the PETs Period, but those do expect quite a bit of pre-knowledge in Computing, which for me includes a tiny bit of Python and Commodore Basic...

top 9 comments
sorted by: hot top controversial new old
[-] pastermil@sh.itjust.works 1 points 1 day ago

I remember reading thru Apple II Assembly by Hyde or something. It's been a while, and I didn't have the brain power back then (now I do, but not the time). I remember it got some funky illustration making the book quite a fun one to go thru.

[-] SanctimoniousApe@lemmings.world 11 points 3 days ago* (last edited 3 days ago)

The Internet Archive has tons of old scanned books on the subject. Computers were new to a LOT of people at the time most of these were published, so they usually assume minimal knowledge.

Personally, I grew up on COMPUTE! magazine, and found their books to be very good when I was a kid learning this stuff.

[-] dgriffith@aussie.zone 7 points 3 days ago* (last edited 2 days ago)

There's a nice 6502 assembly intro + Sim here :

https://skilldrick.github.io/easy6502/

Added edit: I mean, it's not PET-specific, but it's cool to have a little sim with a little chunk of display memory to play with.

Also you'll quickly find that assembly is extremely verbose. Learn how to load registers and jump to (and return from) subroutines as quick as you can to prevent endless amounts of repetitive assembly.

[-] CanadaPlus@lemmy.sdf.org 2 points 2 days ago

Wow, what a place to start!

[-] xyzzy@lemmy.today 5 points 3 days ago* (last edited 3 days ago)

If you have little to no experience with programming at all, I suggest trying the assembly game TIS-100 first to wrap your head around the concepts, rather than trying to learn 6502 right away.

I would pair it with this tutorial, which is really just a bottom-up programming course.

Python is very different from assembly, but assembly isn't hard to learn if you apply yourself and take it slow. It will seem kind of abstract without something like the game above to challenge your understanding.

[-] lama@lemmy.world 3 points 3 days ago

This project is mostly about building a 6502 but the later videos are more about programming it

https://eater.net/6502

[-] stingpie@lemmy.world 2 points 2 days ago

This guy has made a whole lot of tutorials for various assembly languages and systems, including the pet. The website has text tutorials, but if you prefer he also has a YouTube channel.

[-] XTL@sopuli.xyz 1 points 2 days ago

It's a bit off the mark, but I'll mention the Nybbles and Bytes youtube videos because I think they're pretty neat.

https://www.youtube.com/playlist?list=PLKrMlwGUrEZhdcJX5gAYAsBFGl-nLvmMM

this post was submitted on 25 Aug 2025
26 points (100.0% liked)

retrocomputing

5348 readers
2 users here now

Discussions on vintage and retrocomputing

founded 2 years ago
MODERATORS