6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue May 21, 2024 8:45 am

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: "New" 6510 from 6502
PostPosted: Sat Dec 03, 2022 10:22 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 5:37 pm
Posts: 22
https://monotech.fwscart.com/MOS_CPU_Replacer_(65108501)/p6083514_21591072.aspx

_________________
MOS


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Sat Dec 03, 2022 11:09 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8441
Location: Southern California
Thanks for the information.  I put it in the head post of the "65xx parts sources, genuine and fake" sticky topic.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Sat Dec 03, 2022 11:19 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 5:37 pm
Posts: 22
No problem, I don't even know if it works, just ordered one... hopium!

_________________
MOS


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Sun Dec 04, 2022 12:41 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8190
Location: Midwestern USA
rupy wrote:
No problem, I don't even know if it works, just ordered one... hopium!

Well, the site does mention some problems, e.g.:

Quote:
A local enthusiast has discovered that using this adapter in 8501 config in their 64K-modded C16, results in Slipstream (https://psytronik.itch.io/slipstream) hanging...

I’d guess one’s definition of “it works” would depend to some extent on how much such problems interfere with the intended application.

One of the things that could be a “gotcha” with these chip replacements is how the 6502 used as the core responds to “illegal” (undocumented) instructions. I seem to recall that someone somewhere mentioned that Rockwell 6502s don’t behave exactly like the genuine MOS Technology parts when confronted with some illegal opcodes. If this is true, it would surely trip up any program relying on them. Of course, the onus is on the software developer who chooses to use the illegal instructions, not the producer of the hardware.

Caveat emptor, as always.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Sun Dec 04, 2022 1:11 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8441
Location: Southern California
It was good of them to tell about the known problems on the front page; so I don't have anything against giving the link to someone who might be interested in trying it.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Sun Dec 04, 2022 7:50 am 
Offline
User avatar

Joined: Fri Aug 03, 2018 5:37 pm
Posts: 22
I was waiting for this chip, it means as long as you heatsink (and/or undervolt) the VIC2 and SID properly you should be able to run your C64 hardware a long time into the future. I'm not a fan of emulation/FPGA, but this is different.

For example I recommend the SL100 version of the PLA.

Also this exposes the differences and the complexity of those in a compact yet explicit way!

Now the only part we need a modern (non FPGA) version of is the CIA:

https://retrocomputing.stackexchange.co ... e-6526-cia

_________________
MOS


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Mon Dec 05, 2022 7:23 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 5:37 pm
Posts: 22
Hm, would this work with the WDC 6502?

https://www.mouser.se/ProductDetail/Wes ... KH5w%3D%3D

_________________
MOS


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Mon Dec 05, 2022 9:12 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8190
Location: Midwestern USA
rupy wrote:
Hm, would this work with the WDC 6502?

https://www.mouser.se/ProductDetail/Wes ... KH5w%3D%3D

Not sure I understand your question. The part to which you linked is the WDC 65C02. WDC never produced an NMOS 6502.

BTW, you should update your profile to indicate where you are located. That link was a non-English page.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Tue Dec 06, 2022 7:45 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10802
Location: England
(That comes across as rather hostile, BDD. If rupy, or anyone, would like to note their location in their profile, they are free to do so, and it's a friendly thing to do. But it's not at all required. Of course, location and language are only loosely correlated, and any of us can apply some common sense or machine translation if faced by a language we don't understand. A link to a Swedish-language site which has a chooser for English as an option is not a great inconvenience. It doesn't even merit a reaction, in my view.)


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Wed Dec 28, 2022 11:00 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 5:37 pm
Posts: 22
So I received the PCB and it's mixed:

In the reloaded v1 motherboard this CPU replacement does not work: http://move.rupy.se/file/20221228_212659.jpg

But in an old breadbin it "works", sort of; many things don't, so far 50/50:

The "bomb jack" I used fails after the intro.

The "rescuing orc" I have also fails mid readme.

That said "power glove" and "duck hunt" worked.

Seems workable and I hope Jacob can keep working on the PCB:

The W65C02 might work (without undocumented opcodes) but you need to cut a trace, I ordered one but I would like the PCB to have pins instead so you can switch without cutting/soldering!

This (together with the new keycaps, which also have their ups and downs, the stem holder is too thin) finalizes my deep dive back into C64 and the 6502. I managed to make a small "demo": https://csdb.dk/release/?id=188442

But I probably wont prioritize the C64 action MMO I was planning. Got 2 MMO engines on modern hardware and they take enough time.

That said: the whole point for which I created an account here is now solved!

I will make my own stack VM! Believe it or not but Java, C#, 6502, Risc-V, ARM everything is just opcodes/instructions in bytes; we don't need more hardware we need better software = VM that runs alot of bytecode without GC = static heap allocation!

_________________
MOS


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Wed Dec 28, 2022 11:45 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3354
Location: Ontario, Canada
rupy wrote:
The W65C02 might work [...] but you need to cut a trace [...] I would like the PCB to have pins instead so you can switch without cutting/soldering!
I suppose it would be nice if the PCB had a jumper setting for this. But instead perhaps you should consider taking the 40-pin W65C02 and bending pin 1 (VPB) sideways slightly so it doesn't engage with the socket. This will have the same effect as cutting the trace... and the effect disappears when a different CPU is inserted.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Wed Dec 28, 2022 11:48 pm 
Offline
User avatar

Joined: Fri Aug 03, 2018 5:37 pm
Posts: 22
Dr Jefyll wrote:
But instead perhaps you should consider taking the 40-pin W65C02 and bending pin 1 (VPB) sideways slightly so it doesn't engage with the socket.


Ok, that's neat... I don't want to break the 65C02 either... but now I know how to fix it.

_________________
MOS


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Thu Dec 29, 2022 5:23 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8190
Location: Midwestern USA
Something else that could give you some trouble is the WDC 65C02’s outputs have aggressive edges, unlike those of NMOS parts. Aggressive edges often provoke ringing and ground bounce, which can be “deadly” in a system with 74LS logic and its poor noise immunity.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Thu Dec 29, 2022 6:12 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8190
Location: Midwestern USA
Dr Jefyll wrote:
rupy wrote:
The W65C02 might work [...] but you need to cut a trace [...] I would like the PCB to have pins instead so you can switch without cutting/soldering!
I suppose it would be nice if the PCB had a jumper setting for this. But instead perhaps you should consider taking the 40-pin W65C02 and bending pin 1 (VPB) sideways slightly so it doesn't engage with the socket. This will have the same effect as cutting the trace... and the effect disappears when a different CPU is inserted.

-- Jeff

I should mention some other pin differences between the WDC 65C02, the Rockwell renditions and the NMOS part. All referenced parts are in DIP packages.

  • Pin 2 (RDY) on all versions of the WDC 65C02 is bi-directional and will be driven low if a WAI instruction is executed (intentionally or otherwise). RDY should be pulled up to VCC with a 3.3k resistor—do not directly connect it to VCC. If RDY is allowed to float, the 65C02 might not run.

  • Pin 5 on all static-core WDC parts and some versions of the Rockwell 65C02 is ML (memory lock), which is an output that is normally high, but will be driven low during portions of read-modify-write instructions. Pin 5 is a no-connect on the NMOS part. You should verify that nothing is indeed connected to it. Otherwise, the MPU could end up DOA due to this pin being inadvertently connected to VCC or ground.

  • Pin 35 on the NMOS and WDC parts is a no-connect. It is also a no-connect on some versions of the Rockwell 65C02. As a fairly general rule, no-connects should not be connected to anything.

  • Pin 36 on the NMOS part, earlier versions of the WDC 65C02 and some versions of the Rockwell 65C02 is a no-connect. On static-core WDC parts and other versions of the Rockwell 65C02, this pin is BE (bus enable), which must be pulled up to VCC during normal operation. If pulled to ground, A0-A15, D0-D7 and RWB will be tri-stated and cease to be outputs. If BE is left floating, there’s no telling what might happen. The usual practice is to tie BE to VCC with a 3.3k resistor.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: "New" 6510 from 6502
PostPosted: Thu Dec 29, 2022 1:41 pm 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 691
Location: Potsdam, DE
BigDumbDinosaur wrote:
  • Pin 36 on the NMOS part, earlier versions of the WDC 65C02 and some versions of the Rockwell 65C02 is a no-connect. On static-core WDC parts and other versions of the Rockwell 65C02, this pin is BE (bus enable), which must be pulled up to VCC during normal operation. If pulled to ground, A0-A15, D0-D7 and RWB will be tri-stated and cease to be outputs. If BE is left floating, there’s no telling what might happen. The usual practice is to tie BE to VCC with a 3.3k resistor.


I recently discovered this the hard way: on a w65c02 part (purchased about ten years ago but not used until last week!) if BE is left unconnected per the NMOS datasheet, the output pins are all apparently low - certainly there is no action on them. At least it's an easy one to catch.

Neil


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: