Source: static analysis of bin/dw8000-ex.bin (32 KiB expanded OS ROM,
byte-identical reassembly verified) cross-checked against the TURBO-DW owner’s manual
(bin/korg_dw-8000_turbo_manual_corrected.txt).
Disassembly references point into the mapped $C000–$FFFF window; bank A = file $0000–$3FFF,
bank B = file $4000–$7FFF. “EBxx” denotes edit-buffer byte xx at $3780+xx.
All bit-field claims are derived from the observed pack/unpack code excerpts shown below.
The TURBO keeps the stock DW-8000 patch format of 30 bytes per patch ($00–$1D). The new per-patch parameters are packed into bits that are spare in the stock encoding (the three top bits of the eight EG-stage bytes $08–$11, and the after-touch/assign bits of $17–$1A) or into a byte that is unused in the stock patch ($1A bits 0–1, since the stock “assign mode” value is not carried per patch). Consequences:
Stored independently for every patch (manual: “Parameters 18, 27, 28, 36, 37, 61 are stored independantly for every patch”). Verified locations and packing:
| Param # | Name | Range | Edit buffer | Patch-byte packing (observed) | Verified consumer (code) |
|---|---|---|---|---|---|
| P27 | Key Transpose | 0–12 (semitones up, manual) | $37A7 | patch $1A bits 0–2 written by pack (ORAA EB27, CC9B); unpack reads bits 0–1
(ANDA #$03, CB4A). $1A bits 3–7 remain the stock portamento value. |
Transpose button handler C3E8–C3F6 writes EB27, then calls EG_RESET (D030); sysex-param-set path writes EB27 (C931) |
| P28 | Detune A–B | 0–6 (manual) | $378E | 4-bit field spanning two bytes: $0C bits 5–7 = value bits 1–3, $0D bit 7 = value bit 0 (pack CC1A–CC2B, unpack CA69–CA74). These are the stock VCF S / VCF R spare bits. | EGWK_CALC (C639): ADDB DETUNE_AB adds it to the wrapped pitch delta inside
PTCH_NORM before the ×64 scaling — the A/B pitch offset |
| P37 | Split Point | 0–63 (manual; 0/63 = no effect) | $3796 | 6-bit field: $0A bits 5–7 = value bits 3–5, $0B bits 5–7 = value bits 0–2 (pack CC05–CC18, unpack CA4D–CA5A). $0A/$0B bits 0–4 remain stock VCF BP / VCF SL. | TX status composers F679/F67B compare the note key against it (MIDI split gate); RX dispatch compares received channel/keys (C595, C59E, C5DE, C5E5, F68C) |
| P38 | Balance A–B | 1–7, equal at 4 (manual) | $3797 | $10 bits 5–7 (pack CC40–CC4E, unpack CA98–CAAC). $10 bits 0–4 remain stock VCA BP. | Indexes t_EGSCALE (bank B $EC90–$EC9E) in the two EG-output scalers EC60 (Sound A, full table) / EC75 (Sound B, upper half $EC98): result = EGVAL × table[value] >> 3 × factor |
| P61 | MG Waveform (“LFO”) | 0–4, value 4 = random sample/hold (manual) | $37A8 | $1B bits 0–2 (pack ORAB EB28 CC9E, unpack ANDA #$07 CB4E).
$1B bits 3–7 remain stock DLY freq. This is the stock “MG wave” slot ($28) reused
— the TURBO adds the fifth value rather than a new byte. |
MG/DDL rate setup (EFA2 region: SUBA #$03 test against the value);
angelcity.md’s earlier “P81” attribution is incorrect |
| P36 | TURBO Mode (normal / split / layer / local-off) | 1–8 (manual) | — not yet traced — | 8 modes: 1 normal, 2–4 split with local-off variants, 5/6 split A/B zones, 7/8 layer lower/upper zone | Voice applies / POLY_MODE_CHK region; split/layer voice allocation |
| P18 | Sound B (second program) | 11–88 (manual) | — not yet traced — | Sound B derives from A: digital delay (P71–P76), LFO/MG (P61–65, 81), resonance (P32), noise (P26), oscillator mix (P13, P23); B waveforms are constrained to the same 1–8 / 9–16 group as the corresponding A oscillator | DWGSVOICE_SET (C640), FREQPATH_34 (C780), t_EGSCALE consumers |
TST EB36)
for portamento on/off — it is not a “split mode” register as earlier revisions of this
analysis assumed.Stock field layout per bin/parameter.gnumeric (storage encoding), TURBO additions
in bold:
| Byte | Stock bit 7…4 (hi) | Stock bit 3…0 (lo) | TURBO addition (observed) |
|---|---|---|---|
| $00 | osc2 wave ($09) | osc1 wave ($01) | — |
| $01 | EG Pol ($13), osc1 oct ($00) | osc1 level ($02) | — |
| $02 | Bend VCF ($2E), osc2 oct ($08) | osc2 level ($0A) | — |
| $03 | a.bend mode ($04), a.bend select ($03) | autobend intensity ($06) | — |
| $04 | noise lvl ($0D) | osc interval ($0B) | — |
| $05 | VCF cutoff ($10) | VCF kbd track ($12) | — |
| $06 | VCF resonance ($11) | osc detune ($0C) | — |
| $07 | VCF EG intensity ($14) | VCF velo.sens ($1E) | — |
| $08 | VCF A (5 bits, bits 0–4) | bits 5–7: spare (written 0 by the 16-bit EB18/EB19 store) | |
| $09 | VCF D (5 bits) | bits 5–7: spare (written 0 by the 16-bit EB18/EB19 store) | |
| $0A | VCF BP (5 bits) | bits 5–7: split point (P37) bits 3–5 | |
| $0B | VCF SL (5 bits) | bits 5–7: split point (P37) bits 0–2 | |
| $0C | VCF S (5 bits) | bits 5–7: detune A–B (P28) bits 1–3 | |
| $0D | VCF R (5 bits) | bit 7: detune A–B (P28) bit 0 | |
| $0E | VCA A (5 bits) | bits 5–7: spare (unassigned) | |
| $0F | VCA D (5 bits) | bits 5–7: spare (unassigned) | |
| $10 | VCA BP (5 bits) | bits 5–7: balance A–B (P38) | |
| $11 | VCA SL (5 bits) | bits 5–7: spare (unassigned) | |
| $12 | VCA S ($24) | VCA R bits 4–2 ($25) | — |
| $13 | VCA R bits 1/0 ($25) | autobend time ($05) | — |
| $14 | MG freq ($29) | VCA velo.sens ($26) | — |
| $15 | DLY intensity ($34) | DLY time ($30) | — |
| $16 | DLY factor ($31) | bend osc ($2D) | — |
| $17 | MG delay | aftertouch MG osc ($38), bits 0–1 in TURBO unpack | — |
| $18 | MG osc ($2B) | aftertouch VCF ($39), bits 0–1 | — |
| $19 | MG VCF ($2C) | aftertouch VCA ($3A), bits 0–1 | — |
| $1A | portamento ($36), bits 3–7 | bits 0–2: key transpose (P27) (stock: assign mode $0E) | — |
| $1B | DLY freq ($33), bits 3–7 | bits 0–2: MG waveform (P61, incl. value 4 = S&H) (stock: MG wave $28) | — |
| $1C | DLY feedback ($32), bits 4–7 | DLY eff. lvl ($35), bits 0–3 | — |
| $1D | parameter no. | — | |
Pack (bank B, the DWGS store path, edit buffer → patch bytes — excerpts):
; split point P37 (EB16, 6 bits) into $0A/$0B bits 5-7, stock VCF BP/SL in bits 0-4 CC05 B6 37 96 LDAA EB16 ; split point CC08 C6 00 LDAB #$00 CC0A 04 LSRD ; x3: A = EB16>>3, B = (EB16&7)<<5 CC0D 48 ASLA ; x5 (A only): A = (EB16&0x38)<<2 -> bits 5-7 CC12 BA 37 9A ORAA EB1A ; | VCF BP (bits 0-4) CC15 FA 37 9B ORAB EB1B ; | VCF SL (bits 0-4) CC18 ED 0A STD $0A,X ; -> $0A = BP|split[3-5], $0B = SL|split[0-2] ; detune A-B P28 (EB $378E, 4 bits) into $0C bits 5-7 (bits 1-3) and $0D bit 7 (bit 0) CC1A B6 37 8E LDAA DETUNE_AB CC1D C6 00 LDAB #$00 CC1F 04 LSRD ; A = val>>1, B = (val&1)<<7 CC20 48 ASLA ; x5 (A only): A bits 5-7 = val bits 1-3 CC25 BA 37 9C ORAA EB1C ; | VCF S (bits 0-4) CC28 FA 37 9D ORAB EB1D ; | VCF R (bits 0-4) CC2B ED 0C STD $0C,X ; -> $0C = S|detune[1-3], $0D = R|detune[0] ; balance A-B P38 (EB17, 3 bits) into $10 bits 5-7, stock VCA BP in bits 0-4 CC40 B6 37 97 LDAA EB17 CC43 48 ASLA ; x5 (A only): bits 5-7 CC48 BA 37 A2 ORAA EB22 ; | VCA BP (bits 0-4) CC4B F6 37 A3 LDAB EB23 ; VCA SL CC4E ED 10 STD $10,X ; transpose P27 (EB27) + MG wave P61 (EB28) into $1A/$1B with stock portamento/DLY freq CC92 B6 37 B6 LDAA EB36 ; portamento ($36) CC95 F6 37 B3 LDAB EB33 ; DLY freq ($33) CC98 05 ASLD ; x3: A = porta<<3|dlyfreq>>5, B = (dlyfreq&1F)<<3 CC9B BA 37 A7 ORAA EB27 ; | transpose (bits 0-2) CC9E FA 37 A8 ORAB EB28 ; | MG wave (bits 0-2) CCA1 ED 1A STD $1A,X
Unpack (bank B, patch load path, patch bytes → edit buffer — the inverse; excerpt):
CB47 A6 1A LDAA $1A,X ; portamento | transpose CB49 16 TAB CB4A 84 03 ANDA #$03 ; transpose = bits 0-1 (pack writes 0-2) CB4C B7 37 A7 STAA EB27 CB4F 54 LSRB ; x3 CB52 F7 37 B6 STAB EB36 ; portamento = bits 3-7 CB58 A6 1B LDAA $1B,X ; DLY freq | MG wave CB5B 84 07 ANDA #$07 CB5D B7 37 A8 STAA EB28 ; MG wave = bits 0-2 CB5F 54 LSRB ; x3 CB62 F7 37 B3 STAB EB33 ; DLY freq = bits 3-7
param51toPos (FD53) is unchanged from stock; the new panel parameters
18/27/28/36/37/38 already had positions inside it, while P61 ($3D), P78 ($4E) and P88 ($58)
fall into the extended display dispatch PRMDISP_CALC (D000, bank B), which routes
parameter numbers ≥ $3B to a table indexed by PGMLIMIT ($3B6D).PATCHNO ($0070) = current patch number 0–63; restored at power-on from the
battery-backed last-patch memory $3BBE (PATCHNO_SET, D413:
NE3E & $3F → $70; manual: “the last patch used will return to the patch
buffer after the DW has been repowered”).| Param # | Name | Range | Storage / behaviour |
|---|---|---|---|
| P78 | MIDI Mode | 1–3 | 1 = all keys TX on channel #1 (P84); 2 = upper on #1, lower on #2 (P88); 3 = upper on #2, lower on #1. Global, retained with battery power off. |
| P88 | MIDI Channel #2 | 1–16 | Channel B value observed at $37BF (used by TXNOTE_ST F679/F67B and MIDICHB_CHK F0AA). Global, battery-retained. |
| P86 | Receive Omni (stock) | on/off | Manual: with omni on, incoming MIDI data plays sound B regardless of TURBO mode or split point — generally omni should be off. |
Installation step 13 of the manual: a red wire from the TURBO board to pin 1 of IC29
(identifiable as SN74HC32N, a 14-pin OR gate located behind the TURBO board among the
two rows of three similar chips). This connection lets the latch at $F000 gate the top address
line, which is what makes the ROM-half banking and the patch-window banking possible from
software.
All banking is controlled by writes to $F000. Observed write values and their code sites:
| Write | Meaning (observed) | Code site |
|---|---|---|
| $00 | Select bank B (boot/resident OS) | Reset entry F63C (LDAA #$00 / STAA $F000 / JMP $C000);
every cross-bank return path (CLR $F000 F654/F660/F66C, EB9F) |
| $06 | Select bank A (satellite) for a transient service call | Cross-bank stubs F64C (JSR $C960 note-on service),
F658 (JSR $CA2B DWGS-load path),
F664 (JSR $D24C PTCH_NORM tail) |
| $02 / $04 | Map the $3000–$37FF patch window during patch-copy
operations; the bit 2 of the caller’s B register selects between the two values
(BITB #$04 → LDAA #$02 / #$04) — presumably the two 64-patch banks |
PATCHCPY_SETUP EB3B: EB42–EB4C (STAA $F000) |
EB3B 0F SEI EB3C 18 XGDX EB3D 97 C3 STAA RC3 ; caller value -> RC3/NEDEND EB3F B7 37 FF STAA NEDEND EB42 C5 04 BITB #$04 ; select patch-bank latch value EB44 26 04 BNE LEB4A EB46 86 02 LDAA #$02 EB48 20 02 BRA LEB4C EB4A 86 04 LDAA #$04 EB4C B7 F0 00 STAA $F000 ; map patch window $3000-$37FF EB4F CE 30 00 LDX #TONE_BASE EB52 FF 3D C2 STX PATCHCPY_DST ; $3DC2 = $3000 EB55 C4 03 ANDB #$03 ; source offset from caller's B EB57 58 ASLB ; x3 EB5A 17 TBA EB5B C6 00 LDAB #$00 EB5D C3 C0 00 ADDD #sys_RST ; source = $C000 + (B&3)<<3 EB60 FD 3D C4 STD PATCHCPY_SRC ; $3DC4 ; copy loop (SLIDESTEP == 0): fill window $3000..$377F = 1920 bytes = 64 patches x 30 EB67 FE 3D C4 LDX PATCHCPY_SRC EB6A A6 00 LDAA $00,X EB70 FE 3D C2 LDX PATCHCPY_DST EB73 A7 00 STAA $00,X EB79 8C 37 80 CPX #EDBUF ; until $3780 EB9D 86 00 LDAA #$00 EB9F B7 F0 00 STAA $F000 ; back to bank B
The copy moves exactly 1920 bytes ($3000–$377F = 64 × 30) between the mapped window
and a source/destination in bank A, with a reverse-direction variant when SLIDESTEP ≠ 0
(EB84–EB9B). This is the software side of the bank-hold save / load operations described in the
manual’s memory section.
sys_RST ($C000).
All eight 6303 vectors in both banks point into the bank-B handler set.dead_* in the disassembly.| Stub | Sequence | Purpose |
|---|---|---|
| F64C | LDAA #$06 / STAA $F000 / JSR $C960 / CLR $F000 / RTS |
Angel City note-on service (split/layer voice allocation) in bank A |
| F658 | LDAA #$06 / STAA $F000 / JSR $CA2B / CLR $F000 / RTS |
DWGS-load cross-bank path ($CA2B is a thunk to $C5C0) |
| F664 | LDAB #$06 / STAB $F000 / JSR $D24C / CLR $F000 / RTS |
PTCH_NORM tail (pitch-EG chain, EGWK0-7 store) in bank A |
| F670 | JSR $F176 / LDAB #$06 / STAB $F000 / RTS |
Unreferenced leftover stub (dead) |
t_EGSCALE (bank B $EC90–$EC9E) is a 15-byte symmetric
ramp 08 08 08 08 05 02 01 00 01 02 05 08 08 08 08. The Sound-A engine entry
(EC60) indexes the full descending half, the Sound-B entry (EC75) the ascending half at
$EC98; each computes EGVAL × table[P38] >> 3 × factor, i.e. a 0…1
depth fraction. Low balance values quiet sound B, high values quiet sound A, matching
the manual (“volume equal when set 4”).EGWK_CALC (C639, bank A) executes
ADDB DETUNE_AB / TBA / CLRB / LSRD where the stock PTCH_NORM only did
TBA / CLRB / LSRD ×2 — the detune value is added to the wrapped pitch
delta before the ×64 MG-depth scaling, offsetting sound B against sound A.MIDICHB_CHK (F0AA, split gate EB37 + channel EB3F)
and MIDICHB_TXFLG (F0C0, ORAB #$80 channel-B offset) implement the
two-channel TX/RX; TXBYTE_SEND (EC50) adds $40 to the transmitted byte when
SW2 bit 4 is set.t_EG_A_SL /
t_EG_D_R into $3E80–$3E97 (VCF set / VCA set), consumed by VCF_AD_LOAD,
VCA_AD_LOAD, OSCLVL_SETUP, CUTOFF_SETUP, EG_RESET and MG_DELAY_SET — documented in the
RAM-notes header of out/dw8000-ex.asm.