Thought I would make a thread with some useful information for programming the 6502.
Links
http://6502.org/tutorials/6502opcodes.html
I find this page pretty useful when I need to look up something.
http://www.emulator101.com/6502-addressing-modes/
This page explains the addressing modes in a nice way.
I found this when I needed to understand how indexed indirect works.
I use indirect indexed pretty often, but never indexed indirect.
http://www.ataripreservation.org/websit ... lopc31.txt
A little text describing the illegal opcodes of the 6502. Maybe you shouldn't be using them, but it's fun
I'm not sure how accurate this is or if there's a better page out there.
Does anyone else got any nice links?
6502 Tips, Tricks and Links
Re: 6502 Tips, Tricks and Links
This is extremely useful information for people like me, trying to learn the 6502 programming.
Much appreciated
Much appreciated
Re: 6502 Tips, Tricks and Links
I give a lot people this link:
http://www.6502asm.com
Is a complete Online Emulator with a lot samples.
http://www.6502asm.com
Is a complete Online Emulator with a lot samples.
Re: 6502 Tips, Tricks and Links
Wow it's gorgeous!!Mobsie wrote:I give a lot people this link:
http://www.6502asm.com
Is a complete Online Emulator with a lot samples.
Re: 6502 Tips, Tricks and Links
Have you ever found a use for that addressing mode, some kind of jump table in zeropage?TBCTBC wrote:I needed to understand how indexed indirect works.
The irony is that indirect indexed mode ($nn),y is a staple, something you use very often for dynamic programming and perhaps even more so when dealing with mostly ROM oriented software, while indexed indirect mode ($nn,x) is something I still really haven't found a reason to use.
Re: 6502 Tips, Tricks and Links
Yes i also use only indirect indexed mode.
For example in my tile-map engine i use tables with the direct screen address to send to the VDP reg.
And for all kinds of calculation or shifting.
For example in my tile-map engine i use tables with the direct screen address to send to the VDP reg.
And for all kinds of calculation or shifting.
Re: 6502 Tips, Tricks and Links
Nope, it's almost useless I thought I could use it for something, but it turned out I didn't need it.carlsson wrote:Have you ever found a use for that addressing mode, some kind of jump table in zeropage?TBCTBC wrote:I needed to understand how indexed indirect works.