[hatari-devel] Slow HD boot with the new floppy code

Nicolas Pomarède npomarede at corp.free.fr
Sat Oct 8 16:39:52 CEST 2011


Le 08/10/2011 13:12, Anders Eriksson a écrit :
> On Sat, 8 Oct 2011, Nicolas Pomarède wrote:
>
>>> If you press a key (i.e. skip the memory test), HD starts to boot
>>> immediately. That was also the case for Hatari before new code.
>>
>> Yes, but before new code, FDC timings were notably wrong in most case,
>> a side effect of this was that the time out to check a disk is
>> inserted was not correct and the floppy part was much faster.
>>
>> With correct FDC timings, it takes more time for floppy A: to time
>> out. I would need to check if there's an easy way to shorten this, but
>> changing FDC timings could have negative effects and prevent programs
>> that works now from not working anymore again.
>>
>> Maybe you can press "alt + x" to toggle fast forward mode during boot,
>> or start Hatari with an empty disk image inserted in drive A: (using
>> --disk-a option) ?
>
> Hi,
>
> on an ST, STe, TT or Falcon the boot starts directly if you have an
> harddisk, no wait for floppydrive even with no floppy in. The machine
> just checks if there's a disk in the drive, and if not, it tries to boot
> from harddisk.
>
> The only delay is on Falcon without IDE disk, there's a slight timeout
> before jumping to SCSI boot (this can be reduced via undocumented NVRAM
> values though, but it was too long ago to remember exactly what).
>

OK, so maybe this means our HD emulation is not correct and the TOS is 
not aware that an HD is present and floppy disk should be skipped.

So extra code might be needed in the IDE/gemdos HD emulation to have the 
TOS react faster as on a real Falcon.

Nicolas



More information about the hatari-devel mailing list