Re: [hatari-devel] 24bit problem on a 030 ST

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On 28/04/2022 14.09, exxos wrote:
Hi all,

I am trying to get TOS206 running with alt-ram. Options are a ST with a 030 CPU. alt-ram set to 32MB. but the problem seems to be that Hatari automatically enables "24 bit addressing" when it sees a TOS206 image loaded ?  if I binary hack that to TOS306, Hatari then boots up, with 24 bit addressing disabled.

So is there any way to stop that behaviour so I can debug TOS206 with alt-ram ?

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.

 HTH,
  Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/