Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

TOS RAM test routine ?

News,announcements,programming,fixes,game patches & discussions.
User avatar
exxos
Site Admin
Site Admin
Posts: 28821
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: TOS RAM test routine ?

Post by exxos »

@Badwolf This is the only time basically TOS version is mentioned..

Code: Select all

#if TOSVERSION >= 0x300
        move.l    d0,-(a7)
        movea.l   #memtsp,a0
        bsr       mempstr
        move.l    (a7)+,d0
memtes17:
#else
        movea.l   #memtsp,a0
        bsr       mempstr
memtes17:
        movea.l   #memtams2,a0
        bsr       mempstr
        move.l    memttop,d0
        sub.l     memtaddr,d0
#endif
User avatar
exxos
Site Admin
Site Admin
Posts: 28821
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: TOS RAM test routine ?

Post by exxos »

@frank.lukas @stephen_usher

80000.img is with the number changed from 20000.

TP32 is with the cache stuff enabled.

I can't test as I have my Falcon on my bench.

536_TEST.zip
(254.39 KiB) Downloaded 80 times
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7504
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TOS RAM test routine ?

Post by stephen_usher »

What comes after that code? I.e. What's the rest of memtes17?

Context is everything.
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: 28821
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: TOS RAM test routine ?

Post by exxos »

stephen_usher wrote: Mon Dec 05, 2022 8:00 pm What comes after that code? I.e. What's the rest of memtes17?

Context is everything.
viewtopic.php?p=94992#p94992
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7504
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TOS RAM test routine ?

Post by stephen_usher »

So, it looks like TOS 2 runs 'bsr mempstr" an extra time, once for memtsp in a0 and once with memtams2 in a0 whereas TOS 3 only runs it with memtsp in a0. I wonder what memtams2 points to.

I'd be inclined to use the TOS 3 version.
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: 28821
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: TOS RAM test routine ?

Post by exxos »

stephen_usher wrote: Mon Dec 05, 2022 8:21 pm So, it looks like TOS 2 runs 'bsr mempstr" an extra time, once for memtsp in a0 and once with memtams2 in a0 whereas TOS 3 only runs it with memtsp in a0. I wonder what memtams2 points to.

I'd be inclined to use the TOS 3 version.
OK I will do another build and enable that then.
User avatar
exxos
Site Admin
Site Admin
Posts: 28821
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: TOS RAM test routine ?

Post by exxos »

So this one is with that memory routine patched..

MT206.zip
(127.23 KiB) Downloaded 29 times
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7504
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TOS RAM test routine ?

Post by stephen_usher »

Unfortunately I can't burn any more ROMs at the moment as I'm out of 27C4096 chips. I'll have to order some more from Mouser.
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
Badwolf
Site sponsor
Site sponsor
Posts: 3065
Joined: Tue Nov 19, 2019 12:09 pm

Re: TOS RAM test routine ?

Post by Badwolf »

exxos wrote: Mon Dec 05, 2022 7:45 pm @Badwolf This is the only time basically TOS version is mentioned..
Dunno if you meant me, but I was talking about Hatari.

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: 28821
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: TOS RAM test routine ?

Post by exxos »

Badwolf wrote: Mon Dec 05, 2022 9:06 pm Dunno if you meant me, but I was talking about Hatari.
Hatari did pop up STram test at one point, but it must be patching something when I have 306 in the header as it totally skips RAM tests. Feking annoying :cussing:
Post Reply

Return to “SOFTWARE PROGRAMMING & DISCUSSION”