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!

  • SanctimoniousApe@lemmings.world
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    22 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.

  • Dave.@aussie.zone
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    22 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.

  • xyzzy@lemmy.today
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    22 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.

  • stingpie@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    22 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.

  • pastermil@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    21 days 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.