Topic: AAAARGH! VIC-20!  (Read 1818 times)

Author Message

0 Members and 1 Guest are viewing this topic.

Offline Phu

  • RCM Workshop
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2077
  • Kudos 41
  • Gender: Male
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
AAAARGH! VIC-20!
« on: June 12, 2009, 10:24:11 PM »
!*"*£&!$&!!!

This one really has me stumped.

I've just spent 2.5 hours checking every single logic connection on the whole board. No broken connections anywhere!

I've replaced every single chip - including the VIC chip with the one provided by AndyT (cheers) - still just a blank screen!

This board is taking the smeg....

-- Richard
8 End of File, RCM:1
PCB Assembly, Custom Power Supply and Cable Assembly for the masses: http://www.gellman.co.uk

Offline billdooruk

  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2419
  • Kudos 26
  • Gender: Male
  • I could murder a curry
    • View Profile
    • Our site:-
Re: AAAARGH! VIC-20!
« Reply #1 on: June 12, 2009, 10:46:02 PM »
Mmmmm...you've done more than I would be able to....

Didn't know you were a Red Dwarf fan too Rich ;D

Offline Phu

  • RCM Workshop
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2077
  • Kudos 41
  • Gender: Male
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
Re: AAAARGH! VIC-20!
« Reply #2 on: June 12, 2009, 11:23:03 PM »
I know nothing about the Red Dwarf VHS' on the shelf of which series 7 is currently in the VCR....

This board is weird. Seems Commodore did an interesting thing with their version of the 6502 (MOS Tech.).

Their 6502 has a slightly higher tolerance of voltage for a logic 0. And a suspicious R14 which has purpose other than to raise the clock voltage level slightly. A casual observer would say the circuit is engineered to only work with MOS (owned by Commodore at the time) 6502 CPUs!

When a Rockwell 6502 was used, the phase-shift clock outputs were non-existent, even though the clock input was healthy and the CPUs were known good. Desoldering the otherwise pointless R14 makes the clocks output again, though the CPU still locks up immediately its powered on.

More interesting is why with everything unplugged, the BLK7 line is floating at 2.5V......

I know you love reading this techy crap :)

-- Richard
8 End of File, RCM:1
PCB Assembly, Custom Power Supply and Cable Assembly for the masses: http://www.gellman.co.uk

