Re: [hatari-devel] Adding cache support for the MegaSTE |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Adding cache support for the MegaSTE
- From: Miro Kropáček <miro.kropacek@xxxxxxxxx>
- Date: Sat, 13 Jul 2024 00:30:05 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720823417; x=1721428217; darn=lists.tuxfamily.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=fY0LFex6biRkz9VjDtwLa24fZiF/qVUuQyi14O13QkU=; b=PcAjiPIlBIsaDka9dboy8KWIXgA5k6k2YXycwYGqzuV3T1OGj/KKiTORR/Ok1KB0yp 1uYIoYNW7YTG01LgNOZ+H2awOf0AC6praTI4bOPs5RoABvVuDPEWtCoeywim/jUY7fKI X8IPW+YgUXqp/TQ5lITjYvZXLjGLJ74BV6NDiPwllL/lb+NCYaxIi/H43sMfEYUaLd6m QH2yCOvSVJENjW98MaJuKZbAHJ71mlLelhpzbJkE1brbclL8uyeNY+/vOauoVaodwaDt AAzqiqw86h6Ock5E8vDVBbm/WXK3jKG4dsDbq1sZ2y5jEsUju3ff9+tc0nZJ5Olf5s6/ CzcQ==
FYI, I ran the latest test on my MegaSTE, too. ST Low, Mid and High, with and without MonSTer enabled - I've got the same numbers as Christian did (the $0000 got replaced by $00a7, I presume this will be his result as well).
Le 12/07/2024 à 22:46, Christian Zietz a écrit :
> Nicolas Pomarède schrieb:
>
>> megaSTE cache is not very well documented, I think I read somewhere that
>> cache was only updated on write and not on read,
>
> That would make the cache rather pointless, as you want the cache to
> cache code as it is executed.
that's what I thought too, that it was not a very efficient cache but
being able to cache data and not code would be better than nothing :)
>
>> Anyway, updated version of cache test is now doing more tests to check
>> for filling cache on read and not just on write :
>
> Results are attached. As before, they are 100% reproducible. But I'm not
> sure if "R words, R words" is supposed to show $0000. Bug in the
> program, perhaps?
Yes, there was a typo. Attached version fixes "R words, R words" case
Nicolas
--