]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
68020/030 CE mode write access speed adjustment.
authorToni Wilen <twilen@winuae.net>
Sat, 2 Mar 2019 19:30:39 +0000 (21:30 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 2 Mar 2019 19:30:39 +0000 (21:30 +0200)
custom.cpp

index e7d43142bbe5e3a0f89de17f28442e0bdfa68fda..91156b3b855aa7743f91a843b6f0842583abfed1 100644 (file)
@@ -11655,7 +11655,9 @@ void wait_cpu_cycle_write_ce020 (uaecptr addr, int mode, uae_u32 v)
        else if (mode == 0)
                put_byte (addr, v);
 
-       x_do_cycles_post (CYCLE_UNIT, v);
+       // chipset buffer latches the write, CPU does
+       // not need to wait for the chipset cycle to finish.
+       x_do_cycles_post (cpucycleunit + cpucycleunit / 2, v);
 
        regs.chipset_latch_rw = regs.chipset_latch_write = v;
        SETIFCHIP