User Tools

Site Tools


oric:ayt:ayt_format_technical

AYT is composed of List, Patterns and Effects organised in a flat file of about 23K.

LocationAreaOrganisation
$0600List Memory128 Rows * 16 Bytes(or 8 Tracks * 2 Bytes)
$0E00Pattern Memory128 Patterns * 64 Rows * 2 Bytes
$4E00SFX Memory64 SFX * 64 Rows * 1 Byte

The compiled format does not contain any code but is purely for music. This means we could have memory filled with different compiled musics and simply point the single player to the start location.

Memory OffsetArea
+$00Pattern Lo Address offset Table Lo
+$01Pattern Lo Address offset Table Hi
+$02Pattern Hi Address offset Table Lo
+$03Pattern Hi Address offset Table Hi
+$04SFX Lo Address offset Table Lo
+$05SFX Lo Address offset Table Hi
+$06SFX Hi Address offset Table Lo
+$07SFX Hi Address offset Table Hi
+$08Song Lo Address offset Table Lo
+$09Song Lo Address offset Table Hi
+$0ASong Hi Address offset Table Lo
+$0BSong Hi Address offset Table Hi
+$0CDefault Song to start(Will probably be Song Count at some point with top bit marking Song to start)
+$0DSong Features
+$0EHighest Frequency
+$0FSpare
-List(Compiled)
-Patterns(Compiled)
-SFX(Compiled)
-Pattern Address Tables
-SFX Address Tables
-Song Address Tables

Address tables consist of offsets from start of music module.

oric/ayt/ayt_format_technical.txt · Last modified: 2009/02/10 20:42 by twilighte