X16 Cheatsheet

Tutorials and help articles.

(Posts require approval. See pinned post.)
Forum rules
Post guides, tutorials, and other instructional content here.

This topic area requires approval, so please be patient while we review content to make sure it fits the expectations for this topic area.

Tech support questions should be asked in Hardware or Software support.
TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Re: X16 Cheatsheet

Post 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.
mobluse
Posts: 175
Joined: Tue Aug 04, 2020 2:16 pm
Location: Lund, Sweden
Contact:

Re: X16 Cheatsheet

Post 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
X16&C64 Quiz: Try It Now! Huge Char Demo: Try It Now! DECPS: Try It Now! Aritm: Try It Now!
Martin Schmalenbach
Posts: 140
Joined: Tue Jul 21, 2020 10:08 pm

Re: X16 Cheatsheet

Post 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!
TomXP411
Posts: 1781
Joined: Tue May 19, 2020 8:49 pm

Re: X16 Cheatsheet

Post 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.
DragWx
Posts: 342
Joined: Tue Mar 07, 2023 9:07 pm

Re: X16 Cheatsheet

Post 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. ;)
Martin Schmalenbach
Posts: 140
Joined: Tue Jul 21, 2020 10:08 pm

Re: X16 Cheatsheet

Post by Martin Schmalenbach »

Thanks Tom - that's all I need to know for now - the hardware looks like it supports those instructions.
Post Reply