Re: [hatari-devel] Hatari TT TOS versions support (was: Manual update)

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


Hi,

On 1/18/20 11:02 PM, Christian Zietz wrote:
Eero Tamminen schrieb:

+  <li>Only TOS version 3.05 and 3.06 (and 512k EmuTOS) can be used in TT mode.</li>

Without having tested it: I assume that also TOS version 3.01 (the
version in the first TTs) can be used with Hatari in TT mode -- and even
the pre-release TOS 3.00 "blue". Maybe simplify it to version 3.x?

Those were already earlier in manual, but I'm
wondering whether it's better to limit it to versions that are known to work OK with default
Hatari TT configuration, or list all that work
at least somewhat in Hatari.

Any comments from others?

The reason I ask, is that Hatari patches some
things from TOS versions, and those binary patches
are naturally per TOS version.

However, looking at tos.c, I see patches only for
TOS v3.06, not for other TT TOS versions:
--------------------------------------------
....
static const Uint8 pRomCheckOpcode306[] = { 0x60, 0x00, 0x00, 0xB0 }; /* BRA $e00886 */
....
{ 0x306, -1, pszRomCheck, TP_ALWAYS, 0xE007D4, 0x2E3C0001, 4, pRomCheckOpcode306 }, { 0x306, -1, pszNoPmmu, TP_ANTI_PMMU, 0xE00068, 0xF0394000, 24, pNopOpcodes }, /* pmove : TC=0 TT0=0 TT1=0 -> disable MMU */ { 0x306, -1, pszNoPmmu, TP_ANTI_PMMU, 0xE01702, 0xF0394C00, 32, pNopOpcodes }, /* pmove : CRP=80000002 00000700 TC=80f04445 TT0=017e8107 TT1=807e8507 -> */ { 0x306, -1, pszFix060, TP_FIX_060, 0xe024dc, 0x01C80000, 12, p060movep1 }, { 0x306, -1, pszFix060, TP_FIX_060, 0xe024fa, 0x01C80000, 12, p060movep1 }, { 0x306, -1, pszAtariLogo, TP_VDIRES, 0xE00754, 0x1038044c, sizeof( pAtariLogo ), pAtariLogo },
....
--------------------------------------------

While Atari logo isn't so important, patching MMU
instructions out would be nice, at least as long
as Hatari doesn't enable MMU by default for TT /
we still support oldUAE.


	- Eero



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