I’ve checked the Turbo Tape utility that shows Stephan Senz Freiburg as author and I was able to confirm that there’s no silence written to tape between header and data blocks so I removed it in prg2tap 1.5.
Another thing I noticed is that the same utility resides at $C300 so it cannot load files past that address and it definitely does not do any bank switching for the BASIC ROM. Therefore it should be assumed that programs loaded by the utility should not go past the $a000 address. Regardless of that I decided to allow prg2tap users to encapsulate programs that extend past $a000 as a custom loader would be able to load data past that address anyway.
I should finally add that injecting data into the header part of a turbo file works absolutely fine on a C64 (the extra data is loaded into the cassette buffer). However, TAPClean does not expect that to happen.
Here’s the download link.
There’s still quite some work that I’d like to do on this tool, including producing a library, libtape (e for embedded), that would supersede libtapf and that I would be able to use verbatim in DC2N5 and PC apps🙂