Re: [hatari-devel] Data cache Issues?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 08/06/2015 23:27, Eero Tamminen a écrit :

Firestarter demo resets with data caches and shows following:
----------
GEMDOS 0x3D Fopen("C:\FIRESTAR.PRG", read-only) at PC=0xFA002A
GEMDOS 0x4B Pexec(7, 0x0, 0xf730, 0x0) at PC 0xFA002A
GEMDOS 0x3E Fclose(64) at PC 0xFA002A
prefetch mismatch pc=e03cac addr=3f8192 size=2 cache=20002 != mem=20ff6, d-
cache error ?

Hi

Regarding firestarter, I extracted the packed program and ran it separately to be sure it was not related to the packer not flushing tha caches. This still crashed with a data cache mismatch, so packer is not the cause of the problem.

After some debugging, I found another bug in the write part of the 68030 data cache when write allocate is off and data are not long word aligned. I tested a small/dirty patch and the demo now works, I will post a cleaner patch later.

Nicolas






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/