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:
If I changed the header to 209 it just freezes then :(
TOS RAM test routine ?
-
exxos
- Site Admin

- Posts: 28376
- 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.
-
stephen_usher
- Site sponsor

- Posts: 7380
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: TOS RAM test routine ?
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.
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.
-
exxos
- Site Admin

- Posts: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
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:
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
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.
BW
With memvalid it just bombs early doors.
No bus error logged in the console, which is odd.
BW
You do not have the required permissions to view the files attached to this post.
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: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
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 ...Badwolf wrote: 05 Dec 2022 22:19 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.
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
Yep, just found the line & nixed it.exxos wrote: 05 Dec 2022 22:25 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 ...
tos.c:
Code: Select all
if (ConfigureParams.System.nCpuLevel < 2 || (TosVersion < 0x0300 && !bIsEmuTOS)) {
ConfigureParams.System.bAddressSpace24 = true;
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: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
Badwolf wrote: 05 Dec 2022 22:31 Yep, just found the line & nixed it.
tos.c:TT-RAM test is slow as molasses, as described.Code: Select all
if (ConfigureParams.System.nCpuLevel < 2 || (TosVersion < 0x0300 && !bIsEmuTOS)) { ConfigureParams.System.bAddressSpace24 = true;
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.
-
stephen_usher
- Site sponsor

- Posts: 7380
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: TOS RAM test routine ?
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.
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.
-
exxos
- Site Admin

- Posts: 28376
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: TOS RAM test routine ?
That's what I mentioned earlier.. It just goes to desktop without doing any RAM tests :shrug:stephen_usher wrote: 05 Dec 2022 22:55 You could just change the TOS header to read 3.06 instead. :-)
-
Badwolf
- Site sponsor

- Posts: 3043
- Joined: 19 Nov 2019 12:09
Re: TOS RAM test routine ?
:lol:exxos wrote: 05 Dec 2022 22:33 argh, how many seconds did it take you to do that ? :lol: GIMMIE!!! :chairsmack:
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.
That should work -- isn't that where we came in? :Dstephen_usher wrote: 05 Dec 2022 22:55 You could just change the TOS header to read 3.06 instead. :-)
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
Who is online
Users browsing this forum: ClaudeBot and 3 guests