Crystal Beans from Dungeon Explorer/Channel Data: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
Line 41: Line 41:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': ADSR1<br>
:'''byte''': ADSR1
:'''byte''': ADSR2
:'''byte''': ADSR2
|-
|-
Line 52: Line 52:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Optional, read only when previous byte is < 4
:'''byte''': Optional, read only when previous byte is < 4
|-
|-
Line 58: Line 58:
| '''Unknown (NOP)'''<br>
| '''Unknown (NOP)'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Read but not used<br>
:'''byte''': Read but not used
:'''byte''': Read but not used
:'''byte''': Read but not used
|-
|-
Line 69: Line 69:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 80: Line 80:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 91: Line 91:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 97: Line 97:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': echo delay?<br>
:'''byte''': echo delay?
:'''byte''': echo feedback volume<br>
:'''byte''': echo feedback volume
:'''byte''': FIRDataIndex
:'''byte''': FIRDataIndex
|-
|-
Line 124: Line 124:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 135: Line 135:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 154: Line 154:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': echo delay?<br>
:'''byte''': echo delay?
:'''byte''': echo feedback volume<br>
:'''byte''': echo feedback volume
:'''byte''': FIRDataIndex<br>
:'''byte''': FIRDataIndex
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 166: Line 166:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': echo delay?<br>
:'''byte''': echo delay?
:'''byte''': echo feedback volume<br>
:'''byte''': echo feedback volume
:'''byte''': FIRDataIndex<br>
:'''byte''': FIRDataIndex
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 178: Line 178:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''byte''': Unknown<br>
:'''byte''': Unknown
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-
Line 205: Line 205:
| '''Unknown'''<br>
| '''Unknown'''<br>
Arguments:<br>
Arguments:<br>
:'''word''': Pattern pointer<br>
:'''word''': Pattern pointer
:'''byte''': Unknown
:'''byte''': Unknown
|-
|-

Revision as of 19:12, 28 January 2024

This is a sub-page of Crystal Beans from Dungeon Explorer.

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