@stephen_usher and / or @Badwolf
From what I can tell the normal memory routine of "own address test" and some other tests are normally done, but all but own address are skipped in this version. So I assume this is what TOS306 is doing.
I am also not really sure it is showing the proper amount of TTram as well.
EDIT:
This one may fix the RAM amount issue.. I think there was a "typo" in the RAM detect code :shrug:
REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
TOS RAM test routine ?
-
exxos
- Site Admin

- Posts: 28619
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
You do not have the required permissions to view the files attached to this post.
-
Badwolf
- Site sponsor

- Posts: 3058
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
No speed up with either this one or the 4.img.exxos wrote: 11 Dec 2022 21:12 This one may fix the RAM amount issue.. I think there was a "typo" in the RAM detect code :shrug:
tos206uk2.zip
Latter shows the correct memory count, though.
I think you're chasing your tail here. Go back to the original source, enable the cache and call it a day!
At the end of the day, hatari will not emulate the massive speed up of accessing TT-RAM in the 536 so I can only do a comparative. None is faster than the original so far.
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
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
exxos
- Site Admin

- Posts: 28619
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
That is odd as in Hatari 1.9.0 TTram test of 10MB is the same or a fraction faster than TOS306 now.
Cool beans.
It is enabled, has been for a while now.Badwolf wrote: 12 Dec 2022 11:22 I think you're chasing your tail here. Go back to the original source, enable the cache and call it a day!
It won't be faster than 306, but it's definitely not slower than 306 now. So don't know why you get those results as they differ to what I am getting here.Badwolf wrote: 12 Dec 2022 11:22 At the end of the day, hatari will not emulate the massive speed up of accessing TT-RAM in the 536 so I can only do a comparative. None is faster than the original so far.
-
Badwolf
- Site sponsor

- Posts: 3058
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
Yes, but I mean I don't think there's been any improvement with all the fiddling since, so IIYW I'd just go back to known good (albeit slow) starting position and only turn on the cache.
But that's just my tuppenceworth. I get nervous when a tweak doesn't do exactly what I'm expecting and I leave it in anyway :P
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
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
exxos
- Site Admin

- Posts: 28619
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
Does anyone have a single image file of PAK030 TOS ?
-
stephen_usher
- Site sponsor

- Posts: 7454
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: TOS RAM test routine ?
Here you are...
You do not have the required permissions to view the files attached to this post.
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.
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.
-
Badwolf
- Site sponsor

- Posts: 3058
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
After tweaking the version at 0x02, if I boot this in Hatari with the same configuration I used for Exxos' ROM image, it runs considerably quicker. Including the ST-RAM test, BTW.
Implies it's just performing fewer tests, to be honest.
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
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
exxos
- Site Admin

- Posts: 28619
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
Thanks.
PAK takes 2:25mins
ST536 TOS 2:24mins.
So I don't know where Frank got 24 seconds from . He must have a patched TOS which uses a larger block size.
-
Badwolf
- Site sponsor

- Posts: 3058
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
Wow, that's interesting -- and shows why Hatari testing for hardware issues can only take you so far!
BW
EDIT: One thought, does your firmware allow caching of the TOS range?
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
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
-
exxos
- Site Admin

- Posts: 28619
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
ummmm. not sure. I know Anders patched stuff to cahe ST-RAM, but not sure if that included ROM.. Will have a look.Badwolf wrote: 12 Dec 2022 16:26 EDIT: One thought, does your firmware allow caching of the TOS range?
This is the routine it runs anyway.
Basically if TP_12 is enabled, it just jumps to testzon8 and just outputs the TTram amount without doing anything else.
Code: Select all
testzone:
moveq.l #0,d0
#if !TP_12 /* SKIP_RAM */
move.l memtaddr,d1
cmp.l memtbot,d1
bcs.s testzon8
cmp.l memtend,d1
bcc.s testzon8
move.l #ZONESIZE/4-1,d0
move.l d0,d1
movea.l memtaddr,a0
moveq.l #-1,d2
testzon1:
move.l d2,(a0)+
dbf d0,testzon1
movea.l memtaddr,a0
move.l d1,d0
testzon2:
cmp.l (a0)+,d2
dbne d0,testzon2
bne.s testzon7
movea.l memtaddr,a0
move.l d1,d0
moveq.l #1,d2
testzon3:
rol.l #1,d2
move.l d2,(a0)+
dbf d0,testzon3
movea.l memtaddr,a0
move.l d1,d0
moveq.l #1,d2
testzon4:
rol.l #1,d2
cmp.l (a0)+,d2
dbne d0,testzon4
bne.s testzon7
movea.l memtaddr,a0
move.l d1,d0
moveq.l #0,d2
testzon5:
move.l d2,(a0)+
dbf d0,testzon5
movea.l memtaddr,a0
move.l d1,d0
testzon6:
cmp.l (a0)+,d2
dbne d0,testzon6
bne.s testzon7
moveq.l #0,d0
bra.s testzon8
testzon7:
moveq.l #-1,d0
testzon8:
#endif /* TP_12 */
movea.l memtaddr,a0
adda.l #ZONESIZE,a0
move.l a0,memtaddr
rts
Who is online
Users browsing this forum: ClaudeBot and 9 guests