a fantasy sound chip created by Euly, based on the Ricoh 2A03, with some improvements:
11xx: write to delta modulation counter. range is 00 to 7F.7F, they will be at about 57% volume.12xx: set duty cycle/noise mode/waveform of channel.0 to 3 for the pulse channels:0: 12.5%1: 25%2: 37.5%3: 50%0 or 1 for the noise channel:0: long (15-bit LFSR, 32767-step)1: short (9-bit LFSR, 93-step)0 to 3 for the wave channel:0: triangle1: saw2: square3: sine13xy: setup sweep up.x is the time.y is the shift.0 to disable it.14xy: setup sweep down.x is the time.y is the shift.0 to disable it.15xx: set envelope mode.0: envelope + length counter. volume represents envelope duration.1: length counter. volume represents output volume.2: looping envelope. volume represents envelope duration.3: constant volume. default value. volume represents output volume.16xx: set length counter.17xx: set frame counter mode.0: 4-step.1: 5-step.18xx: set PCM channel mode.00: PCM (software).01: DPCM (hardware).19xx: set triangle linear counter.00 to 7F set the counter.80 and higher halt it.20xx: set DPCM frequency.this chip uses the NES instrument editor.
the following options are available in the Chip Manager window: