Re: [hatari-devel] Relocation warning + program failing when run from GEMDOS HD

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


On Mittwoch, 28. September 2022 23:16:51 CEST Eero Tamminen wrote:
> Shouldn't that be always within nTextLen + nDataLen?

Theoretically, yes. But that is something that TOS doesn't check, it just 
keeps processing until it hits end-of-file or a zero byte. EmuTOS does such 
checks though, and also whether any relocation byte is odd (except for 1 which 
has special meaning). Both check the initial offset for being in range.






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