|Re: [hatari-devel] EmuTOS machine support information|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] EmuTOS machine support information
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Sun, 17 May 2020 11:23:44 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:subject:to:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kuNlxW8MkxIDnODFMZkVnAPY/YmSJNwCy+qR4lM7Y0s=; b=JWTfi+7i9fDrpU2NpOJJhlGe/la3OUnTGs3sBYwHQRrTeysbwYvcWOh3xMSfFQpuIC KLH2XDPDD+q9V/p6PkRt/WtMSecFW4eG2QM9s2VicXV77lX01su/TU1tPaCxrO3009WG zYXcU73ak885fRfFdg07d9AWf+U0PSGO2dCZSMyFwlAt9s7TqR78S0SpzLJQ9dYVbAsX T3WKWHQBQKB9SuLge0yo84r4uFCKq8/YLqfGtAzHolEWWA+tkm6WSLVDVcbtt3yvjuPj nt0JdrXxWXiKX7fYkd6bQrhv8LlxhTtl9mmZXT1VWxSNAaQlkMBJbHzFEHL/lCIq9j/g DwFw==
On 16/05/2020 at 23:06, Roger Burrows wrote:
I noticed that Hatari cross-checks the version of Atari TOS against the machine
type. It checks EmuTOS as well, but more crudely since EmuTOS version numbers
(and the version of Atari TOS announced by EmuTOS) are not 100% useful.
The TOS version specified in EmuTOS ROM header is meaningless. I hope that
Hatari doesn't use it for anything. If it actually does, that's wrong. Any
Hatari check regarding to the TOS version must be disabled in case of EmuTOS.
Before EmuTOS extended header (available in current snapshots and future
releases), the only relevant information about EmuTOS is the ROM size.
- 512 KB: full-featured, all machines
- 256 KB: ST / STe (but not TT or Falcon)
- 192 KB: ST only (including Mega ST)
It would indeed be good that Hatari checks that, to avoid people complaining
that i.e. 192k EmuTOS ROM doesn't work with Falcon settings.
EmuTOS now has an extended header which we can put useful information into.
Would it be helpful to Hatari if I added flag bits to indicate which hardware
this ROM can run on; for example, runs on ST hardware / runs on STe hardware /
etc ? If so, now would be a good time for me to add this.
So if EmuTOS is detected but the extended header is not present, the above
rules still applies.
But if the EmuTOS extended header is present, its information will override
the above hardcoded rules.
That would allow someone, for example, to build a 192k ROM for Falcon (for
any obscure reason), and avoid Hatari to complain in that unusual case.
The new EmuTOS flags could be:
1) Supported Atari machines: ST, STe, TT, Falcon, ARAnyM
2) Supported CPU: 68000, 68010, 68020, 68030, 68040, 68060
They must be bitfields, so multiple hardware can be supported by a single
ROM. Typically, by design, etos512k.img will support everything (except
So Hatari could reliably issue warnings like:
"Warning: This EmuTOS version is not designed to run on TT. Do you want to
That would be great, and relatively easy to implement.