Offline AndyRCM

  • >=))))º> GO FEED THE FISH! <º((((=<
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 9109
  • Kudos 46
  • Gender: Male
  • Manic Jet Set Willy
    • View Profile
    • Retro Computer Museum
Re: AAAARGH! VIC-20!
« Reply #3 on: June 13, 2009, 09:00:55 AM »
Im actually amazing myself by understanding MOST of what you are saying. ;)
Richard, when you say blank screen - you mean blank black screen or something else?

Andy



"Your past is your lesson. Your present is your gift. Your future is your motivation." - Mark Zucherberg

Offline Panther

  • Administrator
  • Amiga 4000
  • ******
  • Posts: 3897
  • Kudos 33
  • Gender: Male
  • Look at the size of my.......Paws
    • View Profile
Re: AAAARGH! VIC-20!
« Reply #4 on: June 13, 2009, 09:21:14 AM »
Anyone know about Vic-20 cartridges ?

I've got 3 plus a 16k expansion cart that when plugged in, the Vic doesn't seem to recognise and reverts to the standard blue boot screen showing 3.5k free.

Offline AndyRCM

  • >=))))º> GO FEED THE FISH! <º((((=<
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 9109
  • Kudos 46
  • Gender: Male
  • Manic Jet Set Willy
    • View Profile
    • Retro Computer Museum
Re: AAAARGH! VIC-20!
« Reply #5 on: June 13, 2009, 09:31:24 AM »
Yeah I do . . . I know quite a bit about most of the Commodore machines . . . :(

Usually when a cart doesn't work it is because it is dirty! Basically you need to clean the edge connectors with something non-abrasive. I tend to use nail varnish remover on a baby wipe or something like that, this worked with all of my Vic carts as none of them were working either!

Andy




"Your past is your lesson. Your present is your gift. Your future is your motivation." - Mark Zucherberg

Offline Akastaff

  • Vic 20
  • **
  • Posts: 53
  • Kudos 5
    • View Profile
Re: AAAARGH! VIC-20!
« Reply #6 on: June 13, 2009, 09:36:41 AM »
Cartridge will also fail to recognise if the I/O segment of the machine has been damaged, usually by a cart being pulled out whilst machine is on.


Offline Panther

  • Administrator
  • Amiga 4000
  • ******
  • Posts: 3897
  • Kudos 33
  • Gender: Male
  • Look at the size of my.......Paws
    • View Profile
Re: AAAARGH! VIC-20!
« Reply #7 on: June 13, 2009, 01:02:07 PM »
Will try cleaning the edge connectors, I've got one cart 'GORF' which loads OK, all the others don't want to play !  :-[

Offline Womble

  • Amiga 4000
  • ******
  • Posts: 1131
  • Kudos 30
  • Gender: Male
    • View Profile
    • Aussie Arcade
Re: AAAARGH! VIC-20!
« Reply #8 on: June 14, 2009, 11:00:51 PM »
I always open the carts up, that way you can see what you are dealing with, eg any ROMs in sockets that need a reseat, or leaky batteries, or just oxidised contacts, far easier to deal with when its opened up.
Sic Transit Gloria Atari

Offline Phu

  • RCM Workshop
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2077
  • Kudos 41
  • Gender: Male
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
Re: AAAARGH! VIC-20!
« Reply #9 on: June 15, 2009, 12:59:51 AM »
Im actually amazing myself by understanding MOST of what you are saying. ;)
Richard, when you say blank screen - you mean blank black screen or something else?

Meant to answer this sooner...

What I'm getting is a completely black, perfectly sync'd blank screen.

I've since done some more digging and found that the 74 133 13-input NAND gate* appears to be damaged. 12 out of 13 inputs are are +5V and the 13th is oscillating at CLK2. The output therefore *should* be oscillating too, but its stuck at 0.

74 133s are rare these days, and since I don't want to pay huge sums for them, I'm sourcing a few from eBay, which I should have my hands on in a few days.

* When I said I'd replaced every chip, this is one that I couldn't replace due to its rarity. I had built a replacement device out of 13 diodes, two resistors and a transistor, but it doesn't work quite the same with respect to values at 1.5v being treated as 0.

-- Richard
8 End of File, RCM:1
PCB Assembly, Custom Power Supply and Cable Assembly for the masses: http://www.gellman.co.uk

Offline Phu

  • RCM Workshop
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2077
  • Kudos 41
  • Gender: Male
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
Re: AAAARGH! VIC-20!
« Reply #10 on: June 16, 2009, 08:52:51 PM »
Right.. 74 133 replaced with working IC.

And the bloody thing still won't display!!

This board is really starting to <sound of birds twittering> me off! ;)

-- Richard
8 End of File, RCM:1
PCB Assembly, Custom Power Supply and Cable Assembly for the masses: http://www.gellman.co.uk

Offline Womble

  • Amiga 4000
  • ******
  • Posts: 1131
  • Kudos 30
  • Gender: Male
    • View Profile
    • Aussie Arcade
Re: AAAARGH! VIC-20!
« Reply #11 on: June 17, 2009, 01:26:11 AM »
Have met similar boards, they give the impression they don't want to be fixed.
Sic Transit Gloria Atari

Offline Phu

  • RCM Workshop
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2077
  • Kudos 41
  • Gender: Male
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
Re: AAAARGH! VIC-20!
« Reply #12 on: June 17, 2009, 11:54:08 AM »
Well, I made a little progress later on.

I grabbed hold of a kernal ROM disassembly for the startup routines. One of the first things the ROM does is call the cartridge ROM detect routine. At this point, the only RAM-based operation is the JSR instruction, but this only puts an address on the stack, RAM contents have yet to be made use of.

The cartridge detect routine then scans the cartridge area at $A000. If this code is being executed then the BLK5 line (select area $A000 - $BFFF) should go low for a number of times on startup. It doesn't.

This shows that the ROM is not being executed correctly. As an extension to this, the 6502 gets the start-of-execution address from $FFFC - $FFFD. Its quite likely that this isn't being read properly at all, and instead the CPU jumps to some random memory location and begins executing garbage, never touching the startup routine.

My new multimeter should be arriving today (my old one was becoming unreliable), so I can do some further checking of the connections between the kernal ROM and the CPU.

-- Richard

8 End of File, RCM:1
PCB Assembly, Custom Power Supply and Cable Assembly for the masses: http://www.gellman.co.uk

Offline AndyT

  • Amiga 4000
  • ******
  • Posts: 2466
  • Kudos 17
  • Gender: Male
    • View Profile
    • Retro Computers
Re: AAAARGH! VIC-20!
« Reply #13 on: June 17, 2009, 12:10:27 PM »
Let me know if you need a replacement ROM chip. I think I have the one that went with the VIC chip I sent you.
Andy
http://www.retrocomputers.eu
Xbox Live Gamertag : AndyCTaylor

Offline Phu

  • RCM Workshop
  • Administrator
  • Amiga 4000
  • ******
  • Posts: 2077
  • Kudos 41
  • Gender: Male
  • Pay no attention to that PCB....
    • View Profile
    • ZX Spectrum Laptop Project
Re: AAAARGH! VIC-20!
« Reply #14 on: June 17, 2009, 07:33:32 PM »
AHA!

Tricksy CPU socketses.... not making contact with pin A10 !!

Still not got even so much as a border, but we have considerable progress through the init sequence.

I can see BLK5 going low during the cartridge scan. VA13 is being brought low multiple times, indicating the VIC is being written to. This also indicates that the RAM is working well enough for the stack to function correctly.

I can see *something* happening on screen, but its only subtle interference patterns.

I don't have any IRQ or NMI pulses. According to the disassembly, part of the kernal init is to turn on IRQs from one of the VIAs. Coupling this with the still blank screen, despite VIC being accessed suggests that the wrong values are being pushed around.

Investigation continues....

-- Richard


8 End of File, RCM:1
PCB Assembly, Custom Power Supply and Cable Assembly for the masses: http://www.gellman.co.uk