Hi Finn, Am 25.11.2018 um 14:15 schrieb Finn Thain:
Maybe the timer interrupt has a sufficiently high priority and latency is low? Maybe cia_set_irq() is really expensive? I don't know the platform well enough so I'm inclined to revert. We can benchmark gettimeofday syscalls on elgar but is that hardware representative of other relevant models?
I suppose the CIA is on the main board, so running with the slower clock speed that you'd see with a vanilla Amiga without 060 accelerator board. Ought to be representative enough?
Adrian has a few other Amigas with different hardware base, so we might be able to get test coverage on more than one model.
Cheers, Michael
[1] https://github.com/mamedev/mame/commit/e2ed0490520f538c346c8bdaa9084bcbc43427cb [2] http://vice-emu.sourceforge.net/vice_9.html [3] https://www.commodore.ca/manuals/funet/cbm/documents/chipdata/cia6526.zip