summaryrefslogtreecommitdiff
path: root/ym2612.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-11-01 12:55:08 -0800
committerMichael Pavone <pavone@retrodev.com>2015-11-01 12:55:08 -0800
commita222206c9996e01962009c8d7e982c8f34d4a15f (patch)
treec071cf56b08f346e3bd20ab68d85ace02149ed2f /ym2612.c
parentc56a201e159cd1c7436134de93d4918508758f6f (diff)
Wrote a buggy tool for splitting VGM files by channel
Diffstat (limited to 'ym2612.c')
-rw-r--r--ym2612.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/ym2612.c b/ym2612.c
index 181ff82..864081c 100644
--- a/ym2612.c
+++ b/ym2612.c
@@ -26,31 +26,6 @@
#define BUSY_CYCLES_DATA_HIGH 47
#define OP_UPDATE_PERIOD 144
-enum {
- REG_LFO = 0x22,
- REG_TIMERA_HIGH = 0x24,
- REG_TIMERA_LOW,
- REG_TIMERB,
- REG_TIME_CTRL,
- REG_KEY_ONOFF,
- REG_DAC = 0x2A,
- REG_DAC_ENABLE,
-
- REG_DETUNE_MULT = 0x30,
- REG_TOTAL_LEVEL = 0x40,
- REG_ATTACK_KS = 0x50,
- REG_DECAY_AM = 0x60,
- REG_SUSTAIN_RATE = 0x70,
- REG_S_LVL_R_RATE = 0x80,
-
- REG_FNUM_LOW = 0xA0,
- REG_BLOCK_FNUM_H = 0xA4,
- REG_FNUM_LOW_CH3 = 0xA8,
- REG_BLOCK_FN_CH3 = 0xAC,
- REG_ALG_FEEDBACK = 0xB0,
- REG_LR_AMS_PMS = 0xB4
-};
-
#define BIT_TIMERA_ENABLE 0x1
#define BIT_TIMERB_ENABLE 0x2
#define BIT_TIMERA_OVEREN 0x4