Difference between revisions of "AYC"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
Line 8: Line 8:
  
  
'''AYC players (inside CPC system)'''
+
== AYC players (inside CPC system) ==
 
----
 
----
 
- AYCplayer by OVL (MadRam & Beb = Overlanders) [Thanks to F-Key to preserve it]
 
- AYCplayer by OVL (MadRam & Beb = Overlanders) [Thanks to F-Key to preserve it]
Line 25: Line 25:
  
  
'''YM to AYC utils'''
+
== YM to AYC utils ==
 
----
 
----
 
- CPC amsdos --> YM2AY (Kit ayc) by MadRam
 
- CPC amsdos --> YM2AY (Kit ayc) by MadRam
Line 35: Line 35:
  
  
'''ToDo'''
+
== AYC file format ==
 +
----
 +
An AYC file is basically just a particular YM file that has been compressed.<br />
 +
There are two main sections inside an AYC file:<br />
 +
* Header
 +
* Data
 +
 
 +
 
 +
=== Header ===
 +
 
 +
The header contains info about the tune duration, the registers data offset in the file and the buffers sizes for decompression.
 +
{| class="wikitable"
 +
|-
 +
! Offset !! Size !! Description
 +
|-
 +
| #00 || 2 || Song duration (number of vertical refresh period)
 +
|-
 +
| #02 || 1 || Buffer size for register 0
 +
|-
 +
| #03 || 2 || Crunched data offset in the file for register 0
 +
|-
 +
| 3*n + #02 || 1 || Buffer size for register n
 +
|-
 +
| 3*n + #03 || 2 || Crunched data offset in the file for register n
 +
|-
 +
| #2C || 1 || RESERVED (defaulted to 0xFF)
 +
|-
 +
| #2D || 2 || RESERVED (defaulted to 0xFFFF)
 +
|-
 +
| #2F || 1 || RESERVED (defaulted to 0xFF)
 +
|-
 +
| #30 || 2 || RESERVED (defaulted to 0xFFFF)
 +
|}
 +
 
 +
== ToDo ==
 
----
 
----
 
- There is only one PC command line util YMTOOL [ST-Sound
 
- There is only one PC command line util YMTOOL [ST-Sound

Revision as of 04:43, 22 April 2013

Generic Standard file in CPC music. Really is a de-compressed and re-compressed YM file.

The "plain" YM format can not be played on CPC, because it uses LHA packing which is not unpackable in realtime. You need the AYC toolkit or YMcruncher to convert them to AYC, then you should be able to play them with various tools.

You can extract (rip) CPC music (or from another 8-16bit system) with your emulator to YM file and convert to AYC file to use it on CPC. The author of this great idea is Madram from Overlanders.


AYC players (inside CPC system)


- AYCplayer by OVL (MadRam & Beb = Overlanders) [Thanks to F-Key to preserve it] New font screen, a trick to pass the slow and weighty 16k screen...

AYCplayer - CPC screen view

- Dual Module Player by Hermol

- TsP The Soundtrackker Player by TomEtJerry




YM to AYC utils


- CPC amsdos --> YM2AY (Kit ayc) by MadRam


- PCwin --> YMcruncher by F-key


AYC file format


An AYC file is basically just a particular YM file that has been compressed.
There are two main sections inside an AYC file:

  • Header
  • Data


Header

The header contains info about the tune duration, the registers data offset in the file and the buffers sizes for decompression.

Offset Size Description
#00 2 Song duration (number of vertical refresh period)
#02 1 Buffer size for register 0
#03 2 Crunched data offset in the file for register 0
3*n + #02 1 Buffer size for register n
3*n + #03 2 Crunched data offset in the file for register n
#2C 1 RESERVED (defaulted to 0xFF)
#2D 2 RESERVED (defaulted to 0xFFFF)
#2F 1 RESERVED (defaulted to 0xFF)
#30 2 RESERVED (defaulted to 0xFFFF)

ToDo


- There is only one PC command line util YMTOOL [ST-Sound Download] [1] to edit info inside YM files. It is needed a "windowed" version more easy and quick to use.

- SymAmp don't read AYC files, sig! Any coder?