6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 3:44 am

All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Commodore 64 Restoration
PostPosted: Thu Aug 09, 2018 12:58 am 
Offline

Joined: Sat Feb 10, 2018 10:13 pm
Posts: 10
I hope this post is not inappropriate, but I figured you all might be interested to see it. I'd like to introduce you all to Commodore 64 #5575214:

Attachment:
C64Case.jpg
C64Case.jpg [ 156.1 KiB | Viewed 4088 times ]


Poor little '214 has had a hard life, although I don't know all the details. I originally bought it sometime in the late '80s or early '90s for a few bucks from a bargain bin. It was just the console (no cables, manual, or power brick) and wasn't in working condition. I had dreams of fixing it and getting it working "one of these days." I made halfhearted attempts over the years to try to figure out what was wrong but never really sat down to really get into the problem. So the poor machine has just been in my storage, moving from place to place for ages now. Recently, I've been watching restoration videos from people like the 8 Bit Guy and others and realized I really had the stuff I needed to sort out what's wrong and fix the thing.

The first problem was getting power, since I had no power brick. That was just as well, really, because I don't think I would want to trust a vintage C64 power supply at this point. I decided to make my own supply, using a 9 volt transformer and a 2 amp USB power supply. The machine powered up but just displayed a black screen. I did a fair amount of probing about with a multimeter and oscilloscope. From what I could tell, the power to the chips looked correct and reasonably stable. Moreover, I could see sync signals on the VIC output, so at least the VIC seemed to be operable. I also did a continuity check on the data and address lines, and they seemed to be good all the way across the board. In fact, the board seemed to be in really good shape with no corrosion that I could see.

Attachment:
File comment: Top side of circuit board.
C64TopSide.jpg
C64TopSide.jpg [ 249.93 KiB | Viewed 4088 times ]


Attachment:
File comment: Bottom side of circuit board.
C64BottomSide.jpg
C64BottomSide.jpg [ 223.89 KiB | Viewed 4088 times ]


I was beginning to doubt I was going to be able to find the problem when I happened to check chip temperatures. The VIC chip was warm but not too bad... same for the 6510... then I touched one of the main DRAM chips, which was blisteringly hot. My immediate reaction was "oh my, that is rather hot. Perhaps this is the issue." (Roughly translated from the somewhat more colorful Anglo-Saxon expressions I used at the time.) I removed the old chip and soldered in a socket and popped in a new chip. I debated replacing both chips but decided to leave the other one in to make as few changes to the original board as possible (partly because this was my first attempt at desoldering something from an old two layer board and wanted to risk as little damage as possible). The next power up had the machine working a bit better (it displayed random text on the screen), but thereafter it just gave me a blank screen.

The next step was to order a dead test ROM, and I just got it this week. Using that showed that the other DRAM chip was indeed damaged, so I replaced that this morning. The end result was I got a boot screen and was able to type in and run a program. Also the dead test ROM shows no issues now. So, for the first time in nearly 30 years (yikes!), little '214 is able to power up and run a simple program!

At this point, there are some things I haven't tested yet (but will in time):
    * Sound
    * Serial port
    * User port
    * Cassette port
    * Joysticks

I also have not recapped the board. The capacitors look ok, but I am thinking it may be worth replacing them so there are no surprises later. The board is in really good condition, and I'd just as soon keep it that way.

Anyway, I hope you find this interesting to see. Let me know if you have any questions or comments.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 09, 2018 1:56 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1250
Location: Soddy-Daisy, TN USA
Great job on bringing another C64 back to life.

I'm currently recapping my C64C. Debating if I want to retro-bright it or not. The keys are yellow and the case is yellow. However, the yellowing is mild and the whole thing has a uniform yellow. If I didn't know better, I'd say that was the original color. lol

The part I hate about recapping is buying the axial caps. I know I can use radial in a weird, "bent over" layout but I just don't like that. So I pay $3 per cap on those. Yuck. But they are nice Panasonic or Nichicon caps so I feel good about it.

Another guy you should watch is Jan Beta. He's very good at repairing C64's and has a good video on "future proofing" the C64.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 09, 2018 2:18 pm 
Offline

