[hatari-devel] New FDC emulation

Eero Tamminen oak at helsinkinet.fi
Fri Oct 7 21:52:23 CEST 2011


Hi,

On perjantai 07 lokakuu 2011, Nicolas Pomarède wrote:
> After seeing a lot of bug reports about games not running under Hatari,
> due to uncomplete emulation of the WD1772, I committed the result of my
> work during the latest weeks.
> 
> The fdc.c emulation has been nearly completly rewritten, with accuracy
> in mind regarding registers emulation, delays and dma transfers.

Wow, that was a large rewrite (lots of commits etc). :-)

[...]
> I removed the "--slowfdc" option and replaced it with "--fastfdc" (which
> is off by default). This way, Hatari will start in maximum compatibility
> mode regarding FDC, so users should get the best results out of the box.
> If you want faster disk acceses (at the risk of some incompatibilities),
> you can use --fastfdc to speed up most delays by a factor 10.

IMHO things that don't work with "--fastfdc on" should be rare enough
that they could even be listed in the compatibility list.   What do you
think?


> I updated python-ui and the OSX gui to use this new option.

Nice. :-)


> Please, test a lot of demos / games (but mainly games) and report the
> regressions you could see.

Will do.  Great work, thanks!


Btw. Could you update the Manual "The Floppy Disks Dialog" section
text & image also?


Regarding this:
-#define VERSION_STRING      "1.5.0"   /* Version number of compatible 
memory snapshots - Always 6 bytes (inc' NULL) */
+#define VERSION_STRING      "devel"   /* Version number of compatible 
memory snapshots - Always 6 bytes (inc' NULL) */
 
IMHO it might be better just to put there larger number, e.g. "1.5.1" to
signify that it's later version.  Just in case it gets forgotten for next
release and so that it doesn't match earlier devel releases...


	- Eero

PS. I'm not going to do much Hatari stuff for a while, I'm looking
into EmuTOS bugs (writing test programs for them) and testing AHCC.

I might eventually do also a bit of test automation for both Hatari
and EmuTOS as described here:
http://sourceforge.net/mailarchive/forum.php?thread_name=201109192303.28066.oak%40helsinkinet.fi&forum_name=emutos-
devel



More information about the hatari-devel mailing list