C64: Difference between revisions

From Hegemon Wiki
Jump to navigation Jump to search
 
Line 32: Line 32:


==Dead C64==
==Dead C64==
* [https://www.melon64.com/forum/viewtopic.php?t=16537&start=20 this guy scopes]
* [http://tech.guitarsite.de/c64_scope.html Scope on the C64]
* [http://tech.guitarsite.de/c64_scope.html Scope on the C64]
* [https://cbm8bit.com/articles/ray-charlsen/article36 Black Screen Guide]
* [https://cbm8bit.com/articles/ray-charlsen/article36 Black Screen Guide]

Latest revision as of 13:05, 10 March 2023

  • The 6510 and the 8500 from the later boards are interchangable, you can replace one with the other.
  • Black PSU - 5.1v/10.3v - 5.13v/10.40v
  • White PSU - 5.15v/10.2v - 5.19v10.43v

Dead Drive[edit | edit source]

Dead C64[edit | edit source]

VIC-II[edit | edit source]

RF Mod[edit | edit source]

TODO[edit | edit source]

  • Black Screen. Pulses monitor/pops when turned on.
  • Power supply seems ok (5.18v). Fuse replaced (I managed to blow it while poking around with the multimeter :/)
  • Nothing shows up when toggling on and of rapidly (PLA check).
  • Disk drive spins up when turning on.
  • Load "$",8 does nothing (not sure the disk drive is working, had to replace a capacitor). Tried poke commands to make sound without success.
  • Check VIC-II Vcc is 5v. pin 40 is 5v
  • you're looking for the RESET line to be grounded for half a second during powerup. Pin 3 of userport. RST line goes high after half a sec (and stays high)
  • No ram chips over heat. Only hotish chip is 6510
  • Address lines 0-11, seem to be under 5v but not GND. Except for pin 12, 13, 14, 15 which are 5v.
  • Can I use Chroma/Luma on a composite monitor (ie for just black & white image)?

PLA[edit | edit source]

Dead Monitor(s)[edit | edit source]

Power Switch[edit | edit source]

Games[edit | edit source]

https://www.youtube.com/channel/UCnhr67lnXf3ZtcKLrr9-hSA/videos


Repair[edit | edit source]

I'm trying to repair my C64. It is a PAL, ASY 250425

It black screens.

  • I have tried a deadtest cart but it still blackscreens. No flashes, waited 30seconds.
  • I seem to get video 'sync'. No borders. No sparkles. Just black.
  • None of the chips feel particularly hot (The VIC-II's get a bit hot but afaik that's normal).
  • The power supply's 5v is under 5.2v and the unregulated 9vac is around 11vac.
  • The voltage regulators on the board are outputting 4.98v and 11.88v
  • Removed the SID
  • Removed the CIA's
  • I have replaced the PLA with a PLAnkton. I also compared the output of the original with the PLAnkton and found they matched (so now I have a spare I guess)
  • Replaced the VIC-II with a new one (I guess the original was fine too).
  • Replaced the clock generator with a TOLB (I'm fairly sure I broke the original circuit while poking the crystal with a multimeter, chip might still be good though).
  • The reset line stays low then goes high after a few secs as expected
  • I am getting around 984.9 Khz clock in and out on the 6010.
  • There is activity on the CPU's datapins and address lines. All of them are seen in both high and low states.
  • It seems the CPU is stuck on the kernal and not loading basic.
  • On the CPU _IRQ stays high. (Apparently is supposed to be 60hz if the Kernal has programmed the CPU correctly?). I have tried with the CIA's socketed and without (Someone else mentioned the CIA's generated the IRQs...).
  • BA/RDY on the PLA/CPU stay high (I think the VIC-II is supposed to pull this low on badlines normally... Not sure if that is programmed via the CPU though).
  • On the PLA I see CASRAM (pin17/F0) toggle on and off (it seems opposite to KERNAL which makes sense). BASIC (pin 17/F1) stays high (Maybe one brief low on power), KERNAL(P16/F2) toggling on and off continuously. CHAROM(Pin15/F3) mostly high with occasional patches of low (maybe badlines?).
  • On the rom chips the KERNAL's CS signal is toggling at the CPU rate. The CHAR occasionally triggers (bad lines?). The basic stays high the entire time. With the deadtest they all stay high (which makes sense as the deadtest bypasses them).
  • AEC on the 6510 toggles on/off.
  • R/W on the 6510 seems to stay high (occasional very short dips, not sure it's enough to do anything).
  • R/W on the 6510 seems to toggle at 984.9Khz
  • CAS on the PLA toggles on/off
  • Checked the traces from the RAM's to the CPU datapins. RAM's seem to show activity.
  • I removed one of the RAMs and found it a nightmare to desolder (I had no problems with the 6510 and CIA). That one tested fine (surprising considering the abuse I gave it).
  • Pushing the RESTORE key doesn't seem to show do on the NMI pin on the cpu with the CIA's socketed...

Checking Cartridge Port[edit | edit source]

The system came with a weird bodge wire. One of the ground pins on the cartridge port had been cut and from the socket a wire with a probe end was connected to HIMEM pin on the 6510. I assume this is some cartridge select mod thing?. Otherwise maybe the cartridge socket is broken which would make the deadtest useless... I *might* have been told something about a broken cartridge port that when I got this system 15 years ago but I could just be imagining it.

  • The D0-D7 traces connect to the ones on the CPU

I have tried using poke commands to generate sound without success. Also tried to make the disk drive do something via load with no response (but I'm not %100 sure the drive is working). Tape drive motor spins continuously when plugged in and play is pressed (but doesn't require any buttons to be pushed).

I have a multimeter with freq meter. A 8ch logic analyser. A logic probe pen. I don't have another C64 to swap things with. No Oscilloscope :(

I'm not really sure where to go from here.

MISC[edit | edit source]

  • Addresses 0-11 are connected from CPU to ROMs.
  • BA = Bus Available. Comes from the VIC, VA=1 means the VIC is using BUS.

TODO[edit | edit source]

http://retro64.altervista.org/blog/commodore-64-repair-a-quick-guide-on-the-steps-required-to-fix-it/

 Signal where?  Frequency duty cycle 
 PHI0 CPU Pin 1 985 KHz 50% 
 _IRQ CPU Pin 3 60 Hz 98% 
 _RAS VIC Pin 18 1.97 MHz 27% 
 _CAS VIC Pin 19 1.97 MHz 41% 
 Dot Clock VIC Pin 22 7.88 MHz 56% 
 Color Clock VIC Pin 21 17.73 MHz 45%