!

!
Ok Some success
I did tie up interrupt to ARM with Address strobe, so interrupt is issued only when address strobe is asserted and interrupt condition true.
Now DTACK is ticked only once, each address decoder issue one interrupt per one decoded address and ARM serves all interrupts.
Code: Select all
if (AS20 == 1'b0) begin
joy_int <= PUNT_IN & JOYDATA;
end else begin
joy_int <= 1'b0;
end

- 20201020_214613.jpg (313.84 KiB) Viewed 2666 times
Only one anomaly is that one address doesn't fully match how I understand it .
$DFF00C reads as H 0xC but L as 0xF ... but there is section on misaligned addresses in 68020 reference manual which I still need to fully understand, but there are reference about controling sections of read by using A0 and A1 this would match other register Joy0DAT where L section has A0 =1 and A1 = 1 ... I might be wrong, but at this point I don't care

I want mouse or even joypad working at any cost!
Do not trust people. They are capable of greatness.
~ Stanislaw Lem