Re: [hatari-devel] Data cache Issues?

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


Hi,

On lauantai 06 kesäkuu 2015, Nicolas Pomarède wrote:
> Le 06/06/2015 00:01, Eero Tamminen a écrit :
> >> Please test again with Beats Of Rage and your other demos, it should
> >> hopefully work better.
> > 
> > They still don't work.
> > 
> > Firestarter is packed with Sentry 2.2.

Note: I haven't packed these demos, so they've been packed
already when I've downloaded them.


> > I found another demo that doesn't work with caches, but works
> > 
> > by changing cancahe030():
> > 	http://www.pouet.net/prod.php?which=13601
> 
> In all these cases, I think the problem is the packer : when unpacking,
> some intructions will be "created" and the cache must be updated
> accordingly. So, IMO any packer that doesn't flush the instr cache in
> CACR after depacking and before jumping to the depacked program is
> likely to crash depending on various "random" factors (state of the
> memory before running, state of the instruction cache, where the program
> will be unpacked, etc.)
> 
> So standard 68000 packers like the STF are not correct if they don't
> flush the caches at the end, there's nothing Hatari can do about this.

Why someone would pack Falcon program with a packer that doesn't
work on Falcon?

Or is it normal for people to (somehow) disable caches before they
run (these) demos, or Beats of Rage game?


	- Eero



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