Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > a CIA riddle - please run these tests
2020-06-18 17:01
chatGPZ

Registered: Dec 2001
Posts: 11108
a CIA riddle - please run these tests

While debugging a certain thing in VICE [1] we discovered a strange thing which doesnt quite match what we thought we knew about the CIAs. Perhaps there is actually a 3rd kind of CIA in the mix :) We need a couple people to run a few test programs [2] and report the results to find out what we are really looking at.

Please first note down:
- what machine are you testing (c64/c128)
- what ASSY is it (ASSY number on the motherboard)
- what CIAs are on the board. write down ALL markings (eg: MOS 6526 / 1888 216A)

Now run the "delay2-new" and "delay-old" programs. Green border means "test passed", and will generally tell if you have a "new" or "old" CIA. (Contrary to popular belief this can NOT be reliably determined from whats written on the chip)

After that, run the other programs.

4.prg 5.prg 6.prg should pass on any type of CIA (green border means passed)
*-new.prg should pass on "new" CIA and fail on "old" CIA
*-old.prg should pass on "old" CIA and fail on "new" CIA

To confirm the above, make sure to really run ALL programs and please tell which fail and which do not. Especially interesting are results that are different from the above expected behaviour. Also interesting are tests done on C128D and/or using a CIA with timestamp 4485 as William used in that bug report.

Thanks!

[1] Bug report: https://sourceforge.net/p/vice-emu/bugs/1219/
[2] Test programs: https://sourceforge.net/p/vice-emu/bugs/_discuss/thread/538e319..
 
... 8 posts hidden. Click here to view all posts....
 
2020-06-20 01:22
SLC

Registered: Jan 2002
Posts: 52
C64, Assy 250407, 2x MOS 6526 datecode 2583 (same machine as last time)

cia1-4 - light green
cia1-4485-50 - light red
cia1-4485-51 - light red
cia1-4485-64 - light red
cia1-4485-7 - light red
cia1-4485-8 - light red
cia1-5 - light green
cia1-50 - light green
cia1-51 - light green
cia1-6 - light green
cia1-64 - light green
cia1-7 - light green
cia1-8 - light green
cia2-4 - light green
cia2-4485-50 - light red
cia2-4485-51 - light red
cia2-4485-64 - light red
cia2-4485-7 - light red
cia2-4485-8 - light red
cia2-5 - light green
cia2-50 - light green
cia2-51 - light green
cia2-6 - light green
cia2-64 - light green
cia2-7 - light green
cia2-8 - light green
2020-06-20 01:53
chatGPZ

Registered: Dec 2001
Posts: 11108
hedning: yeah, try running test again. if they fail again, it would be interesting if they fail randomly on subsequent runs
2020-06-20 11:51
hedning

Registered: Mar 2009
Posts: 4595
Ok. Rerun of the retarded NTSC machine - i hope these results will make Mr. Groepaz happier:

NTSC C64, ASSY 250407 (1983) (this time run from disk, no cart as it seemed to fuck with the hw.)
CIA: MOS 6526 3483 and MOS 6526 3283

delay2-new : red (no info on screen)
delay2-old : green (no info on screen)
cia1-4 : green
cia1-4485-50 : red border, green text
cia1-4485-51 : red border, green text
cia1-4485-64 : red border, green text
cia1-4485-7 : red border, green text
cia1-4485-8 : red border, green text
cia1-5 : green border, green text
cia1-50 : green border, green text
cia1-51 : green border, green text
cia1-6 : green border, green text
cia1-64 : green border, green text
cia1-7 : green border, green text
cia1-8 : green border, green text
cia2-4 : green border, green text
cia2-4485-50 : red border, green text
cia2-4485-51 : red border, green text
cia2-4485-64 : red border, green text
cia2-4485-7 : red border, green text
cia2-4485-8 : red border, green text
cia2-5 : green border, green text
cia2-50 : green border, green text
cia2-51 : green border, green text
cia2-6 : green border, green text
cia2-64 : green border, green text
cia2-7 : green border, green text
cia2-8 : green border, green text
2020-06-20 13:46
chatGPZ

Registered: Dec 2001
Posts: 11108
that looks much more sane indeed, thanks :)
2020-07-02 19:55
Impetigo

