Page 3 of 16

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 19:45
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

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 19:59
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

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 20:00
by stephen_usher
What comes after that code? I.e. What's the rest of memtes17?

Context is everything.

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 20:02
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

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 20:21
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.

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 20:25
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.

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 20:39
by exxos
So this one is with that memory routine patched..

MT206.zip

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 20:44
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.

Re: TOS RAM test routine ?

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

Re: TOS RAM test routine ?

Posted: 05 Dec 2022 21:24
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: