16 November 2019, 23:34 | #1 |
Registered User
Join Date: Nov 2019
Location: Budapest/Hungary
Posts: 20
|
CIA 6526/8521/8520 differences
I searched, but still didn't found a comprehensive list about the differences of the models. What's known by me:
- TOD is binary on 8520 / BCD on others - Just found this: writing to the timer hi registers when the cra/crb[3] is set (oneshot mode) starts the timer on 8520/don't start on others. This is used during early boot, maybe the reason why a CIA from C64 cannot replace CIAA? Someone else can confirm this? |
17 November 2019, 00:12 | #2 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Not only is binary (and not BCD) but also with only 3 registers available.
On Amiga, Kickstart use it. Quote:
So 6526/8521 cannot be used on Amiga. Vice versa 8520 can be used by some extent in C64 (for what I remember the C64 Kernel does not uses the TOD, but I could be wrong because I haven't programmed the C64 for a long time ). |
|
17 November 2019, 01:45 | #3 |
Registered User
Join Date: Nov 2019
Location: Budapest/Hungary
Posts: 20
|
Then I wonder if a 8520 in C64 passes the Lorenz CIA tests (except oneshot). Or the VICE tests (is it has the same timings as the 6526/8521)?
|
17 November 2019, 11:27 | #4 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
6526 have also a TODIN bit in CRA not existing in 8520, for accurate time in 50/60Hz. 8520 simply count external event (24-bits): on Amiga CIA-A count 50/60 Hz, CIA-B H-Sync. For timings you mean operating frequency? I suppose 8520 is rated for 1MHz, underclocked on Amiga at 7xxKhz. |
|
17 November 2019, 20:56 | #5 |
Registered User
Join Date: Nov 2019
Location: Budapest/Hungary
Posts: 20
|
No, I mean internal timings. E.g. after a register write, when the timer actually starts to tick, when it's reloaded exactly and so on. There are a lot of tests for cycle-accuracy of the CIAs in C64, but I'm not aware of anything on Amiga.
|
18 November 2019, 17:08 | #6 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
Too few differences to justify something substantial... However you have to try it |
|
18 November 2019, 19:48 | #7 |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,309
|
|
18 November 2019, 22:37 | #8 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
|
19 November 2019, 18:15 | #9 |
Registered User
Join Date: Nov 2019
Location: Budapest/Hungary
Posts: 20
|
6526 doesn't work as CIAA because of the Oneshot mode difference (when Kickstart writes to Timer A HI byte, the timer don't start, and it waits forever). But it wasn't tried with real chips, just with FPGA replicas only (however the 6526 model is a very accurate replica).
Reportedly Amiga's 8520 works better in C64. I wonder if anybody tried the VICE tests on it (without the TOD ones). |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tested Amiga 500(+) chips, 8375 Agnus, 8373, 5719, 68000 10 MHz, 8364, 2× 8520, 8371 | amiga2000 | MarketPlace | 0 | 02 December 2017 11:58 |
CIA doubts | ross | Coders. Asm / Hardware | 3 | 09 July 2017 07:44 |
example of a CIA timer interrupt in assembler using cia.resource | Apollo | Coders. Asm / Hardware | 3 | 05 July 2013 08:40 |
CIA test | Toni Wilen | Coders. General | 13 | 03 March 2007 22:14 |
A1200 or how to test for a faulty surface mount 8520? | gizmomelb | support.Hardware | 14 | 10 February 2007 12:01 |
|
|