This is happily accepted by GEMDOS. But trying to add some debug output, it does not seem to be the case for asm56000, so there must be something else that prevents it from writing to the files in such emulations.

Just recently I've asked about status of this bug in Hatari ML (see subject "asm56000.ttp problem") -- Eero seemed looking into it but then it faded away.

We were finally able to track down the problem with Thomas doing the final finding (thanks!).

asm56000.ttp is just broken.

It works only when Fopen() returns very small file handle numbers (e.g. <32 is OK), otherwise it:* Does 3 redundant Fseek()s for each Fread()* Opens wrong input file when it's re-opening that to output compilation results* Doesn't Fcreate() / open the output file and craps out