PAT file: Difference between revisions
Jump to navigation
Jump to search
m (Created page with "PAT files contain structured data to patch already loaded Z80 code. They're used to replace sound samples adresses originally loaded in the Z80 address s…") |
(No difference)
|
Revision as of 09:27, 16 April 2011
PAT files contain structured data to patch already loaded Z80 code. They're used to replace sound samples adresses originally loaded in the Z80 address space from Z80 files.
- 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 ?