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 »

@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: 28386
Joined: 16 Aug 2017 23:19
Location: UK

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
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 »

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: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post by exxos »

stephen_usher wrote: 05 Dec 2022 20:00 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: 7384
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

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: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post by exxos »

stephen_usher wrote: 05 Dec 2022 20:21 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: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post by exxos »

So this one is with that memory routine patched..

MT206.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 »

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: 3043
Joined: 19 Nov 2019 12:09

Re: TOS RAM test routine ?

Post by Badwolf »

exxos wrote: 05 Dec 2022 19:45 @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: 28386
Joined: 16 Aug 2017 23:19
Location: UK

Re: TOS RAM test routine ?

Post by exxos »

Badwolf wrote: 05 Dec 2022 21:06 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:

Return to “SOFTWARE PROGRAMMING & DISCUSSION”

Who is online

Users browsing this forum: ClaudeBot and 12 guests