Re: [hatari-devel] GEMDOS HD Pexec() fails for RENEGADE.TOS |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] GEMDOS HD Pexec() fails for RENEGADE.TOS
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 17 Jul 2021 06:47:11 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1626504434; bh=wRS/HnR6fV7tffP5b+gd3Zylu0a0FK4qOaPDi1ndauQ=; h=Date:From:To:Subject:From; b=MT23D9RqkNy9GS3fr3eq4JWA+zqZZ8lkCUgTINSXQNR5OxVRBMYfUwUefbtMTcyZF wuOElmIfKgk34VjmkVKlMD5R0QzAYMZivkJFUXaaUwk3lcKZBphd2o9vuu/UgrnhqF y7TWQk8gMv/guKOlnB8SBwlOkYampEOEk91Qpv2IxfPXHplHMnELJ29KW176K08m+M 4htmW6gEDuOKjNJYmqHf36vV8DQoewPRyAKky5TwDWBj8Bnrb0AGdCUJVIju9ou00A F+x4NawRAB94X/efGT8xV/yvUdGB01UTsgegzRWerAc+Oyp84ybYNUknKeIHMasiDZ HYCdGbf8nvgMw==
Am Mon, 12 Jul 2021 22:55:20 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> I noticed that Hatari GEMDOS HD cannot load
> Renegade Breakdown (256b) intro:
> https://demozoo.org/productions/296538/
>
> ERROR: Failed to parse relocation table of
> 'renegade/renegade.tos'
>
>
> Thomas, do you think there's something that
> could be done on Hatari side to load this program?
>
> Both TOS and EmuTOS load it fine from floppy
> image, so it's clearly a GEMDOS Pexec()
> implementation bug.
The relocation table of that program is missing the terminating NUL
byte. That's normally an indication that the program is incomplete. But
seems like EmuTOS and TOS are silently ignoring that and simply stop at
the end of the file. I guess we can do that in Hatari, too, so I turned
the error now into a warning messsage instead.
Thomas