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…
Edit: Thank you all for Commenting! I’ll try out the many Ideas you all had soon and see what works best with me! Thank you all for the Suggestions!
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.
I stan this one: https://archive.org/details/6502-assembly-language-programming
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.
This project is mostly about building a 6502 but the later videos are more about programming it
Wow, what a place to start!
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.
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.
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