Many home computers of the same era came with user manuals which contained chapters on programming because it was something the average user of the day was expected to do with their computer. Although some were awful many were extremely good.
Commodore's own user guide for the C64 was excellent and even covered BASIC programming of sprite graphics and sound. Commodore's programmers reference guide was an amazing resource and still beats most system documentation you get today.
[0] https://r.mprd.se/fup/up/91423-Miner_2049er_Volume_II_(1983)...