Re: [hatari-devel] 24bit problem on a 030 ST |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx, exxos <emutos_mailinglist@xxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] 24bit problem on a 030 ST
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Thu, 28 Apr 2022 19:36:24 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1651174585; bh=QbT8nJ8Yosy4sXS2x+hAAOf9OyQaGTCvRUEf8rCq/W0=; h=Date:Subject:To:From:From; b=hgb0lpkwmAY0APVqfuNpbwup1UoYLtHKTjb60fPF7qX1Y784vRI+glH0OO0zzuxG6 2speozE62j0F2ZLLWyGjl2ztsEYLgNDKO28okCpoquqrMXJDvjwAajpNYnqxJPIurl mhsvZ+zYeozHzHEzQ7GZvHATs8sUKkeo7BBy8rvHLLAr9SCbP+2yiEhzF1RI3fyuX8 jzUoU1Hn0J8d48MoUlAjWsT8cwxQWlYY2Dds65yADfJg85tbEJI7TeCqXOG/ttFZcE 1QhvP6PAUh1HSTGB52cz/+qer66FyuIH9PuJcQkGItzVJN8CUYhLGS0ir1QZETEYsJ mOOeCp/DAhyjA==
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