Re: [hatari-devel] Fastload from GEMDOS drive emulation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Fastload from GEMDOS drive emulation
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Tue, 11 Jun 2019 17:18:23 +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=NdStJ7CLwoHbz32u4Ai3K3MModv+VUUH3XKsUQ4HlzE=; b=hWr36dFu1Ag5+kSBrRliCjBUlOD6tOoLBQAvzPsLqAW6MpzvVo/SeFhRBilE2L1+Zh KOJ9i+y9/rQyj/Ve5cPwSKOl6hSaaXWSG3OShX/gP8BK697VmgSXZwK1yNH4HVZqkVLG dbB9o4dM49atdOS+Sc4rdxOpeUMKxDtZ2Zz0FA27x2hcVbMsjmq5NOqRvUMheYa00PLM TFJV1tQrvrfGwEY4EJCVlVzfuMrVVhJhO4EsLYhJAUBAWYAtvPjMIDzzamYFvi9Gp6FH zH3LTr/2pz6hmEEUsr08ZU2lpC/KRYGwuyb+ZbGbtD+oCB6vwUcgUooIRv776R7Zw8mh N5Pg==
On 10/06/2019 at 08:59, Christian Zietz wrote:
When you load and relocate a program yourself, like Hatari has to do
for GEMDOS emulation, it's up to you (=Hatari) to clear the memory.
And for best compatibility, Hatari should clear the memory *slowly* :-)
Ideally, using the emulated CPU to clear the whole block.
For example, if you run any program without Fastload bit with Hatari
from floppy or hard disk partition, you can humanly notice the delay at
startup (between the end of loading and actual startup). This delay is
about 1 second with 4 MB of RAM, and about 3 seconds with the boosted 14
MB configuration. This completely makes sense.
On the other hand, when using GEMDOS drive emulation, if the memory
clear is performed by the host, it will be instantaneous.
Of course such slowness would be more accurate, but probably overkill.
As the GEMDOS drive has virtually infinite speed, it may also make sense
to also boost the heap zeroing.
Of course, personally I prefer fast loadings!
But seeing a speed difference (in addition to disk speed) between disk
images and GEMDOS drive emulation is a bit puzzling.
--
Vincent Rivière