Apple //e Microprocessor

For discussing the 65xx hardware itself or electronics projects.
Post Reply
Vinci
Posts: 2
Joined: 26 Apr 2022

Apple //e Microprocessor

Post by Vinci »

Hi Guys
i'm looking for a cgs65CE02 to my Apple //e, it is a Commodore version of 65c02, if anyone has one and wants to sell it, leave a message
rpiguy2
Posts: 94
Joined: 06 Apr 2018

Re: Apple //e Microprocessor

Post by rpiguy2 »

Vinci wrote:
Hi Guys
i'm looking for a cgs65CE02 to my Apple //e, it is a Commodore version of 65c02, if anyone has one and wants to sell it, leave a message
That chip was only ever used in the Commodore serial expander for the Amiga 2000. It will be exceedingly hard to find. Especially because it is a 16-bit chip with a full 16-bit stack mode, not just a clone of the 65c02. Therefore, collectors pretty much have bought all of these.
User avatar
Proxy
Posts: 746
Joined: 03 Aug 2018
Location: Germany

Re: Apple //e Microprocessor

Post by Proxy »

honestly with the chances of finding someone who has one of those and is also willing to sell it (likely for a very very high price due to the rarity), it would probably be a lot cheaper and faster to learn hardware design and code up your own 65CE02 softcore for an FPGA.
gfoot
Posts: 871
Joined: 09 Jul 2021

Re: Apple //e Microprocessor

Post by gfoot »

... and then see if you can sell them on eBay
User avatar
Dr Jefyll
Posts: 3525
Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:

Re: Apple //e Microprocessor

Post by Dr Jefyll »

Vinci wrote:
i'm looking for a cgs65CE02 to my Apple //e
You want to put a 'CE02 in an Apple IIe? Isn't that rather a bold experiment? I'm not criticizing the idea, but it certainly provokes my curiosity!

According to Wikipedia, the orininal IIe comes with a plain, ol' 6502, while the Enhanced and Extended IIe's use a 65C02. The 'CE02 is (mostly?*) pin compatible, but the cycle counts for many of the instructions are different (ie, faster), which may present a problem for any code that's timing sensitive. Moreover, according to a link in this post by BigEd, the 'CE02 "has a bug in decimal mode: SBC doesn't quite work."

I might be able to help in your search . But maybe you could share your plans with us, please. :)

-- Jeff

*- the 'CE02 datasheet mentions DMA capability, which to me suggests the chip has a BE input. However, the pinout shown is identical to that for a 6502 -- ie, no BE pin.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: Apple //e Microprocessor

Post by BigDumbDinosaur »

Dr Jefyll wrote:
The 'CE02 is (mostly?*) pin compatible, but the cycle counts for many of the instructions are different (ie, faster), which may present a problem for any code that's timing sensitive.

That would most likely be the disk subsystem, which, among other things, was dependent on the 6502’s bus behavior during intermediate (“dead”) cycles in an instruction. Recall that when Bill Mensch designed the 65C816 he got rid of dead cycle bus behavior. However, Apple's disk code depended on it, so the bus shenanigans had to stay.

Quote:
the 'CE02 datasheet mentions DMA capability, which to me suggests the chip has a BE input. However, the pinout shown is identical to that for a 6502 -- ie, no BE pin.

That was likely wishful thinking on CSG’s part. Aside from the non-existent BE, I don't see anything else in the device’s specs that would suggest any kind of DMA capability. In any case, Commodore had one foot in the grave by the time the CE02 made it off the drawing board. They had too much invested in the Amiga and the eight-bit crowd there was definitely suckling on the hind teat, budget-wise.

All that said, I fail to see any good reason for trying to adapt the 65CE02 to anything. Disregarding its value as a collector’s item (which for me would be approximately $0.00), it was very much an experimental MPU, complete with errata (as mentioned by Jeff). Other than some faster instructions (as well as new ones that replace previously-undocumented ones), I'm not seeing any benefit to adapting it to the IIe.

I’d think if you wanted to soup up your IIe, adapting the 65C816 to it would be more profitable. There’s a lot to be said for 16-bit capability, even with a system that natively can address a maximum of 64KB. However, that the 816 has no undocumented instructions may not bode well in the IIe, unless it was originally equipped with a 65C02.
Last edited by BigDumbDinosaur on Sat Apr 30, 2022 6:51 am, edited 1 time in total.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Apple //e Microprocessor

Post by BigEd »

Welcome, Vinci! I hope you have success in your experiments. (As Jeff notes, what you propose is not totally straightforward.)

(Thanks, Jeff, for the link back to that earlier post: I've now repaired the links there.)
Post Reply