Re: [hatari-devel] Issues with cache hits/misses?

[ Thread Index | Date Index | More Archives ]

Le 01/06/2015 19:19, Eero Tamminen a écrit :
Thanks, your DTA fix is enough, I can add similar call to
other GEMDOS sites that write directly to memory (listing
files in TOS desktop works, but running programs doesn't yet).

There may also be other places where that needs to be done,
e.g. with debugger command to read file contents into memory...


I changed calls for do_put_mem_xxxx ; other places are often using STMemory_WriteXXXX. So adding a call to flush cache just in this function should be enough (that was my plan, but I forgot to do it yesterday :) )

To track what happens between VBLs, use:
	profile on
	b VBL ! VBL
	profile save vbl-profile.txt

See my other posts, it's not related to VBL or video, for some reasons it's the cache access / shift operation that shows this slowdown as if the code was really not well optimised in that case. Really strange.


Mail converted by MHonArc 2.6.19+