I'm using this http://www.6502.org/tutorials/6502opcodes.html
Also I've used the nesdev wiki.
Search found 21 matches
- Thu May 04, 2017 7:53 am
- Forum: NESemdev
- Topic: Implementing BEQ and other Branch Instructions?
- Replies: 11
- Views: 5655
- Thu May 04, 2017 7:06 am
- Forum: NESemdev
- Topic: Implementing BEQ and other Branch Instructions?
- Replies: 11
- Views: 5655
Implementing BEQ and other Branch Instructions?
I've read everywhere and I can't seem to find proper documentation for them. I read that they're used for looping and are dependent on certain flags, but just from their descriptions I can't make out exactly which ones. Can someone help me here?
- Mon May 01, 2017 6:49 pm
- Forum: NESemdev
- Topic: Initial Reset Vector not a valid opcode?
- Replies: 5
- Views: 3136
Re: Initial Reset Vector not a valid opcode?
I think I just now understood what the opcode matrix on the wiki means. I found another table that just lists values and their opcodes, and I realize that the table columns are just offsets from the rows, and the opcode is the row+column added together. Sorry, this is my first time doing emulation o...
- Mon May 01, 2017 6:39 pm
- Forum: NESemdev
- Topic: Initial Reset Vector not a valid opcode?
- Replies: 5
- Views: 3136
Re: Initial Reset Vector not a valid opcode?
the opcode is 78 now. is that still valid? I'm not entirely sure.
- Mon May 01, 2017 6:38 pm
- Forum: NESemdev
- Topic: Initial Reset Vector not a valid opcode?
- Replies: 5
- Views: 3136
Re: Initial Reset Vector not a valid opcode?
I completely forgot, lol. Thanks!Sour wrote:You're interpreting the bytes in the wrong order - the reset vector points to $C79E, not $9EC7.
The 6502, like x86 CPUs, uses little endian encoding.
- Mon May 01, 2017 4:15 pm
- Forum: NESemdev
- Topic: Initial Reset Vector not a valid opcode?
- Replies: 5
- Views: 3136
Initial Reset Vector not a valid opcode?
When I load a rom into memory, I mirror it to fit into the whole Cartridge space as per usual. The reset vector at $FFFC points to $9EC7 which is value 0x2B. As far as I can tell this is not a valid opcode. Can someone help me with this? (Btw the rom is Donkey Kong).