Easy 6502
skilldrick.github.io
skilldrick.github.io
With a modern computer that is simply unthinkable.
Easy 6502 - https://news.ycombinator.com/item?id=31548311 - May 2022 (28 comments)
Easy 6502 – How to get started writing 6502 assembly language - https://news.ycombinator.com/item?id=13324978 - Jan 2017 (84 comments)
Easy 6502 - https://news.ycombinator.com/item?id=9761213 - June 2015 (9 comments)
Easy 6502 - https://news.ycombinator.com/item?id=6345730 - Sept 2013 (28 comments)
Easy 6502 - https://news.ycombinator.com/item?id=5180937 - Feb 2013 (59 comments)
Easy 6502 - Learn the 6502 Assembly Language - https://news.ycombinator.com/item?id=4213806 - July 2012 (78 comments)
> I believe 6502 instruction set is a good first assembly language
And personally, I think the Z80 is easier to understand (no zero-page, no limited stack size, etc.) but that is probably just me, though I did write professional 6502 and Z80 code way back when.
1. A bunch of numbered "local" variables
2. Data cache with numbered entries
3. 255 numbered registers
IIRC it was mentioned here on HN, but sadly I lost the reference.
EDIT: Formatting.
255? Isn’t that 256? There’s nothing special about address zero on 6502.
(So there are just 254 usable zeropage addresses on the 6510, while on a stock 6502 and other variants the full complement of 256 zeropage addresses is usable.)
https://m.youtube.com/watch?v=p60L-TOecik&t=1042s
I think I can start in C and check the -s assembly code too, and gradually be comfortable with writing directly in assembly. After all a lot of the code is just function calls into libraries.
Oddly omitting the standard-setting Atari 8-bit computer line...