ZX SPECTRUM SOUND CHIP EMULATOR FILES ZXAY

From MSX MUSIC WIKI
Jump to: navigation, search

ZXAY ZXAY file can be converted from any OUT, EPSG, AY and AYM file. This is more optimal format than OUT for storing AY outing. ZXAY file structure is also regular: sequences of 4 bytes blocks. First block of ZXAY file is ASCII string 'ZXAY'. All other blocks have next structure.

Bit numbersName

Bit numbers Name 0–19 Time 20–23 Register 24–31 Data Time is time of outing in Z80 processor tacts in range 0–0FFFFFh during of which was outing Data to Register. Range of register field is 0–13. If during Time = 0 was no outing then block is writes into ZXAY file and field Register = 15. Available range of Data filed:

if Register = then available range of Data 1, 3, 5 or 13 0–15 6, 8, 9 or 10 0–31 7 0–63 other 0–255. If previous value of registers from 0 to 12 is equal to value of current outing, then current block is not wrote to ZXAY file. Outing to register 13 is always written. As you can see, ZXAY structure is analog of OUT structure.