PAT file

PAT files contain structured data to patch already loaded Z80 code. They're used to replace sound samples addresses originally loaded from Z80 files when different PCM files are used.


 * Maximum file size: ?
 * Type code: 5
 * Loadable in: Z80 RAM
 * Banks: 1

=Format=

Blocks of 5, 16bit values:


 * Patch address (in bytes, all the $0000~$FFFF range seems to work)
 * First data word, written to address (/2) ?
 * Second data word, written to address+2 (/2)-1 ?
 * Third optional data word, written to address+5 (/2) ?
 * Fourth optional data word, written to address+7 (/2)-1 ?