Post by willymanilly on Jun 18, 2020 19:44:01 GMT
Copied from csdb.dk/forums/?roomid=7&topicid=143203. Grateful if someone can take the time to run the tests mentioned below on real hardware. So far my C128D is the only machine tested that passes with the "old" CIA tests. The tests need to be run in C64 mode.
"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: sourceforge.net/p/vice-emu/bugs/1219/
[2] Test programs: sourceforge.net/p/vice-emu/bugs/_discuss/thread/538e31942f/ba33/attachment/cia-shiftregister-tests.zip
"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: sourceforge.net/p/vice-emu/bugs/1219/
[2] Test programs: sourceforge.net/p/vice-emu/bugs/_discuss/thread/538e31942f/ba33/attachment/cia-shiftregister-tests.zip