Jerome Grimbert wrote:
> You're correct about the cache, but there is more than one workaround:
>  - the cache is restricted to one blob, one pattern and one sprite.
>    (even if I do not yet understand its source and I'm wondering about
>    a possible error with the blob caching, especially on my Q40 with my compilation
>    of SMSQ/E 2y99, but that's another story ...)
>    If you have to update a dynamic sprite/blob/pattern, just do like the 
>    sprted code, use two of them alternatively (first get cached but you then use
>    the second which get in the cache [pushing the first out] and then
>    you revert back to first.
>  - Or you can use the 'timer' information : if it does not match, the
>   cache is updated!

Best solution:
- increase the "cache version number". It's the byte after the timer version
number.

Marcel

Reply via email to