Re: [hatari-devel] Data cache Issues? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On torstai 04 kesäkuu 2015, Nicolas Pomarède wrote:
> Le 03/06/2015 22:01, Eero Tamminen a écrit :
> > I think it would be great to have an option to disable data cache
> > so that one can check whether it affects the issue...
>
> For quick check, change cpu/newcpu.c to always return false :
>
> STATIC_INLINE bool cancache030 (uaecptr addr)
> {
> return false;
> // return ce_cachable[addr >> 16] != 0;
> }
With this change, B-o-R game and Yepyha & Firestarter demos work.
Whether issues are bug(s) in emulation or just related to timings
changing slightly with data caches, I don't know. At least
none of these programs needs DSP, so it shouldn't be related to
CPU<->DSP timings.
- Eero