Sakura-IT / PowerPCAmiga

Next generation PowerPC library for classic AmigaOS (work in progress)
12 stars 0 forks source link

Firebird (AA3000+) interrupt generation not working properly or fast enough #15

Closed DvdBoon closed 3 years ago

DvdBoon commented 3 years ago

Now with both K1/M1 and Ragnarok/Apocalypse, which use different messaging/signaling systems, the same slow interrupt times are seen. 90 milliseconds versus 500 microseconds on the mediator (total processing time so interupting 68k, handling, return with interrupting PPC, handling. Cyberstorm is in the 500 microseconds range too). Not sure if this is also the case with Firestorm and/or introduced with the DMA fix. @grzegorz-kraszewski

DvdBoon commented 3 years ago

Looks like PCI interrupt and INT2 are not connected. 11Hz (90ms) is coming from the ciaa.resource falling through to the PPC PCI card interrupt server. Also you would at least expect 50-60Hz if the Voodoo VBI was running correctly through INT2.

So none of the PCI cards seems to generate INT2 interrupts.

DvdBoon commented 3 years ago

Appears a bug in the libinit of prometheus.library.

DvdBoon commented 3 years ago

made a small workaround. prometheus.library would need an update.