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: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Mon, 10 Jun 2019 16:10:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1560175842; bh=wgm5x9iRRAm6Qagfau63VDtIOoz/FDwGBR9VOfh6j7w=; h=Date:From:To:Subject:From; b=q3uIrAPmyfCWtPc8cW38L1CUHeLre4lNMc9Wz3aBm0OJJc+vPRIbVGDzW6EegMJ8q pFDBXq4Brol4Su1tRZ51t4xAocJxuqjzdZMJQ2SBZII4vldPcgkJDzXiNpkaKIANU/ WbeoAfj5vIor1nSMD4ojpWJXwcaMZqQsMaa9B7B/DlAlwKiWURfSiXz+KgkYlJs9sH 9fjtCt0sFFM8eToO0CuLKmGdI0rXmeSOn3BRTxgBYWOHc/HH3Lw3eqHvy7Csx+4YgK Lo8aNugD/fCmEezvk3M5A7RLKKIELSEJdjkTbTF3+fGNQif2bSOrbPb6bpFwkVoC9l /cxKOso0SZPBQ==
Am Mon, 10 Jun 2019 15:52:03 +0200
schrieb Thorsten Otto <admin@xxxxxxxxxxx>:
> On Montag, 10. Juni 2019 15:27:44 CEST Thomas Huth wrote:
> > it does not mention that the
> > FASTLOAD flag is ignored here,
>
> Well, indirectly it is mentioned: "similar to mode 5". Mode 5 does
> not clear the bss either. The bss/tpa is only cleared when you
> actually load a program. Mode 7 cannot do that, since it does not
> know the actual bss length of the program to execute, only the length
> of the tpa that is allocated.
Well, without FASTLOAD, the whole remaining part of the memory block is
supposed to be cleared, so Pexec would not really need to know the size
of the BSS yet... but yes, when you think about it twice, it makes more
sense the other way round, since only the unused area has to be cleared
instead of the whole block.
Thomas