Page 2 of 2
Re: X16 Cheatsheet
Posted: Wed Jun 28, 2023 3:58 pm
by TomXP411
DragWx wrote: ↑Wed Jun 28, 2023 3:40 pm
If you're looking for an opcode reference sheet for the 65C02,
this seems to fit the bill pretty nicely while we wait.
That's a great find. I've been looking at 6502.org, which lists the 65C02 opcodes as an addendum, so I always have to check two separate sites for relevant opcodes.
This should simplify that. A lot.
Re: X16 Cheatsheet
Posted: Wed Jun 28, 2023 6:50 pm
by mobluse
This is not an X16 cheat sheet, but a cheat sheet for its CPU: 65C02:
https://github.com/Oleg-Imanilov/cheat- ... -65C02.png
Re: X16 Cheatsheet
Posted: Fri Jun 30, 2023 4:56 am
by Martin Schmalenbach
OK - I need some clarification here...
The hardware description on the Texelec site for ordering the dev bundle states that an 8-bit 65C02 CPU at 8 MHz is used. The Programmer's Reference Guide says the same, yet links actually point to the use of the WDC 65C02S, which has the extra bit set/reset and testing/branching instructions that are not supported in the 65C02.
Which one are we actually using?
I'd like to make use of these bit-wise instructions!
Re: X16 Cheatsheet
Posted: Fri Jun 30, 2023 7:52 am
by TomXP411
Martin Schmalenbach wrote: ↑Fri Jun 30, 2023 4:56 am
OK - I need some clarification here...
The hardware description on the Texelec site for ordering the dev bundle states that an 8-bit 65C02 CPU at 8 MHz is used. The Programmer's Reference Guide says the same, yet links actually point to the use of the WDC 65C02S, which has the extra bit set/reset and testing/branching instructions that are not supported in the 65C02.
Which one are we actually using?
I'd like to make use of these bit-wise instructions!
My system has an "S" CPU. It's a W65C02S6TPG–14.
What I don't know is if the emulator handles those instructions, at the moment.
Re: X16 Cheatsheet
Posted: Fri Jun 30, 2023 5:19 pm
by DragWx
TomXP411 wrote: ↑Fri Jun 30, 2023 7:52 am
What I don't know is if the emulator handles those instructions, at the moment.
I'm pretty sure it does, based on the source code I just looked at.
The WDC 65c02s (i.e., the CPU that is currently manufactured) is the correct instruction set, also referred to as just "65c02", not to be confused with the 65sc02 which is is missing the extra bit testing/branching/setting/resetting instructions, not to be confused with the Rockwell R65c02, which is missing STP and WAI.
I see now that the reference I linked seems to call the 65sc02 just "65c02", with "65c02s" called as-is instead, so maybe that's the rule of thumb: if your options are "65c02" and "65sc02", you want "65c02". If your options are "65c02" and "65c02s", you want "65c02s".
Did everyone get all that? It'll be on the test later.
Re: X16 Cheatsheet
Posted: Fri Jun 30, 2023 9:47 pm
by Martin Schmalenbach
Thanks Tom - that's all I need to know for now - the hardware looks like it supports those instructions.