Re: [hatari-devel] GEMDOS HD Pexec() fails for RENEGADE.TOS

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 17.7.2021 9.47, Thomas Huth wrote:
Am Mon, 12 Jul 2021 22:55:20 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
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.

Verified.  Thanks!


	- Eero




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/