I have learned 6502 assembler (and assembler) in general with "6502 assembly language programming by Lance A. Leventhal" (1979) [1] and "Apple Machine Language by Don Inman & Kurt Inman" (1981) [2]
For the 'internals' of the machine, I had "What's Where in the Apple: A Complete Guide to the Apple Computer by William F. Luebbert" (1985) amazon:[3]
[1] https://archive.org/details/6502-assembly-language-programmi...
[2] https://archive.org/details/a2-ml
[3] https://www.amazon.de/Whats-Where-Apple-Complete-Computer/dp...
I also had that experience and credit the deep understanding of an early system with intuition in rapidly understanding modern systems.
I had a book, an extremely useful one, "What's Where in the Apple II" which contained a full commented ROM disassembly with all known entry points, what their inputs were and where they stored their output. It was about 2 inches thick when printed. My copy (of course it was photocopied - it was almost impossible to get imported books in Brazil back then) had an extra inch from all the post-it notes, markers, paper notes and so on I added to it.
This happened with the Apple II as well, and made it impossible for Apple to update their system. Even minor changes, from the Apple II to the IIe and IIc, broke some apps. And if an app broke, it was presumed to be the hardware maker's fault.
There was a book entitled "what's where in the Apple II" that documented all known variable locations and entry points in the Apple ROM and DOS. For instance people would just branch directly into weird places in the ROM, or poke directly into memory.