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

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


Le 17/07/2021 à 08:47, Thomas Huth a écrit :
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.

Hi

I guess they did by manually truncating the end of the .prg/.tos file to gain a few bytes and stay below the 256 bytes limit :)





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