Re: [hatari-devel] Some wrong assumptions about EmuTOS capabilities

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


Hi,

On 1/17/20 8:24 PM, Thorsten Otto wrote:
When checking for valid CPU/ROM combinations, Hatari currently assumes that
EmuTOS can handle everything, but that is only true for the 512k version. The
192k versions don't have support for anything but 68000, and the 256k versions
don't have TT support.

For example i just accidently tried to use the 256k version in TT mode. That
causes XCONTROL to crash, because EmuTOS detects a MSTE as machine-type
(because of the missing TT-Shifter support), then xcontrol (or more precisely
general.cpx) tries to access the cache control register at $ff8e21, and
crashes because Hatari configured I/O for TT, were that register does not

Thanks, I committed a fix for this.

192k & 256k set 0x104 and 0x206 TOS versions, so
current checks work correctly for them as-is,
TOS version checks need to be skipped only for
512k version (it sets TOS version 0x206).


	- Eero



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