Crystal Beans From Dungeon Explorer:Channel Data

From Data Crystal
Jump to: navigation, search

Overview

A Channel is a sequence of commands to specify notes and effects. Very little reverse-engineering has been done on this format but the command number and the number and size of their arguments is known.

Command reference

Command Description
0x00 Unknown

No arguments

0x01-0x7F Unknown (notes?)

No arguments

0x80-0xC7
0xCA-0xD9
Unknown

Arguments:

byte: Unknown (not used if zero)
0xC8-0xC9 End channel processing (also mute channel?)

No arguments

0xDA Invalid command?

No arguments

0xDB Unknown

Arguments:

byte: voice
0xDC Unknown

Arguments:

byte: Unknown
0xDD Unknown

Arguments:

byte: ADSR1
byte: ADSR2
0xDE Unknown

Arguments:

byte: Unknown
0xDF Unknown

Arguments:

byte: Unknown
byte: Optional, read only when previous byte is < 4
0xE0 Unknown (NOP)

Arguments:

byte: Read but not used
byte: Read but not used
0xE1 Unknown

Arguments:

byte: Unknown
0xE2 Unknown

Arguments:

byte: Unknown
byte: Unknown
0xE3 Unknown

Arguments:

byte: Unknown
0xE4 Unknown

Arguments:

byte: Unknown
byte: Unknown
0xE5 Unknown

Arguments:

byte: Unknown
0xE6 Unknown

Arguments:

byte: Unknown
byte: Unknown
0xE7 Unknown

Arguments:

byte: echo delay?
byte: echo feedback volume
byte: FIRDataIndex
0xE8 Unknown

Arguments:

byte: Some index
0xE9 Unknown

Arguments:

byte: Unknown
0xEA Unknown

Arguments:

byte: Unknown
0xEB Unknown

Arguments:

byte: Unknown
0xEC Unknown

Arguments:

byte: Unknown
byte: Unknown
0xED Unknown

Arguments:

byte: Unknown
0xEE Unknown

Arguments:

byte: Unknown
byte: Unknown
0xEF Unknown

No arguments

0xF0 Unknown

No arguments

0xF1 Unknown

Arguments:

byte: Unknown
0xF2 Unknown

Arguments:

byte: echo delay?
byte: echo feedback volume
byte: FIRDataIndex
byte: Unknown
0xF3 Unknown

No arguments

0xF4 Unknown

Arguments:

byte: echo delay?
byte: echo feedback volume
byte: FIRDataIndex
byte: Unknown
0xF5 Unknown

No arguments

0xF6 Unknown

Arguments:

byte: Unknown
byte: Unknown
0xF7 Unknown

No arguments

0xF8 Unknown

No arguments

0xF9 Unknown

Arguments:

byte: Unknown
0xFA Unknown

No arguments

0xFB Unknown

No arguments

0xFC Unknown

Arguments:

word: Pattern pointer
byte: Unknown
0xFD Unknown

Arguments:

byte: Unknown
0xFE Unknown

No arguments

0xFF Unknown

Arguments:

word: Pattern pointer