Korg DW-8000 TURBO / “Angel City” expanded OS
New Patch Storage Encoding & Observed Hardware Changes and Control Mechanisms

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.

1. New patch storage encoding

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:

1.1 Per-patch TURBO parameters

Stored independently for every patch (manual: “Parameters 18, 27, 28, 36, 37, 61 are stored independantly for every patch”). Verified locations and packing:

Param #NameRangeEdit bufferPatch-byte packing (observed)Verified consumer (code)
P27Key Transpose0–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)
P28Detune A–B0–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
P37Split Point0–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)
P38Balance A–B1–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
P61MG 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
P36TURBO 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
P18Sound 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
Not new parameters: EB38 ($37B8), EB39 ($37B9) and EB3A ($37BA) are the stock after-touch parameters AT osc MG / AT VCF / AT VCA ($38/$39/$3A) — they are carried in patch bytes $17/$18/$19 bits 0–1 and are not TURBO additions. Likewise EB36 ($37B6) is the stock portamento parameter ($36), which the per-voice apply routines test (TST EB36) for portamento on/off — it is not a “split mode” register as earlier revisions of this analysis assumed.

1.2 Patch byte map (stock fields + TURBO packing)

Stock field layout per bin/parameter.gnumeric (storage encoding), TURBO additions in bold:

ByteStock bit 7…4 (hi)Stock bit 3…0 (lo)TURBO addition (observed)
$00osc2 wave ($09)osc1 wave ($01)—
$01EG Pol ($13), osc1 oct ($00)osc1 level ($02)—
$02Bend VCF ($2E), osc2 oct ($08)osc2 level ($0A)—
$03a.bend mode ($04), a.bend select ($03)autobend intensity ($06)—
$04noise lvl ($0D)osc interval ($0B)—
$05VCF cutoff ($10)VCF kbd track ($12)—
$06VCF resonance ($11)osc detune ($0C)—
$07VCF EG intensity ($14)VCF velo.sens ($1E)—
$08VCF A (5 bits, bits 0–4)bits 5–7: spare (written 0 by the 16-bit EB18/EB19 store)
$09VCF D (5 bits)bits 5–7: spare (written 0 by the 16-bit EB18/EB19 store)
$0AVCF BP (5 bits)bits 5–7: split point (P37) bits 3–5
$0BVCF SL (5 bits)bits 5–7: split point (P37) bits 0–2
$0CVCF S (5 bits)bits 5–7: detune A–B (P28) bits 1–3
$0DVCF R (5 bits)bit 7: detune A–B (P28) bit 0
$0EVCA A (5 bits)bits 5–7: spare (unassigned)
$0FVCA D (5 bits)bits 5–7: spare (unassigned)
$10VCA BP (5 bits)bits 5–7: balance A–B (P38)
$11VCA SL (5 bits)bits 5–7: spare (unassigned)
$12VCA S ($24)VCA R bits 4–2 ($25)—
$13VCA R bits 1/0 ($25)autobend time ($05)—
$14MG freq ($29)VCA velo.sens ($26)—
$15DLY intensity ($34)DLY time ($30)—
$16DLY factor ($31)bend osc ($2D)—
$17MG delayaftertouch MG osc ($38), bits 0–1 in TURBO unpack—
$18MG osc ($2B)aftertouch VCF ($39), bits 0–1—
$19MG VCF ($2C)aftertouch VCA ($3A), bits 0–1—
$1Aportamento ($36), bits 3–7bits 0–2: key transpose (P27) (stock: assign mode $0E)—
$1BDLY freq ($33), bits 3–7bits 0–2: MG waveform (P61, incl. value 4 = S&H) (stock: MG wave $28)—
$1CDLY feedback ($32), bits 4–7DLY eff. lvl ($35), bits 0–3—
$1Dparameter no.—
Unassigned spare bits: the three top bits of patch bytes $0E, $0F and $11 (VCA A / VCA D / VCA SL) are not written by the pack code observed so far. P36 (mode) and P18 (sound B) storage has not been located; those two parameters are the most likely occupants, or they are carried in the extended edit-buffer region / bank RAM outside the 30-byte window.

1.3 Observed pack / unpack code

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

1.4 Edit-buffer layout notes

1.5 Global parameters (outside the patch buffer)

Param #NameRangeStorage / behaviour
P78MIDI Mode1–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.
P88MIDI Channel #21–16 Channel B value observed at $37BF (used by TXNOTE_ST F679/F67B and MIDICHB_CHK F0AA). Global, battery-retained.
P86Receive 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.

2. Observed hardware changes

2.1 Memory architecture

2.2 The address bus clip (A15 gating)

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.

2.3 The $F000 bank latch

All banking is controlled by writes to $F000. Observed write values and their code sites:

WriteMeaning (observed)Code site
$00Select 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)
$06Select 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 / $04Map 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)

2.4 Patch-copy mechanism (PATCHCPY_SETUP, EB3B)

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.

3. Observed control mechanisms

3.1 Boot and transient bank-A execution

3.2 Cross-bank stubs (both banks, $F64C–$F67F)

StubSequencePurpose
F64CLDAA #$06 / STAA $F000 / JSR $C960 / CLR $F000 / RTS Angel City note-on service (split/layer voice allocation) in bank A
F658LDAA #$06 / STAA $F000 / JSR $CA2B / CLR $F000 / RTS DWGS-load cross-bank path ($CA2B is a thunk to $C5C0)
F664LDAB #$06 / STAB $F000 / JSR $D24C / CLR $F000 / RTS PTCH_NORM tail (pitch-EG chain, EGWK0-7 store) in bank A
F670JSR $F176 / LDAB #$06 / STAB $F000 / RTS Unreferenced leftover stub (dead)

3.3 Parameter control paths (sound engine)