Page 7 of 16

Re: TOS RAM test routine ?

Posted: 06 Dec 2022 20:43
by exxos
frank.lukas wrote: 06 Dec 2022 20:35 2m20s for 256MB / 4 = 35s (This is the same as the PAK020 with 40Mhz and 64MB)
Thanks for the results.

If you have not been following the thread fully, I have not yet worked out why the TTram test is faster on PAK and TOS306. It is difficult to do any tests without programming a ROM every time. Hatari needs a patch and I don't know how to do that either.

Re: TOS RAM test routine ?

Posted: 06 Dec 2022 21:53
by exxos
@Badwolf So this is with TP_03 enabled which should run the code in this post viewtopic.php?p=95099#p95099 :shrug:

tp03.zip

Re: TOS RAM test routine ?

Posted: 06 Dec 2022 22:12
by stephen_usher
Just trying using an old Hatari (2.1.0) on my Mac, which switches to TT mode when TOS is names 3.09, which is fine.

ST RAM test is quick now but TT RAM test is slow.

Re: TOS RAM test routine ?

Posted: 06 Dec 2022 22:25
by exxos
stephen_usher wrote: 06 Dec 2022 22:12 Just trying using an old Hatari (2.1.0) on my Mac, which switches to TT mode when TOS is names 3.09, which is fine.
I wonder if a older version on Windows would work for me.. Have a look later
stephen_usher wrote: 06 Dec 2022 22:12 ST RAM test is quick now but TT RAM test is slow.
Thanks, not sure why STram be quicker and not TTram... will have another look.

Re: TOS RAM test routine ?

Posted: 06 Dec 2022 22:41
by exxos
1.9.0 Won't let me even select a TTram Value.

2.0.0 Just says bad ROM chip in E.

2.1.0 has the same problem Whereas if I force it to 306 in the header, it totally skips the RAM tests.

Re: TOS RAM test routine ?

Posted: 06 Dec 2022 22:49
by exxos
@stephen_usher did you try normal TOS306 in Hatari as well ? Just want to make sure its not a cache thing going on... I am assuming TOS306 is also faster than ST536 TOS ?

Re: TOS RAM test routine ?

Posted: 07 Dec 2022 10:19
by Badwolf
exxos wrote: 06 Dec 2022 21:53 @Badwolf So this is with TP_03 enabled which should run the code in this post viewtopic.php?p=95099#p95099 :shrug:
Well it's back to 4 minutes on Hatari, but bear in mind that has no concept of the RAM being faster, or the CPU going up to 50MHz.

Cache is still disabled, however. I still think that would be the biggest contributor to a faster test on real hardware.

BW

Re: TOS RAM test routine ?

Posted: 07 Dec 2022 10:27
by exxos
Badwolf wrote: 07 Dec 2022 10:19 Well it's back to 4 minutes on Hatari, but bear in mind that has no concept of the RAM being faster, or the CPU going up to 50MHz.

Cache is still disabled, however. I still think that would be the biggest contributor to a faster test on real hardware.
How long does proper TOS306 take ?

Re: TOS RAM test routine ?

Posted: 07 Dec 2022 10:52
by Badwolf
exxos wrote: 07 Dec 2022 10:27
Badwolf wrote: 07 Dec 2022 10:19 Well it's back to 4 minutes on Hatari, but bear in mind that has no concept of the RAM being faster, or the CPU going up to 50MHz.
Cache is still disabled, however. I still think that would be the biggest contributor to a faster test on real hardware.
How long does proper TOS306 take ?
TOS3.06 on an 8MHz TT (tried running it in ST mode -- no go) takes of the order 45 seconds.

CACR register during the test is 00003111 for TOS3. It's 00000000 for your TOS.

BW

Re: TOS RAM test routine ?

Posted: 07 Dec 2022 10:56
by exxos
Badwolf wrote: 07 Dec 2022 10:52 TOS3.06 on an 8MHz TT (tried running it in ST mode -- no go) takes of the order 45 seconds.

CACR register during the test is 00003111 for TOS3. It's 00000000 for your TOS.
If Hatari doesn't give any speedups for cache then its not going to be the problem for the slow down regardless of what its set at.

viewtopic.php?p=95087#p95087

There must be something else different between 206 and 306 relating to the TTram tests but Ive so far not been able to work out what.