Dirty tricks 6502 programmers use
nurpax.github.io
Dirty tricks 6502 programmers use
1–10 of 63 posts
Re: Dirty tricks 6502 programmers use
#26502 is still my favorite architecture, even though I've done assembly language programming (professionally!) on many platforms in the past 35 years.
Re: Dirty tricks 6502 programmers use
#3EDIT: That’s not a dig against the 6502. I still fondly remember leaning BASIC in my C64 and wish now I had ventured into Assembly with it. By today’s standards it seems to have a simpler and more approachable instruction set so I’m wondering if there aren’t products I could hack on to learn Assembly with it. Or maybe I should just break out my old Commie.
Re: Dirty tricks 6502 programmers use
#4On the beeb we had our own set of tricks specific to the memory layout and ROM of our beloved beige and black machines.
Re: Dirty tricks 6502 programmers use
#5What, if any, modern products still use the 6502? EDIT: That’s not a dig against the 6502. I still fondly remember leaning BASIC in my C64 and wish now I had ventured into Assembly with it. By today’s standards it seems to have a simpler and more approachable instruction set so I’m wondering if there aren’t products I could hack on to learn Assembly with it. Or maybe I should just break out my old Commie.
Re: Dirty tricks 6502 programmers use
#6So assembly programmers may go for the more kludgy looking code as the execution far outpaces the optimized byte count version. Ive heard of such things in video timing and game loops.
Re: Dirty tricks 6502 programmers use
#7Not to belittle the article, because it's definitely interesting. But as an ex-BBC 6502 programmer, my nitpick here would be that the title should really be named "Dirty tricks C64 6502 programmers use". On the beeb we had our own set of tricks specific to the memory layout and ROM of our beloved beige and black machines.
In that case, probably Dirty Tricks 6510 Programmers Use would be even better.
Re: Dirty tricks 6502 programmers use
#8What, if any, modern products still use the 6502? EDIT: That’s not a dig against the 6502. I still fondly remember leaning BASIC in my C64 and wish now I had ventured into Assembly with it. By today’s standards it seems to have a simpler and more approachable instruction set so I’m wondering if there aren’t products I could hack on to learn Assembly with it. Or maybe I should just break out my old Commie.
The 65C816 is still being made, so someone must use it for something.
Re: Dirty tricks 6502 programmers use
#9Thanks! 6502 is still my favorite architecture, even though I've done assembly language programming (professionally!) on many platforms in the past 35 years.
Re: Dirty tricks 6502 programmers use
#10There can be a significant trade-off on size vs speed, the more tricks you do to shave down bytes usually adds to the complexity of the iterations. So assembly programmers may go for the more kludgy looking code as the execution far outpaces the optimized byte count version. Ive heard of such things in video timing and game loops.