Kernel loader plug-in for WAV-PRG
Written by Fabrizio Gennari, 1999

This plug-in allows to extract header chunks from C64 tapes in ordinary slow
format (the one provided by C64's kernel ROM) to PC using WAV-PRG. This
plug-in is not interesting for the common user, because it does not convert
any games. Only use it if you want to hack the program's loader code. However,
some other plug-ins use it, so it should be installed anyway.

This plug-in reads both copies of the header chunk and the first copy of the
data chunk. If the two copies of the header chunk differ, the warning message
"The two copies of the header differ" and the first one will be taken as good.
The plug-in displays the filename and the start and end addresses relative to
the data chunk associated with the header chunk. However, what will be saved
to PC will have 828 as the start address and 1020 as the end address.

After each byte, a parity check is performed and the end-of-byte impulse is
sought for. After the end of the header, a checksum will be performed. If
these tests fail, warning messages are displayed.

For information about the file format, see the text relative to ld_kernel.

Both the plug-in and this document were written with the help of
64loaders.txt, included with Tomaz Kac's 64util.