Joined: Wed Jul 18, 2018 12:12 pm
Posts: 96
Be cautious using an typical USB phone charger type supply for other things, speaking of the ones terminated with a micro-USB connector. Most of the time if they are rated at say 2A by the time you get close to that and account for the voltage drop across the tiny leads used and the PSU itself you are lucky to get 4.5V out. Some of them are OK but a lot are junk so to be on the safe side measure it under load.

When getting a couple of RPi3s a year or so ago for work I popped for the $15 RasberryPi branded USB wall-warts. They have a nice thick twin lead cable and are much beefier than a similar rated 'generic' adapter I got for a Pi I bought for home use. (I won't go into the stupid idea of using that micro-USB connector for 2A+ use instead of a simple barrel connector...)


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 09, 2018 6:59 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
I don't know, but you might want to check the USB current output. I think that if you go over half amp, the device has to negotiate with the USB host, meaning there's USB protocol and intelligence involved. The USB 2.0 spec is 650 pages, which is one reason I'd rather stay away from USB. Even just the part about supplying power and negotiating voltage and current levels is over a hundred pages IIRC.

_________________
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  
PostPosted: Thu Aug 09, 2018 7:03 pm 
Offline

Joined: Wed Jul 18, 2018 12:12 pm
Posts: 96
GARTHWILSON wrote:
I don't know, but you might want to check the USB current output. I think that if you go over half amp, the device has to negotiate with the USB host, meaning there's USB protocol and intelligence involved. The USB 2.0 spec is 650 pages, which is one reason I'd rather stay away from USB. Even just the part about supplying power and negotiating voltage and current levels is over a hundred pages IIRC.


AS I recall a smart USB device (phone etc) will look for a certain resistance across the data lines and if found knows that a 'dumb' charger is attached and no negotiation is required. Using a USB charger type power supply to power a project is only using the +5V (well and common) anyhow so none of that matters.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 09, 2018 7:48 pm 
Offline

Joined: Sat Feb 10, 2018 10:13 pm
Posts: 10
Thanks for the comments. I hadn't been thinking about the limitations on the USB supplies. The one I'm using at the moment seems to be working ok, but I'm sure I have some in the parts bin that are less than suitable. I do have a chunky, non-USB 5v supply from another project I could use instead, so maybe I'll rearrange things to use that.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 09, 2018 7:55 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1250
Location: Soddy-Daisy, TN USA
The important part to remember is to make sure whatever 5V supply you use has proper over-voltage protection.

Faulty 7805's have fried way too many C64's and VIC-20's in the past due to them letting in more than 5V. In fact, in one of the 8 Bit Guy's videos, he literally destroyed some chips on camera while using an unprotected, original C64 PSU.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 09, 2018 8:15 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
There are a lot of inexpensive 5V wall-wart and table-top regulated supplies on the market. Here's one of many that Jameco sells:
https://www.jameco.com/z/ADS6818-1505-W ... 30361.html
It's 5V, 3A, and takes 100V to 240V input at 50 or 60Hz, has a common DC-10 plug on the end of a 4-foot cord, and costs $9. You can wire up your own DC-10 receptacle, unlike the situation with tiny USB connectors.

_________________
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  
PostPosted: Fri Aug 10, 2018 6:23 am 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
MEANWELL is building some nice power supplies.
Mouser currently has the RS-15-5 (5V/3A) for ca. 8€.

Edit: does your C64 need 9V AC for generating a +12V supply voltage for VIC-II and SID (and for incrementing that real time clock inside the 6526s) ?


Attachments:
rs-15.gif
rs-15.gif [ 157.88 KiB | Viewed 3993 times ]
Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 10, 2018 6:06 pm 
Offline

Joined: Sat Feb 10, 2018 10:13 pm
Posts: 10
My board is a 250466, which I believe needs the 9v supply to generate the internal 12 volt supply. I was poking around last night and saw a supply like this, if not that very one. It did get me thinking I could use that and a hard-wired transformer to make a more permanent and neater supply box.

Side question for you all: do any of you have any insight on how NTE is as a brand for capacitors? My local shop has that brand, but I really know nothing about them. I'm sure they'll be fine at least in the short term, but if I'm going to recap this board, I don't want to put in something that going to start leaking in a couple of years. The original caps are still in reasonable apparent condition, even if I'm sure they aren't at their best anymore.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 10, 2018 6:46 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
petrus wrote:
do any of you have any insight on how NTE is as a brand for capacitors? My local shop has that brand, but I really know nothing about them. I'm sure they'll be fine at least in the short term, but if I'm going to recap this board, I don't want to put in something that going to start leaking in a couple of years.

There used to be a nearby shop that I went to often which had a huge stock of a lines like this, starting with GE, then went to TCG, then had NTE for the last 20 years or so before the shop closed. It was mostly semiconductors, but also had relays and maybe a few other things. I always kind of wondered about the story. It seemed like they wanted to gather a collection of replacement parts under one name and one catalog for the repair of TVs, stereos, etc.. (Remember when they used to fix them, rather than throw them out?) However, it also seemed to me like rather than bringing all those parts under one roof and simplifying things, they only added another confusing line, one whose numbers often did not show any resemblance to industry-standard numbers, and repairmen always had to look up the GE or TCG or NTE numbers in the thick cross-reference book. I never heard or experienced anything bad about their quality though.

There's a good video lecture about capacitors at https://www.youtube.com/watch?v=ZAbOHFYRFGg . The only capacitors you would probably need or want to replace are the electrolytics; and I think that as long as you derate them enough, they'll last nearly indefinitely. By "derating," I mean you don't use a 6.3V capacitor in a 5V application, but instead use a 16V or 25V capacitor. The capacitor engineer giving the talk in the video shows a diagram of what happens to electrolytics as they get old. You don't have to be a chemist to get the drift. 'Lytics can be reformed though (if they're not already internally shorted), by very slowly raising the voltage across them. It's easier to just replace the capacitor; but if there's no replacement available when you really need it, this might be a viable alternative.

