Can i make Ben Eater's computer with a R65SC02P-1 ?
-
TechTheGuy
- Posts: 5
- Joined: 24 Jan 2020
Can i make Ben Eater's computer with a R65SC02P-1 ?
Hello to everyone!Im new to microprocessors ,but i want to make Ben Eater's computer.The problem is that from ebay it is arrived an r65sc02p-1 . I tried it with arduino (like Ben did) but it reads only 0 even if i hard wire with resistors ea.It spits 0 everywhere.Can i still make it?If yes what changes to the scheme do i need to do?If no can you send me a link for a W65C02S?
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
TechTheGuy wrote:
The problem is that from ebay it is arrived an r65sc02p-1 .
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
I bought mine from mouser, https://www.mouser.com/ProductDetail/We ... SplB6itg==
// tinkerBOY
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
The terminal output shows that the CPU is operating but that its reading BRK instructions which are continually causing the IRQ/BRK vector at $fffe/f to be accessed.
We need to see your circuit. The 65SC02 is pin compatible with the 6502 so pin 1 should be connected to ground (there is no vector pull /VP output) and pin 30 should not be connected (there is no bus enable input).
It may be a working chip.
We need to see your circuit. The 65SC02 is pin compatible with the 6502 so pin 1 should be connected to ground (there is no vector pull /VP output) and pin 30 should not be connected (there is no bus enable input).
It may be a working chip.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
-
TechTheGuy
- Posts: 5
- Joined: 24 Jan 2020
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
Thank you all! I am using this guide https://www.instructables.com/id/6502-M ... uino-MEGA/
I hard wired the resistors but whet it reads returns 0
I hard wired the resistors but whet it reads returns 0
- Attachments
-
- F4Y4WLNK4E8YL14.LARGE.jpg (24.24 KiB) Viewed 3368 times
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
RDY, RESB, IRQB, NMIB and SOB should be pulled high with ~3K3 resistors rather than directly connected to 5V.
That is the pin out for a W65C02.
The 65SC02 has the same pin out as the original 6502. Pins 1 & 36 have different uses.
I should try one on my 3 chip board.
That is the pin out for a W65C02.
The 65SC02 has the same pin out as the original 6502. Pins 1 & 36 have different uses.
I should try one on my 3 chip board.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
-
TechTheGuy
- Posts: 5
- Joined: 24 Jan 2020
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
Just tried.Nothing changes.Can you try yourself please?
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
I've ordered some G65SC02s but its going to be a few weeks before that arrive from China.
My 3 chip board has sockets for both 6502 and 65C02 chips. On the PCB they overlap so only one can be populated at a time. The 65SC02 should work in the 6502 socket (as does the W65C802). If you look at the schematic you can see that two socket have slightly different connections.
https://github.com/andrew-jacobs/sb-650 ... B-6502.pdf
The firmware in the PIC feeds a JMP ($FFFF) instruction into the chip at startup and looks at the addresses that are accessed. A 65SC02 should access $FFFF and $0000 in 7 cycles like a W65C02. I don't think my W65C02 boot ROM images contains any of the bit instructions that aren't supported on the 65SC02.
My 3 chip board has sockets for both 6502 and 65C02 chips. On the PCB they overlap so only one can be populated at a time. The 65SC02 should work in the 6502 socket (as does the W65C802). If you look at the schematic you can see that two socket have slightly different connections.
https://github.com/andrew-jacobs/sb-650 ... B-6502.pdf
The firmware in the PIC feeds a JMP ($FFFF) instruction into the chip at startup and looks at the addresses that are accessed. A 65SC02 should access $FFFF and $0000 in 7 cycles like a W65C02. I don't think my W65C02 boot ROM images contains any of the bit instructions that aren't supported on the 65SC02.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
TechTheGuy wrote:
I tried it with arduino (like Ben did) but it reads only 0 even if i hard wire with resistors ea.
cheers
Jeff
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
Dr Jefyll wrote:
For a 6502 with $00 on the data bus, your machine seems to be behaving properly -- and $00 is what the screenshot shows. But you mentioned hardwired resistors for $EA, so is there a mistake or misunderstanding somewhere? Here (below) is what you need to get $EA on the data bus.
This may be obvious, but you should measure the voltage on the data pins of the 6502 itself to confirm that they're actually pulled up and down to the correct values. If they're not, you have a wiring error somewhere, or perhaps bad connections in your breadboard.
Curt J. Sampson - github.com/0cjs
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
This chip might be NMOS 6502, rebranded by Chinese "businesmen" as 65C02. Try running it at higher clock speed (above 100kHz).
I ordered 5 chips a few years ago, got 3 NMOS and 2 CMOS, rebranded as Rockwell 65C02. link: viewtopic.php?f=4&t=4593
The only eBay seller I found that had real WDC chips is from UK, toucano76. Not an ad, just all the others I checked had similar rebrands I got. eBay feedback would suggest desoldered parts, 50/50 NMOS and CMOS being sold as "new" CMOS chips. Some also had R6522 (NMOS) chips with date codes from 2010s… which is clearly not true.
I ordered 5 chips a few years ago, got 3 NMOS and 2 CMOS, rebranded as Rockwell 65C02. link: viewtopic.php?f=4&t=4593
The only eBay seller I found that had real WDC chips is from UK, toucano76. Not an ad, just all the others I checked had similar rebrands I got. eBay feedback would suggest desoldered parts, 50/50 NMOS and CMOS being sold as "new" CMOS chips. Some also had R6522 (NMOS) chips with date codes from 2010s… which is clearly not true.
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
argonn wrote:
This chip might be NMOS 6502, rebranded by Chinese "businesmen" as 65C02....
I ordered 5 chips a few years ago, got 3 NMOS and 2 CMOS, rebranded as Rockwell 65C02.
I ordered 5 chips a few years ago, got 3 NMOS and 2 CMOS, rebranded as Rockwell 65C02.
(Also, a bit ironic because I've wanted some NMOS 6502s. They may actually have sent me my preferred chips! :-))
Curt J. Sampson - github.com/0cjs
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
I really need to finish my "6502 Fake Finder" project, which should make identifying these re-marked chips much easier. I should be able to order the parts in parallel with the "RIOT Clock" ones, but of course I still need to write the firmware.
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
It's too bad this is happening. eBay used to be a pretty good place to get stuff. Having said that, I've been pretty lucky I guess and have never ended up with fake chips.
One thing I tend to do, and this may or may not be why I'm lucky, is I go for the sellers with the highest ratings, rather than the lowest price. I usually won't deal with a vendor with a rating under 95%. I wish eBay let you sort according to seller rating. It would save me a lot of time.
One thing I tend to do, and this may or may not be why I'm lucky, is I go for the sellers with the highest ratings, rather than the lowest price. I usually won't deal with a vendor with a rating under 95%. I wish eBay let you sort according to seller rating. It would save me a lot of time.
Bill
Re: Can i make Ben Eater's computer with a R65SC02P-1 ?
The only time I use anyone other than Mouser for chips is when it's something that isn't made anymore. I'd rather pay the $8 for a real 65C02 than chance some $2 fake from China.
When I do buy from eBay (such as sound chips) I try to find US sellers that (hopefully) have vetted the chips and with high ratings.
When I do buy from eBay (such as sound chips) I try to find US sellers that (hopefully) have vetted the chips and with high ratings.
Cat; the other white meat.