Registered: Jun 2004
Posts: 30
PAL C64 ASSY. 250466
made in Hong Kong
U1: MOS 6526A 0287 206A
U2: MOS 6526A 5286 206A

delay2-new: G
delay2-old: R
0A 0B 0B 0C 0C

cia1-4 : G
cia1-5 : G
cia1-6 : G
cia1-7 : G
cia1-8 : G
cia1-50: G
cia1-51: G
cia1-64: G

cia1-4485-50: R
cia1-4485-51: R
cia1-4485-64: R
cia1-4485-7 : R
cia1-4485-8 : R

cia2-4 : G
cia2-5 : G
cia2-6 : G
cia2-7 : G
cia2-8 : G
cia2-50: G
cia2-51: G
cia2-64: G

cia2-4485-50: R
cia2-4485-51: R
cia2-4485-64: R
cia2-4485-7 : R
cia2-4485-8 : R
2020-07-02 19:57
Impetigo

Registered: Jun 2004
Posts: 30
PAL C64 ASSY. KU-14194HB
"MADE IN W.-GERMANY"
U1=U2: MOS 6526 3882

delay2-new: R (No text on the screen. fixed red border, flashing red background)
delay2-old: G (No text on the screen. fixed green border, flashing green background)

cia1-4 : G
cia1-5 : G
cia1-6 : G
cia1-7 : G
cia1-8 : R
cia1-50: R
cia1-51: R
cia1-64: R

cia1-4485-50: R
cia1-4485-51: R
cia1-4485-64: R
cia1-4485-7 : R
cia1-4485-8 : R

cia2-4 : G
cia2-5 : G
cia2-6 : G
cia2-7 : G
cia2-8 : G
cia2-50: G
cia2-51: G
cia2-64: G

cia2-4485-50: R
cia2-4485-51: R
cia2-4485-64: R
cia2-4485-7 : R
cia2-4485-8 : R
2020-07-02 20:31
Impetigo

Registered: Jun 2004
Posts: 30
PAL C64 ASSY. 250425
made in Hong Kong
U1: MOS 6526A 3587 216A
U2: MOS 6526A 3987 216A

delay2-new & delay2-old: These tests don't work. Screen closes with border color, looks like crashed.

cia1-4 : G
cia1-5 : G
cia1-6 : G
cia1-7 : R
cia1-8 : R
cia1-50: R
cia1-51: R
cia1-64: R

cia1-4485-50: R
cia1-4485-51: R
cia1-4485-64: R
cia1-4485-7 : R
cia1-4485-8 : R

cia2-4 : G
cia2-5 : G
cia2-6 : G
cia2-7 : G
cia2-8 : G
cia2-50: G
cia2-51: G
cia2-64: G

cia2-4485-50: R
cia2-4485-51: R
cia2-4485-64: R
cia2-4485-7 : R
cia2-4485-8 : R
2020-07-02 20:38
chatGPZ

Registered: Dec 2001
Posts: 11108
some seriously strange results there, are you sure those C64s are 100% OK?

in any case, William posted a new zip with better tests, the old ones have a little flaw.... https://sourceforge.net/p/vice-emu/bugs/_discuss/thread/538e319..
2020-07-02 20:55
Impetigo

Registered: Jun 2004
Posts: 30
Not sure about the 250425. It's not in good condition. But I haven't seen any program doesn't work on it. Any special demo or program to test it to be sure? I don't have any diagnostics cartridge.

The other two must be OK. KU14194HB is very old yes but it's a stock machine. Doesn't look like a soldering iron touched it and there isn't a faulty looking component on it.

I'll try those better tests later.
2020-07-02 21:53
chatGPZ

Registered: Dec 2001
Posts: 11108
Since almost nothing uses that shift register... it might be broken and still everything works =) But yeah, as William wrote on SF, the old test was slightly unstable.
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
iAN CooG/HVSC
kbs/Pht/Lxt
Mason/Unicess
Didi/Laxity
Krill/Plush
csabanw
Alakran_64
Twilight/Excess/Arcade
Scooby/G★P/Light
nucleus/TempesT
Black/Angels
Andy/AEG
Guests online: 135
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.054 sec.