_________________
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  
PostPosted: Fri Aug 10, 2018 7:34 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
I've read before about reforming electrolytics, and I'm sure it can work, and yet I recently read a footnote in an article about restoring old IBM kit at the Living Computer Museum:
Quote:
There is a myth among hobbyists that such capacitors can be “re-formed”, that is, the effects of aging can be electronically reversed. This is not actually possible, because the aging process causes real physical damage to the internals of the device which no amount of magical treatment can repair. This fact is recognized by the US Department of Defense, which discards stockpiled capacitors after 6 years even if unused.

So that's a counterpoint.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 10, 2018 8:01 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
In the above-linked video, the capacitor engineer tells about reforming the 'lytics from 19 to 22 minutes into 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  
PostPosted: Sat Aug 11, 2018 1:37 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
I wonder why anyone cares about a few cents when going to revive a valuable thing :shock: Use caps from Panasonic, they are not cheap nor expensive but reliable.

And to be safe from ill behaving series regulators - use a crowbar. See at the bottom of page 26 to have an example. I only suggest to avoid the trimmer in that circuit in the given position, as if the trimmer fails the circuit won't operate properly anymore. The trimmer (if any) should be placed where R2 sits. Adjusting should be done using a laboratory power supply.

my 1/2 cent ;)


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 11, 2018 2:11 pm 
Offline
User avatar

Joined: Thu May 14, 2015 9:20 pm
Posts: 155
Location: UK
As with various other things in life, electrolytic capacitors can suffer from various problems. If they have failed, for the most part, they will not be able to be "reformed".

Electrolytic capacitors in really old equipment (radios and such like, made before the 1960s), if not used for many years will need reforming before the equipment is powered up.

With electrolytic capacitors from the 1960s through to present, you are better off just fitting new good quantity replacements.

If you have unused spare 'new' electrolytic capacitors that have been in storage for more than three to five years, charging them slowly via a current limited supply to just below their rated voltage, and then waiting until the leakage current falls below the specified value, will reduce the likelihood of them being damaged when the equipment they are fitted in is powered up after being serviced. Of course, you may want to test them (capacitance, leakage current, ESR) before actually fitting them in something...

Mark


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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: