My first try at EPROMs

Modding and Technical Issues

Moderator: Moderators

User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

My first try at EPROMs

Post by Floopy »

So I finally got some time and patients to try this out, here are the details...
I built the EPROM adapter so that I could try replacing ROMs inside my VIC-20. I found the wiring online and wiped out the soldering iron. After a few adapters had been made and some ROMs programed, I pop-ed open the hood and grabbed the character rom after installing the new rom I got a normal screen ( no garbled characters). After pulling it in and out I did not get a good screen, I kept getting a bad screen (see pictures), once in a while I got a good screen but the failure rate is 9/10. If I replace the EPROM with the original ROM I get no issues at all???A little bit of help?
And if your asking why I'm trying to replace the character ROM the answer is I'm not. This is only for testing purposes!
Attachments
IMG_1309.JPG
IMG_1308.JPG
-Floopy
norm8332
Vic 20 Nerd
Posts: 626
Joined: Sun Nov 13, 2016 11:04 am
Location: USA

Re: My first try at EPROMs

Post by norm8332 »

The answer is in this thread http://sleepingelephant.com/ipw-web/bul ... 058#p76592 The charcter ROM had to be wired differently than the basic or kernal ROMs do. Apparently because of the way it is accessed by the VIC-1 directly. Also the EPROM apparently has to be faster than 300 ns. I haven't replaced a character ROM myself, It's usually the kernal that goes bad most of the time for some reason.

Norm
“In religion and politics people’s beliefs and convictions are in almost every case gotten at second-hand, and without examination... whose opinions about them were not worth a brass farthing.”

-Autobiography of Mark Twain
User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

Re: My first try at EPROMs

Post by Floopy »

I will try replacing the kernal and see if I get any issues. I'm just testing my adapters, this is only for testing purposes I have no reason to replace my character ROM at all.
-Floopy
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: My first try at EPROMs

Post by eslapion »

Floopy wrote:...I pop-ed open the hood and grabbed the character rom after installing the new rom I got a normal screen ( no garbled characters). After pulling it in and out I did not get a good screen, I kept getting a bad screen (see pictures), once in a while I got a good screen but the failure rate is 9/10. If I replace the EPROM with the original ROM I get no issues at all???A little bit of help?
You're not providing any technical details that would allow helping you. The original VIC-20 character generator is a 2332 which uses 2 different independent chip select lines. Definitely the most complicated to replace and it usually requires an EPROM along with a logic gate.

To top the cake, a C64 CG will not work on the VIC-20 because CS2 is active high on the C64, while it is active low on the VIC-20.
And if your asking why I'm trying to replace the character ROM the answer is I'm not. This is only for testing purposes!
Using the kernal instead of the CG would have made your first experience much easier.
Be normal.
User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

Re: My first try at EPROMs

Post by Floopy »

eslapion wrote:The original VIC-20 character generator is a 2332 which uses 2 different independent chip select lines. Definitely the most complicated to replace and it usually requires an EPROM along with a logic gate.

To top the cake, a C64 CG will not work on the VIC-20 because CS2 is active high on the C64, while it is active low on the VIC-20.
.
Yea.....
I obviously have no experience in this, but this is why I'm trying.
norm8332 wrote:The answer is in this thread http://sleepingelephant.com/ipw-web/bul ... 058#p76592 The charcter ROM had to be wired differently than the basic or kernal ROMs do. Apparently because of the way it is accessed by the VIC-1 directly. Also the EPROM apparently has to be faster than 300 ns. I haven't replaced a character ROM myself, It's usually the kernal that goes bad most of the time for some reason.

Norm

I tried today and I had no issues at all, I think my ignorance is just the problem here. :oops:
-Floopy
User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

Re: My first try at EPROMs

Post by Floopy »

Well this confirms that my adapters work :) , I may try building something that look nicer later.
Attachments
IMG_1311.JPG
-Floopy
User avatar
Mike
Herr VC
Posts: 4816
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: My first try at EPROMs

Post by Mike »

eslapion wrote:[...] The original VIC-20 character generator is a 2332 which uses 2 different independent chip select lines. Definitely the most complicated to replace and it usually requires an EPROM along with a logic gate. [...]
Nothing complicated about that. /OE and /CS of a 2732 with an adapter socket do the job, without any extra logic.

See the link to the relevant thread norm8332 pointed to in his post above.
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: My first try at EPROMs

Post by eslapion »

Mike wrote:Nothing complicated about that. /OE and /CS of a 2732 with an adapter socket do the job, without any extra logic.
Last time I checked, 2732 EPROMs were as rare as hen's teeth. Anyways, I got confused with the C64 CG which has one /CS active high and another one active low.

You can always use a 27256 or 27512 which are still being made, I guess.

A propos... I just checked Digikey and they now carry the 27C512 in surface mount only. Mouser still carries the DIP version but it's a clear sign this is going the way of the dodo.
Be normal.
User avatar
Mike
Herr VC
Posts: 4816
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: My first try at EPROMs

Post by Mike »

eslapion wrote:Last time I checked, 2732 EPROMs were as rare as hen's teeth.
:lol:
I got confused with the C64 CG which has one /CS active high and another one active low.
http://sleepingelephant.com/ipw-web/bul ... 48&start=9
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: My first try at EPROMs

Post by eslapion »

Yeah, I remember. I must edit that post to specify the CS2 on the C64 CG is active high.
Be normal.
norm8332
Vic 20 Nerd
Posts: 626
Joined: Sun Nov 13, 2016 11:04 am
Location: USA

Re: My first try at EPROMs

Post by norm8332 »

eslapion wrote:Last time I checked, 2732 EPROMs were as rare as hen's teeth.
I've been buying what I think are Chinese clones, like here: https://www.ebay.com/itm/172533017593 They have been working fine (time will tell). :D

Ebay is literally flooded with these "new" ST EPROMS right now.
Last edited by norm8332 on Sat Nov 11, 2017 3:21 pm, edited 1 time in total.
“In religion and politics people’s beliefs and convictions are in almost every case gotten at second-hand, and without examination... whose opinions about them were not worth a brass farthing.”

-Autobiography of Mark Twain
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: My first try at EPROMs

Post by eslapion »

norm8332 wrote:Ebay is literally flooded with these "new" ST EPROMS right now.
Yeah, the datecode (1035) is quite interesting. There is no way SGS-Thomson was making more 2732 EPROMs in late 2010.

Also look at the size of the die. I have real 2732s here and they are 4 times bigger.
Be normal.
User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

Re: My first try at EPROMs

Post by Floopy »

norm8332 wrote:
eslapion wrote:Last time I checked, 2732 EPROMs were as rare as hen's teeth.
I've been buying what I think are Chinese clones, like here: https://www.ebay.com/itm/172533017593 They have been working fine (time will tell). :D

Ebay is literally flooded with these "new" ST EPROMS right now.
What would you use 2K eproms for?
-Floopy
User avatar
Mike
Herr VC
Posts: 4816
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: My first try at EPROMs

Post by Mike »

Floopy wrote:What would you use 2K eproms for?
2732 EPROMs hold 32 kbit ^= 4 KB. That's entirely sufficient to store a small homebrew on cartridge, like I did with TRON Light Cycles.
User avatar
Floopy
Vic 20 Devotee
Posts: 221
Joined: Mon Feb 27, 2017 7:38 pm
Location: US

Re: My first try at EPROMs

Post by Floopy »

:? I was dividing by 16 :oops:
I'm only making myself look even more ridiculous.
-Floopy
Post Reply