Hacker News new | past | comments | ask | show | jobs | submit
Playing with 6502 assembly.

I have a PAL-2 [1] (a modern KIM-1 re-creation) and started learning 6502 by entering programs from The First Book of KIM [2].

I wanted to be able to compile/link the assembly from the book so leaned on Claude to set up a 6502 dev environment for my Mac. I put everything needed (and instructions) on GitHub [3].

(Claude also has been helpful in re-formatting the 6502 code from The First Book of KIM into a more modern style compatible with modern assemblers. A few of these modernized programs I added to the GitHub repo above.)

As it happens, I am also fixing/formatting The First Book of KIM by recreating it in a modern page-layout app (Affinity Publisher). The PDF scans that are out there are not pretty, have OCR errors (and the book itself has mistakes). Hopefully I'll have a new version of the book/PDF out on the internet by the year's end.

[1] https://www.tindie.com/products/kim1/pal-2-a-mos-6502-powere...

[2] https://archive.org/details/The_First_Book_of_KIM/

[3] https://github.com/EngineersNeedArt/KIM-1_Development