TOS RAM test routine ?

News,announcements,programming,fixes,game patches & discussions.
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7384
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: TOS RAM test routine ?

Post 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.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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 ?
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: TOS RAM test routine ?

Post 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
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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 ?
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: TOS RAM test routine ?

Post 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
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post 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.

Return to “SOFTWARE PROGRAMMING & DISCUSSION”

Who is online

Users browsing this forum: ClaudeBot and 10 guests