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

Re: TOS RAM test routine ?

Post by exxos »

With STE TOS206 ST536 TOS it does show up the STram test. But it does not see the TTram :(

I think it keeps on turning on 24 bit addressing by itself which is probably why :roll:

Capture.PNG
Capture.PNG (52.53 KiB) Viewed 1543 times

If I changed the header to 209 it just freezes then :(

Capture.PNG
Capture.PNG (57.02 KiB) Viewed 1542 times
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7487
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TOS RAM test routine ?

Post by stephen_usher »

Use my fixcrc program to fix that. :-)
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: 28717
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 10:00 pm Use my fixcrc program to fix that. :-)
Never thought of that...

Though generally TOS doesn't lock up completely after failing the CRC test.. Unless something else funky is going on

EDIT:

Saying that it won't help.. As soon as Hatari sees "2.xx" it switches on 24bit addressing :(

I think someone mentioned this could be disabled in Hatari last time I was messing with it all.. with the usual "if you compile it yourself" type of "help" :roll:
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 »

My fairly heavily modded Hatari oddly prints the dashes without reverse text then bombs at the start of the TT-RAM test.

With memvalid it just bombs early doors.

No bus error logged in the console, which is odd.

Screenshot 2022-12-05 at 22.17.57.png
Screenshot 2022-12-05 at 22.17.57.png (75.51 KiB) Viewed 1532 times

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: 28717
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 10:19 pm My fairly heavily modded Hatari oddly prints the dashes without reverse text then bombs at the start of the TT-RAM test.

With memvalid it just bombs early doors.

No bus error logged in the console, which is odd.
So you know how to do mods to Hatari then ? If that's the case if I could find line of code which has mentioned you could probably just remove that for me ? I would assume if it stopped switching to 24bit addressing then it would allow TTram to work ...
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 10:25 pm So you know how to do mods to Hatari then ? If that's the case if I could find line of code which has mentioned you could probably just remove that for me ? I would assume if it stopped switching to 24bit addressing then it would allow TTram to work ...
Yep, just found the line & nixed it.

tos.c:

Code: Select all

	if (ConfigureParams.System.nCpuLevel < 2 || (TosVersion < 0x0300 && !bIsEmuTOS)) {
			ConfigureParams.System.bAddressSpace24 = true;
TT-RAM test is slow as molasses, as described.



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: 28717
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 10:31 pm Yep, just found the line & nixed it.

tos.c:

Code: Select all

	if (ConfigureParams.System.nCpuLevel < 2 || (TosVersion < 0x0300 && !bIsEmuTOS)) {
			ConfigureParams.System.bAddressSpace24 = true;
TT-RAM test is slow as molasses, as described.

BW


argh, how many seconds did it take you to do that ? :lol: GIMMIE!!! :chairsmack:

I only just found the email about it :lol:
Have a look at tos.c :

/* 32-bit addressing is supported only by CPU >= 68020, TOS v3, TOS v4 and EmuTOS */
if (ConfigureParams.System.nCpuLevel < 2 || (TosVersion < 0x0300 && !bIsEmuTOS))
{
ConfigureParams.System.bAddressSpace24 = true;
M68000_CheckCpuSettings();
}

I think it should work if you change the 0x0300 into 0x0200.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7487
Joined: Mon Nov 13, 2017 7:19 pm
Location: Oxford, UK.
Contact:

Re: TOS RAM test routine ?

Post by stephen_usher »

You could just change the TOS header to read 3.06 instead. :-)
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: 28717
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 10:55 pm You could just change the TOS header to read 3.06 instead. :-)
That's what I mentioned earlier.. It just goes to desktop without doing any RAM tests :shrug:
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 10:33 pm argh, how many seconds did it take you to do that ? :lol: GIMMIE!!! :chairsmack:
:lol:

I'd been hacking that file already for my own nefarious ends.

I'm afraid a debug Linux version is probably not much use to you.
stephen_usher wrote: Mon Dec 05, 2022 10:55 pm You could just change the TOS header to read 3.06 instead. :-)
That should work -- isn't that where we came in? :D

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

Return to “SOFTWARE PROGRAMMING & DISCUSSION”