KN5000 Memory Map

Main CPU Address Space

Address Range Size Description
0x000000 - 0x0003FF 1KB Special Function Registers (on-chip)
0x000400 - 0x000BFF 2KB On-chip RAM (decoded inside the CPU, so it wins over the DRAM below)
0x000000 - 0x0FFFFF 1MB Work DRAM, 2 × 4 Mbit at IC9/IC10 on CS3 — volatile, not battery backed
0x110000 - Floppy Disk Controller
0x120000 - Floppy DMA acknowledge window (not the inter-CPU latch — that is at 0x140000 on this bus)
0x130010 - 0x13002F - HDAE5000 ATA registers (CS0, CS1)
0x140000 - Inter-CPU Communication Latches (IC22/IC23)
0x150000 - 0x150003 - Audio/mixer register file (IC11 74VHC138 decode) — register-address latch at 0x150000, data at 0x150002. AudioMix_Init writes ~68 registers every boot; it is the main-bus twin of the sub-bus 0x130000 block. Chip identity open (service-manual p.32)
0x160000 - 0x160006 8B HDAE5000 PPI (8255)
0x1703B0 - 0x1703DF - VGA Registers (LCD Controller IC206 MN89304, memory-mapped at 0x170000 + VGA port)
0x1A0000 - 0x1DFFFF 256KB Video RAM (IC207 M5M44265CJ8S, 512KB chip with 256KB mapped via A18 bank select)
0x1E0000 - 0x1FFFFF 128KB Battery-backed SRAM (1 Mbit, IC21) — the machine’s only persistent RAM
0x200000 - 0x27FFFF 512KB HDAE5000 SRAM (IC5/IC6, only with the board fitted)
0x280000 512KB HDAE5000 ROM
0x300000 - 0x3FFFFF 1MB Custom Data Flash (User Storage) - see Boot Sequence for 0x3E0000 usage
0x400000 - 0x7FFFFF 4MB Rhythm Data ROM (IC14): factory style records and their tracks — see internal layout below
0x800000 2MB Table Data ROM — see internal layout below
0xE00000 2MB Program Flash (Main ROM)

At reset the Table Data ROM is mapped at 0xE00000-0xFFFFFF (overlapping the Program Flash) so that its first-stage bootloader can run; the bootloader later reprograms one chip-select register and the ROM moves to 0x800000. Bootloader routines therefore have two addresses: a ROM address 0x9Fxxxx and a boot-time alias 0xFFxxxx (+0x600000).

The swap is a single store, MSAR2 := 0x80 at table-data 0x9FB6D3, three instructions before the jump into the program flash — not part of the earlier memory-controller init block, which sets MSAR2 = 0xC0. The table below is the map after that store. See TMP94C241 Memory Controller for the six chip-select blocks, the measured register values, and the caveat that the exact MSAR/MAMR decode rule is reconstructed rather than documented.

Work-RAM initial image

Work DRAM is volatile, so Boot_InitWorkRAM (called from RESET_HANDLER before anything else) prepares it. It zero-fills two blocks and then copies two ROM images of initialised RAM:

Step Source (program ROM) Destination (DRAM) Length
zero — 0x010000 - 0x03D523 0x2D524
zero — 0x000400 - 0x00E35C (v7: to 0x00E2C0) 0xDF5D (v7: 0xDEC1)
image 1 0xEED8C8 (WorkRamInit_Image) 0x03D524 - 0x03F6C1 0x219E (8,606)
image 2 0xEEFA66 0x00E35E - 0x00ECB8 0x95B (2,395)
image 2, v7 0xEEFA66 0x00E2C2 - 0x00EBF2 0x931 (2,353)

The image-1 source address and length are the same in v7, v9 and v10. Image 2 is where v7 differs: its destination is 0x9C lower and it is 42 bytes shorter. That fits the uiproc lane’s measurement that v7’s UI and panel RAM variables sit exactly 0x9C below v9/v10’s.

The 42 bytes hold something v9 and v10 have and v7 lacks, the part-control event queue: PartCtrl_EventQueue[10] ({u16 code; u8 c; u8 e}) and its count PartCtrl_EventQueueCount, at image-2 offset +0x32. v9/v10 fill it with PartCtrl_AppendToEventQueue, a routine v7 does not have. Every other byte of image 2 is the same in all three versions. v7’s copy simply closes the gap: the “KN3000 SOUND RAM” signature, the VGA init palette and the note-map link lists all sit 42 bytes lower. scripts/converters/port_workram_image2_types_to_v7.py asserts the relationship byte for byte, and v7’s C source now types image 2 the same way v10’s does.

Why this matters for reverse engineering: byte 0xEED8C8 + k is the power-on value of RAM 0x3D524 + k, and byte 0xEEFA66 + k that of 0xE35E + k. The code reads the RAM copy, not the ROM bytes. A search for readers of ROM data inside these two ranges that looks only for the ROM address will therefore report “no reader” when the real readers use the RAM address. Examples:

  • RAM 0x3D528 / 0x3D52C hold Heap_Alloc’s and Free’s variables.
  • 213 more cells up to 0x3D991 are named by 32-bit pointers in the NAKA widget descriptors, i.e. per-widget state. The menu items’ selected pointers (0x0003F434, …) also fall in image 1’s destination; see UI Widget Types.
  • SndParam_ValueMapGrid (ROM 0xEF0319, a 7×6 grid of 128-byte value maps) is read from its RAM copy at 0xEC11 (v7 0xEB4B), through image 2.
  • The tail of image 2 (ROM 0xEEFF78 - 0xEF0318 → RAM 0xE870 - 0xEC10) holds voice link arrays and song-player variables (v10/maincpu/ui/char_encoding_naka_state.s).
  • The wallpaper palettes read by GetWallPaletteRGB are part of image 1, under the misleading label Naka_DrawbarReg_Table (ROM 0xEEF588).
  • The NAKA C files’ Naka_PresentationRootState (0x00EF013F), NakaState_ZeroBlock_* and CharEncoding_* values point into image 2. They are RAM-image bytes (zeros, never read in ROM), not ROM routine pointers.

nakarest_refs.py’s ram_mirror() (scripts/analysis/nakarest_refs.py) maps a ROM range to its RAM copy. Every “no reader found” verdict on data in 0xEED8C8 - 0xEF03C0 should be re-run through it. Evidence: the nakarest and uimisc lane reports (notes/lanes/wave2-2026-09-25/lane-reports/), the WorkRamInit_Image header in v10/maincpu/ui_widgets/widget_dispatch.s, and Boot_InitWorkRAM in v7|v9|v10/maincpu/boot/system_handlers.s. (The v7 file’s own header block still quotes v10’s image-2 values. The code below it uses 0xE2C2 / 0x931.)

Audio state words (work RAM)

Four words beside AUDIO_CONFIG_UPDATE (0xC594) and AUDIO_CONFIG_FLAGS (0xC596), named on 2026-11-06 from their per-bit uses (disassembly notes/kn5000-naka2-2026-11-06/README.md and its ram/audio_state_names.txt; the .equs are in shared/ram_variables_by_use.s), and the two 358-byte blocks they describe, named on 2026-11-07 (notes/kn5000-naka3-2026-11-07/README.md and its ram/audio_state_record.txt). Audio_CheckInitStatus rebuilds AUDIO_SEQ_TRACK_FLAGS from 0 over the 16 sequencer tracks: its play tracks are SEQ_TRACK_MASK | 0x0D51, its record tracks SEQ_REC_TRACKS | 0x0D4F.

address name what
0xC1FE AUDIO_STATE the 358-byte audio state the main CPU keeps for the voice routing; byte 1 is the record track’s slot
0xC364 AUDIO_STATE_SENT its copy as last sent: AudioInit_DispatchChanges sends the fields that differ, then AudioInit_Dispatch_Finalize copies the state over
0xC598 AUDIO_SEQ_TRACK_FLAGS which sequencer tracks (play / record; CHORD, APC, RHYTHM) the voice routing must serve
0xC59A AUDIO_VOICE_CHANGES AudioInit_DispatchChanges’ second change mask (voice config, priority table, tone refresh)
0xC59C AUDIO_STATE_CHANGES which parts of AUDIO_STATE AudioInit_DispatchChanges compares with AUDIO_STATE_SENT and sends
0xC59E AUDIO_REC_TRACK_SLOT the slot of the first record track

AudioInit_Dispatch_Finalize copies all 179 words of AUDIO_STATE over AUDIO_STATE_SENT (ldirw), so the two blocks share one layout and a field reads AUDIO_STATE+k / AUDIO_STATE_SENT+k. The sources spell 635 / 606 / 635 / 633 / 629 operands that way in v10 / v9 / v7 / v6 / v5.

Rhythm Data ROM (IC14) Internal Layout

The 4 MB mask ROM holds the factory accompaniment styles. The main CPU reads it in 64 KB banks (AccVoice_OffsetTable). The layout below is that of the descrambled image: the dump in circulation has address lines A19 and A21 exchanged, and undoing the swap is what makes all 46,056 track pointers in the style records land on a track. rhythm_data/ in the disassembly rebuilds the descrambled image from typed source, and make gate also proves that swapping the two lines back gives the raw read byte for byte (verify-rhythm-data-raw).

Address range Size Contents
0x400000 - 0x464FFF 404 KB 202 style records, 2 KB each (two 1 KB halves, sections 0-3 and 4-7)
0x465000 - 0x77FFFF 3,180 KB 28,400 one-part tracks, in 64 KB banks 0x06..0x37, each bank padded with 0xFF after its last track
0x780000 - 0x7FFFFF 512 KB erased (0xFF)

A style is selected by (bank, program): VoiceParam_BankProgramWords remaps the pair and RhythmROM_BankProgramLocators (8 banks x 128 programs) gives the record. The record format and the track event language are on Rhythm ROM (IC14).

Table Data ROM Internal Layout

The 2MB table-data ROM is now source-built region by region. The table below is the top-level map as recorded in table_data/kn5000_table_data.s; see Table Data ROM for per-region detail and ROM Reconstruction for conversion status.

Address Range Contents Source module
0x800000 - 0x82FFFF Section directory (34 LE32 entries: 33 targets + null) and 26 8bpp bitmaps, each byte-identical to a program-ROM image. Not preset data — see Table Data ROM preset_banks.s
0x830000 - 0x8324D3 Tone database directory, bank maps, 629-entry tone-record offset table tone_database_directory.s
0x8324D4 - 0x855A47 579 tone/voice records tone_database_records.s
0x855A48 - 0x87FFEF Drum kits, percussion and name lists, envelope data tone_database_aux.s
0x87FFF0 - 0x8CFFFF Feature Demo data (SSF file, BMP bitmaps, file entries) kn5000_table_data.s
0x8D0000 - 0x8DFFFF Unused (0xFF fill) —
0x8E0000 - 0x8ECFFF SLIDE4K compressed preset block (demo preset 18, the Feature Presentation) kn5000_table_data.s
0x8ED000 - 0x912FFF Two 320×240 8bpp wallpapers, each followed by a 1KB trailer of 16-entry {r,g,b,0} shade ramps kn5000_table_data.s
0x913000 - 0x91CFFF UI bitmap descriptor table (34 entries) + 8bpp pixel runs ui_bitmaps.s
0x91D000 - 0x933FFF Section banks 6 and 28-32: factory UI images (Technics logo, KN5000 picture, note/drum-edit backgrounds) ui_bitmaps.s
0x934000 - 0x937FFF UI frame-piece descriptor table (53 entries) + pixel runs ui_bitmaps.s
0x938000 - 0x938587 Icon descriptor table (176 entries + terminator) kn5000_table_data.s
0x938588 - 0x944D77 Icon pixel data (176 × 24×24 4bpp, plus one unreferenced “E.L.S.” signature icon) kn5000_table_data.s
0x945C00 - 0x945CAF Font descriptor table (10 fonts × 16 bytes + null slot) fonts.s
0x945CB0 - 0x950A5F Font glyph bitmaps (1bpp, characters 0x20-0xFF per font) fonts.s
0x951000 - 0x98156F Music Stylist preset records (1000 × 198 bytes) style_records.s
0x981570 - 0x983B39 Unreferenced residue after the record grid, plus a ramp remnant style_records.s
0x983B3A - 0x985FFF Stale, truncated SLIDE8K help database (superseded German revision) help_databases.s
0x986000 - 0x986FFF Music Stylist pointer table (UI states 0xC2/0xC5) style_record_ptr_tables.s
0x987000 - 0x987FFF Music Stylist pointer table (all other UI states) style_record_ptr_tables.s
0x988000 - 0x98868F Help language index (two 6-entry pointer tables) + intro strings help_databases.s
0x988690 - 0x9999CB Five SLIDE8K help databases (EN, DE, FR, ES, Indonesian) help_databases.s
0x99EC00 - 0x99EC9F Panel Memory factory bank names (10 × 16 chars) panel_memory_presets.s
0x99ECA0 - 0x9ABF3F Panel Memory factory presets (80 × 674-byte chunk records) panel_memory_presets.s
0x9B4000 - 0x9C3FFF Composer factory user-style memory image (copied to RAM 0x94800) kn5000_table_data.s
0x9C4000 - 0x9C404F Demo song preset pointer table (19 LE32 entries + null) kn5000_table_data.s
0x9C4050 - 0x9F94CA SLIDE4K compressed demo song presets, entries 0-17 (0xFF fill from 0x9F94CB) kn5000_table_data.s
0x9FA000 - 0x9FA14F File identifier strings (floppy disk format IDs) kn5000_table_data.s
0x9FA150 - 0x9FB495 Boot screen bitmaps (1bpp, 224×22) kn5000_table_data.s
0x9FB496 - 0x9FFFFF First-stage bootloader: dispatch tables, init, FDC driver, CP-serial driver, C runtime, IVT see below

Key tables the Main CPU reads from this ROM:

Address Table
0x800000 Section directory — 33 bitmap pointers. No reader found in any ROM held. Its accessor routines at 0x82F000 (SectionInfo_SecNN) return (base, width, height)
0x830000 Tone database directory (see Sub CPU — the whole database is shipped to the sub CPU)
0x945C00 Font descriptors — 10 fonts, 16 bytes each (w, h, descent, ascent, glyph ptr, kern ptr)
0x986000 / 0x987000 Music Stylist preset pointers, selected by the current UI state ID (RAM 0x8D38)
0x988000 Help language index — 6 intro-string pointers + 6 SLIDE8K database pointers; slot 4 of each reuses English
0x9C4000 Demo song presets — 19 pointers to SLIDE4K blocks; entry 18 is 0x008E0000

First-Stage Bootloader Regions

Address Range Contents
0x9FB496 - 0x9FB4D1 Three FDC dispatch offset tables (for the jp T,XIX+WA sites)
0x9FB4D2 - 0x9FB4E7 Boot_BitMaskTable (0x9FB4D2) + Boot_InitParams (0x9FB4DC)
0x9FB4E8 - 0x9FB7F1 Boot_Init, halt handler, Boot_ClearRAM
0x9FC6F6 - 0x9FC8C1 HD-AE5000 boot-flash programming tail
0x9FC8C2 - 0x9FCC29 LZSS (SLIDE4K) decoder suite: LZSS_ReadByte, LZSS_OutputByte, LZSS_OutputByte_Alt, LZSS_ParseHeader, LZSS_Decompress
0x9FCC2A - 0x9FD8A4 Flash-update main, bitmap/display helpers, VGA register I/O
0x9FD8A5 - 0x9FEA9C FDC command-layer driver (uPD72068 at IC208) — a compact port of the maincpu FDC driver
0x9FEA9D - 0x9FEB2A BootTimer_InterruptHandler (0x9FEA9D) and Handler_INT4 (0x9FEAB2)
0x9FEB2B - 0x9FEC6D Floppy disk-format probe (FDC_PulseResetLine, FDC_ProbeDiskFormat)
0x9FEC6E - 0x9FF228 Boot-time CP-serial driver, polling/setup half
0x9FF229 - 0x9FF2F1 Boot-time CP-serial ISRs (three handlers + two .long dispatch tables)
0x9FF2F2 - 0x9FFB2E Boot-time CP-serial state handlers and packet codecs
0x9FFB2F - 0x9FFE7F Boot C runtime (Toshiba c900ml.lib): first-fit heap (list head at RAM 0x0099A0), strncmp, 32-bit divide/modulo
0x9FFE80 - 0x9FFEDF Debug character-output group — present but NOP-patched out in shipped firmware
0x9FFEE0 - 0x9FFEFF RESET_HANDLER
0x9FFF00 - 0x9FFFFF TMP94C241F interrupt vector table (entries hold boot-time 0xFFxxxx addresses)

The boot-time CP-serial driver is a separate implementation from the runtime CPanel_* protocol stack in the program ROM; findings about one do not transfer to the other. See Control Panel Protocol.

Special Function Registers (TMP94C241F)

Serial Channels

Register Address Description
SC0BUF - Serial Channel 0 Buffer
SC0CR - Serial Channel 0 Control
SC0MOD - Serial Channel 0 Mode
SC1BUF - Serial Channel 1 Buffer
SC1CR - Serial Channel 1 Control
SC1MOD - Serial Channel 1 Mode

Timers

Register Address Description
TREG0 - TREG3 0x88 - 0x8B 8-bit timer registers (timers 0-3; run control T8RUN at 0x80)
TREG4 - TREGB 0x90 - 0xC3 16-bit timer compare registers (timers 4, 6, 8, A; run control T16RUN at 0x9E)

DMA Registers

Register Address Size Description
DMAV0 - DMAV3 0x100 - 0x103 8-bit DMA start vector (matches interrupt vector to trigger HDMA)
DMAR 0x109 8-bit DMA software request (write bit N to trigger DMA ch N)

DMA source (DMAS), destination (DMAD), count (DMAC), and mode (DMAM) registers are accessed via the LDC instruction with control register (CR) numbers. Note: TMP94C241 uses different CR numbers than TMP96C141/TMP95C063:

Register TMP96C141 CR TMP94C241 CR Size
DMAS0-3 0x00-0x0C 0x00-0x0C 32-bit (same)
DMAD0-3 0x10-0x1C 0x20-0x2C 32-bit (different)
DMAC0-3 0x20-0x2C 0x40-0x4C 16-bit (different)
DMAM0-3 0x22-0x2E 0x42-0x4E 8-bit (different)

DMAM encoding (bits 4-0):

Value Source Destination Size
0x00 Fixed Increment Byte
0x01 Fixed Increment Word
0x02 Fixed Increment Long
0x04 Fixed Decrement Byte
0x08 Increment Fixed Byte
0x09 Increment Fixed Word
0x0A Increment Fixed Long
0x10 Increment (counter only) — Byte
0x14 Increment (counter only) — Byte

Interrupt Control

Register Address Description
INTE45 0xE0 INT4/INT5 interrupt enable/level
INTE67 0xE1 INT6/INT7 interrupt enable/level
INTE89 0xE2 INT8/INT9 interrupt enable/level
INTEAB 0xE3 INTA/INTB interrupt enable/level
INTET01 0xE4 Timer 0/1 interrupt enable/level
INTET23 0xE5 Timer 2/3 interrupt enable/level
INTET45 0xE6 Timer 4/5 interrupt enable/level
INTET67 0xE7 Timer 6/7 interrupt enable/level
INTETC01 0xEC DMA ch0/ch1 completion interrupt enable/level
INTETC23 0xED DMA ch2/ch3 completion interrupt enable/level
INTE0AD 0xF0 INT0/AD interrupt enable/level
IIMC 0xF6 INT0 mode control (bit 1: 0=edge, 1=level)
INTCLR 0xF8 Interrupt clear register

Interrupts

Vector Handler Description
INTA INTA_HANDLER Interrupt A (includes serial)
INT0 INT0_HANDLER External Interrupt 0

Control Panel Memory

The addresses in this section are v10 / v9. In v7 the whole panel, encoder and MIDI-CC block sits 0x9C lower (CPANEL_TX_RX_FLAGS is 0x8CF0, ANALOG_EXPRESSION_PEDAL_VALUE 0x8E48); the low variables (REGION_CODE_VAR 0x408, SYSTEM_TIMESTAMP 0x409, MSP_SETTINGS 0xC9A) do not move. Since 2026-10-03 the code uses these names in every maincpu tree (ld (CPANEL_TX_RX_FLAGS:16), a), each tree’s constants carrying its own values – v7’s derived from the same instructions in the same routines (scripts/tools/name_kn5000_ram.py). The same -0x9C holds for every v7 variable derived so far between 0x3000 and 0xFFFF (59 names): the master sequencer state (CURRENT_TITLE, v10 0x8D36, v7 0x8C9A), the rhythm variation index, the medley state (MEDLEY_PLAY_FLAG v7 0x8462), the SwbtWr event queue and payload (v7 0xBCA0, 0xBFE1) – and RHYTHM_ROM_BASE (0x3277 / 0x31DB). Below 0x1000 (0x408, 0x409, 0xC9A) and in the DRAM at 0x20000+ (CPANEL_RX_EVENT_QUEUE 0x200AD, the DISPLAY_* flags at 0x205E4) v7 is unchanged (16 names). The page-named ones are in each tree’s shared/ram_variables.s.

Button State

Address Variable Description
0x8E4A STATE_OF_CPANEL_BUTTONS Button state array (Right panel)
0x8E5A STATE_OF_CPANEL_BUTTONS_LEFT Button state array (Left panel)
0x8E55 STATE_OF_CPANEL_BUTTONS + 11 Bits 6,7 select value 0x0c/0x0d/0x0e

LED State

Address Variable Description
0x8DFD CPANEL_LED_READ_PTR LED TX buffer read pointer (word)
0x8DFF CPANEL_LED_WRITE_PTR LED TX buffer write pointer (word)
0x8E01 CPANEL_LED_TX_BUFFER LED state TX buffer (60 bytes)

Protocol State

Address Variable Description
0x8D8A CPANEL_STATE_MACHINE_INDEX State machine index (byte, values 0-10)
0x8D8B CPANEL_PACKET_BYTE_COUNT Packet byte counter (byte, values 0-17)
0x8D9D CPANEL_RX_READ_PTR RX buffer read pointer (word)
0x8D9F CPANEL_RX_WRITE_PTR RX buffer write pointer (word)

Status Flags

Address Variable Description
0x8D8C CPANEL_TX_RX_FLAGS TX/RX protocol flags (byte)
0x8D92 CPANEL_PROTOCOL_FLAGS Protocol state flags (byte)
0x8D93 CPANEL_PANEL_DETECT_FLAGS Panel detection flags (byte)

Encoder Raw Input Storage

Which control each variable belongs to was read from the schematics and the events the handlers post (tracker item kn5000-3c7, 2026-10-31; see Control Panel Protocol).

Address Variable Description
0x8ECA ENCODER_RAW_EXPRESSION_PEDAL ~ADREG04 high byte (CPU AN0, expression pedal)
0x8ECC ENCODER_RAW_AFTERTOUCH ADREG15 high byte (CPU AN1, after touch)
0x8ED4 ENCODER_RAW_PITCHBEND ~raw byte of CPL frame 0xD1 (AD1, pitch bend wheel)
0x8ED6 ENCODER_RAW_MODULATION raw byte of CPL frame 0xD2 (AD2, modulation wheel)
0x8ED8 ENCODER_RAW_MAIN_VOLUME ~raw byte of CPL frame 0xD3 (AD3, MAIN VOLUME)
0x8EDA ENCODER_BEND_RANGE record 0x93 byte +4 bits 0-3: 0 = bend off while recording, 1..12
0x8EDC ENCODER_AFTERTOUCH_CURVE record 0x93 byte +5, AFTER TOUCH curve (1..10)
0x8EDE ENCODER_AFTERTOUCH_THRESHOLD record 0x93 byte +6 bits 0-6, AFTER TOUCH threshold

Analog Controller Values

Address Variable Description
0x8EE0 ANALOG_EXPRESSION_PEDAL_PENDING last expression-pedal value sent, bit 7 = send pending
0x8EE2 ANALOG_MAIN_VOLUME_PENDING last MAIN VOLUME value sent, bit 7 = send pending
0x8EE4 ANALOG_EXPRESSION_PEDAL_VALUE expression pedal (CPU AN0), 0..127
0x8EE6 ANALOG_MAIN_VOLUME_VALUE MAIN VOLUME (CPL AD3, ID 27), 0..127
0x8EE8 ANALOG_PITCHBEND_VALUE pitch bend wheel (CPL AD1, ID 25), 0..255, centre 0x80
0x8EEA ANALOG_MODULATION_VALUE modulation wheel (CPL AD2, ID 26), 0..127
0x8EF4 ANALOG_AFTERTOUCH_VALUE after touch (CPU AN1), 0..127

None of these is a MIDI controller number; they are sent as panel records (0xB0-0xB4).

Main-CPU A/D State and LED Image

Address Variable Description
0x8EFC ADC_AN0_LAST_VALUE last accepted ADREG04 high byte (expression pedal)
0x8EFE ADC_AN1_LAST_VALUE last accepted ADREG15 high byte (after touch)
0x8F04 ADC_AN0_STATUS AN0 debounce state: bits 0-1 count, bit 2 pending, bit 3 accepted
0x8F06 ADC_AN1_STATUS AN1 debounce state, as ADC_AN0_STATUS
0x8F10 ADC_AN0_OUTPUT expression-pedal value + flags (bit 7 of +1 = queue event 26)
0x8F16 ADC_AN1_OUTPUT after-touch value + flags (bit 7 of +1 = queue event 27)
0x8F18 CPANEL_LED_IMAGE 16 B: wanted pattern of LED rows 0..14 (Protocol_values_for_LED_rows order)
0x8F28 CPANEL_LED_IMAGE_SENT 16 B: LED rows as last sent (CPanel_LED_FlushImage)

CPANEL_LED_IMAGE was named ENCODER_STATE_BASE until 2026-10-31: it is not encoder state. The ~50 SndParam_SetResBit* / ExtData_VoiceParam_DispatchBytecode_Mode* handlers set and clear its bits, and CPanel_LED_FlushImage sends what differs from the copy (v7 0x8E7C, v6/v5 0x8E58).

Encoder Lookup Tables (ROM)

Address Variable Description
0xEDA13C ENCODER_LUT_EXPRESSION_PEDAL expression pedal curve (128 B)
0xEDA1BC ENCODER_LUT_AFTERTOUCH after-touch curve (256 B)
0xEDA2BC ENCODER_LUT_AFTERTOUCH_CURVE_MULT after-touch curve multipliers (11 entries)
0xEDA2D2 ENCODER_LUT_PITCHBEND pitch bend curve (256 B, centre dead band)
0xEDA3D2 ENCODER_LUT_BEND_RANGE_MULT bend-range rescale multipliers, round(256 (k+1) / 12)
0xEDA3EA ENCODER_LUT_BEND_RANGE_OFFSET bend-range rescale offsets, 64 x MULT[k]
0xEDA402 ENCODER_LUT_MODULATION modulation wheel curve (128 B)
0xEDA482 ENCODER_LUT_MAIN_VOLUME MAIN VOLUME curve (linear)

Sequencer/Medley Memory

The internal medley system keeps its song slots in work DRAM at 0xAB000 (SEQ_SONG_SLOTS), which is volatile (see the address-space table above).

Internal Medley Song Storage

Address Size Description
0xAB000 20KB Internal medley song slots (10 slots × 0x800 bytes)
0xAB0D0 - Song slot 0 data start (0xAB000 + 0xD0 header offset)
0xF180 2KB Current playback buffer (active song copied here)

Each song slot is 2048 bytes (0x800). The slot address is calculated as: 0xAB000 + (slot_index × 0x800).

Medley State Variables

Address Variable Description
0x84FE MEDLEY_PLAY_FLAG Play state: 0=stopped, 1=playing
0x8890 MEDLEY_ORDER_ARRAY Play order array (10 bytes, 0xFF=unused, 0xFE=marked)
0x889A MEDLEY_SONG_COUNT Number of songs in current playlist
0x889C MEDLEY_CURRENT_INDEX Currently playing song index
0x889E MEDLEY_REPEAT_FLAG Repeat mode: 0=no repeat, 1=repeat all

Sequencer Flag Bytes

Two flag bytes of the sequencer’s start / stop and record paths, named on 2026-11-07 from what each routine does with each bit (disassembly notes/kn5000-naka3-2026-11-07/README.md, ram/seq_flag_names.txt; the per-bit lists come from notes/kn5000-naka3-2026-11-07/probes/flag_bit_ops.py 0x28b2 0x28b3).

address name bits
0x28B2 SEQ_METRO_FLAGS bit 0 the METRONOME switch of the record pages (set by ApPlaySyori_OnSetMetro); bit 1 the take starts with the metronome count-in; bit 2 the count-in runs (measure -2, then -1, SeqPlay_CountInToLastBar); bit 7 is only cleared
0x28B3 SEQ_CONTROL_FLAGS bit 0 a redraw is due; 1 recording was started by a start request; 2 a restart check is due after a stop; 3 record standby (tracks armed, recording not begun); 4 the buffers are to be re-initialised when the sequencer is idle

In SEQ_METRO_FLAGS bits 3-6 are untouched. In SEQ_CONTROL_FLAGS bit 5 is tested and cleared but never set, and bit 6 is set but never read. Record standby (bit 3) is why Audio_CheckInitStatus drops AUDIO_SEQ_TRACK_FLAGS bit 9; SeqPlay_CountInEnd ends it on the last beat of the count-in.

Key Medley Routines (ROM)

Address Routine Description
0xF2065A SongBank_ScanActiveVoices Check if song slot has valid data
0xF20BCE SongBank_SwitchAndUpdateTempo Load and play song from slot
0xF20BFA SongBank_LoadToWorkArea LDIR copy from slot to playback buffer
0xF2076D Medley_GetPlaybackStatus Get current playback state

See Sequencer for complete medley system documentation.

Sub CPU Address Space

The sub CPU (tone generator controller) has its own memory map, documented from boot ROM disassembly.

Address Range Size Description
0x000000 - 0x0FFFFF 1MB Work DRAM (IC28/IC29)
0x0000 - 0x00FF 256B Special Function Registers (SFR)
0x0100 - 0x01FF 256B Extended SFR / Memory Controller
0x0400 - 0x04E0 225B Interrupt vector trampolines (copied from boot ROM)
0x04FE 1B PAYLOAD_LOADED_FLAG (also SUBCPU_STATUS_FLAGS) - bit 6: payload ready (set by command 0xE3; the boot ROM’s main loop waits on it), bit 7: transfer complete
0x0500 - 0x05A2 ~160B RAM / Stack area (stack init = 0x05A2)
0x0502 12B DMA_SETUP_PARAMS - DMA parameter storage (XWA, XDE, BC values)
0x0512 4B DMA_TARGET_ADDR - Current DMA destination address
0x0516 2B DMA_XFER_STATE - DMA transfer state (0=idle, 1=single xfer, 2=two-phase E1 mode)
0x0518 2B CMD_PROCESSING_STATE - Command processing state (0-4)
0x051A 1B LAST_CMD_BYTE - Last received command byte from main CPU
0x051E 32B CMD_DATA_BUFFER - Variable-length command data buffer
0x0544 6B CMD_E1_BUFFER - E1 command data buffer
0x054A 10B CMD_E2_BUFFER - E2 command data buffer
0x0556 1B MEMTEST_RESULT - Memory test result flags
0x0558 8B SERIAL_STATUS - Key-down bitmap, 64 bits (the equate keeps an older name; not a serial buffer)
0x100000 - Tone generator IC303 registers (address +0, data +2)
0x110000 - Tone generator keybed data (+0) / status (+2)
0x120000 - Inter-CPU Communication Latch (the same pair of latches the main CPU reaches at 0x140000)
0x130000 - DSP1-associated register block (4 channels; address +0, data +2)
0xFE0000 - 0xFFFFFF 128KB Boot ROM

Sub CPU SFR Addresses (Confirmed from Boot ROM)

Address Register Description
0x07 P1FC Port 1 Function Control
0x0B P2FC Port 2 Function Control
0x0F P3FC Port 3 Function Control
0x1C P7 Port 7 Data
0x1E P7CR Port 7 Control
0x1F P7FC Port 7 Function Control
0x20 P8 Port 8 Data
0x22 P8CR Port 8 Control
0x23 P8FC Port 8 Function Control
0x28 PA Port A Data
0x2B PAFC Port A Function Control
0x2C PB Port B Data
0x2F PBFC Port B Function Control
0x30 PC Port C Data
0x34 PD Port D Data, the inter-CPU handshake on the sub CPU: bit 0=sub ready, bit 1=completion, bit 2=gate, bit 4=main ready (main CPU: bit 0 = FDCRST, bit 6 = FD.I/O, see note)
0x36 PDCR Port D Control
0x38 PE Port E Data
0x3A PECR Port E Control
0x3C PF Port F Data
0x3E PFCR Port F Control
0x40 PG Port G Data (the boot ROM tests bit 0 to choose its CS3 block settings, MAMR3 and B3CSH)
0x44 PH Port H Data (bit 0: DSP ready in; bits 1, 2: DSP1 and DSP2 resets)
0x68 PZ Port Z Data (DSP1 command/data byte port)
0x80 T8RUN 8-bit Timer Run Control
0x81 TRDC Timer Register Double-buffer Control
0x82 T02FFCR Timer 0/2 Flip-Flop Control
0x84 T01MOD Timer 0/1 Mode (not watchdog - real WD at 0x110)
0x102 DMA2V Micro-DMA channel 2 start vector

On the main CPU Port D is wired differently: bit 0 is FDCRST (the floppy controller’s hardware reset, pulsed for 10 ticks by FDC_PulseResetLine) and bit 6 is FD.I/O (disk change); INT4 is FDCINT and INT5 FDCDRQ (service manual p. 32, CPU SECTION (A); see CPU Subsystem).

Payload Image Extents

The 196,608-byte sub-CPU payload is not one contiguous region. The main CPU delivers it as four bulk transfers (SubCPU_Send_Payload), and the reconstructed .rom image is the concatenation of the two resulting extents:

Sub CPU addresses Size Note
0x000400 - 0x0004FF 256B Vector/trampoline area, sent last
0x00F000 - 0x03EEFF 196,352B The payload proper (three transfers: 0x10000 + 0x10000 + 0xFF00)

This is why the build post-processes the linked ELF with dd before comparison — the linker lays the code out contiguously from 0x0400 and the two live extents are then extracted and joined.

Tone Database in Sub CPU RAM

At boot the main CPU copies table-data ROM 0x830000-0x87FFFF into sub-CPU work RAM 0x050000-0x09FFFF as five 64KB InterCPU E1 bulk transfers (SubCPU_Send_Payload). DSP_System_Init then stores the RAM base 0x050000 in ToneDB_RelBase (0x045310) and ToneDB_RootPtr (0x045314).

Address aliasing: sub-CPU address = table-data ROM address − 0x7E0000. Every offset inside the database is relative to its own base, so a stored offset is equally valid read as a sub-CPU address (0x050000 + offset). The sub-CPU disassembly never sees the 0x83xxxx form.

Sub CPU Table Data ROM Contents
0x050000 0x830000 Directory of 4-byte slots (offset / scalar / unused)
0x050100 0x830100 ToneDB_BankMap_Main — 128-entry bank-select byte map
0x050180 0x830180 ToneDB_ToneNumBanks_Main — 11 banks × 128 LE16 tone numbers
0x050C80 0x830C80 ToneDB_BankMap_Coeff — 128-entry bank-select byte map
0x050D00 0x830D00 ToneDB_ToneNumBanks_Coeff — 14 banks × 128 LE16 tone numbers
0x051B00 0x831B00 ToneDB_ToneOffsetTable — 629 LE32 offsets to tone records
0x0524D4 0x8324D4 Tone/voice records (ToneRec_000…), variable length, 16-char space-padded name first

Important: this region is data. The claim that the sub-CPU executable lives at table-data 0x830000 is wrong. The runtime code payload comes from the SLIDE4K image at custom-data 0x3E0000 (or from 0x800000, selected by ROM byte 0xFFFEED); only the provenance of the IC19 dump is still open — see Sub-CPU Payload Provenance.

Sub CPU Payload Data Zones

Three large constant-pool regions inside the payload were carved into individually labelled tables in August 2026. All addresses are sub-CPU addresses.

Range Size Contents
0x00F7E6 - 0x012114 ~10.5KB Voice trim/portamento/key-bend tables, transfer-curve families, jump tables and case maps, DSP algorithm descriptors
0x012115 - 0x012158 68B Tone-generator voice template
0x012195 - 0x014738 ~9.6KB EQ and coefficient pools, floating-point constant pools, per-effect parameter metadata for all 100 algorithms (from 0x0133CF: a copy of main-CPU 0xEE4FC6-0xEE636B, which only the main CPU reads — see DSP Effect Data Zone)
0x0131CF - 0x0133CE 512B DSP_MixerGain_Curve — 128 × u32 monotonic gain curve (piecewise-exponential, 53.5 dB span, ends at 0x7FFFFF00). Read by DSP_MixerCoeff_Compute; it is not a pitch table
0x0147B3 - 0x01E17E 39,372B DSP effect bytecode + parameter zone — see DSP Effect Data Zone
0x01ED7C / 0x01EF0C / 0x01F09C / 0x01F22C 400B each The four 100-entry u32 pointer arrays that index the effect zone (algorithm bytecode, coefficient bytecode, parameter values, parameter descriptors)

Inter-CPU Communication

The main CPU and sub CPU communicate through one pair of 8-bit latches (IC22 and IC23) that each CPU sees at a different address: 0x140000 on the main CPU’s bus and 0x120000 on the sub CPU’s. Both firmwares name the address they use — INTER_CPU_COMM_LATCHES is 0x140000 in v10/maincpu/kn5000_v10_program.s and 0x120000 in v142/subcpu/subcpu_vectors.s. ⚠ On the main CPU’s bus 0x120000 is the floppy controller’s DMA-acknowledge window and has nothing to do with the latches.

Latch Addresses

Bus Address Access Description
Sub CPU 0x120000 R/W Inter-CPU Communication Latch
Main CPU 0x140000 R/W the same latch pair

The sub CPU boot ROM configures DMA to use this address for bidirectional communication with the main CPU.

Command Protocol (Boot ROM)

The sub CPU boot ROM implements this command protocol:

Command Byte Action Data Size Buffer Address
0x00 - 0x1F Handler dispatch + data 1-32 bytes 0x051E
0xE1 DMA transfer type 1 6 bytes 0x0544
0xE2 DMA transfer type 2 10 bytes 0x054A
0xE3 Signal payload ready 0 bytes -

Command Encoding (0x00-0x1F):

For general commands, the byte encodes both handler and length:

Bits 7-5: Handler index (0-7) → selects from jump table at 0xFF8000
Bits 4-0: Data length minus 1 (0-31 → 1-32 bytes)

Example: Command 0x45 = handler 2 (0x45 >> 5 = 2), 6 bytes ((0x45 & 0x1F) + 1 = 6)

The table at 0xFF8000 is CmdHandler_Table in the boot ROM, and all eight of its entries are ld hl, 0:i3 / ret stubs — the boot loader accepts and acknowledges the whole command set without implementing any of it. The working handlers arrive with the payload, as CMD_DISPATCH_TABLE at 0x00F46C (SubCPU Command Format, Sub-CPU Boot ROM (IC30)).

Communication Flow

Main CPU → Sub CPU (Command):

1. Main CPU writes command byte to the latch (`0x140000` on its bus)
2. Sub CPU InterCPU_RX_Handler triggered
3. Sub CPU reads command, initiates DMA for data bytes
4. DMA transfers remaining data to RAM buffer
5. CMD_Dispatch_Handler processes command based on state machine

Sub CPU → Main CPU (Response):

1. Sub CPU writes response to the latch (`0x120000` on its bus)
2. Sub CPU sets flag bits in PAYLOAD_LOADED_FLAG (0x04FE)
3. Main CPU polls or receives interrupt
4. Main CPU reads response from latch

Sub CPU State Variables

Address Symbol Description
0x04FE SUBCPU_STATUS_FLAGS Bit 6: payload ready, Bit 7: transfer complete
0x0512 DMA_TARGET_ADDR Current DMA destination address (4 bytes)
0x0516 DMA_XFER_STATE 0=idle, 1=single xfer, 2=two-phase (E1)
0x0518 CMD_PROCESSING_STATE 0-4, tracks command processing phase
0x051A LAST_CMD_BYTE Most recent command byte received
0x051E CMD_DATA_BUFFER Variable-length command data (32 bytes)
0x0544 CMD_E1_BUFFER E1 command data buffer (6 bytes)
0x054A CMD_E2_BUFFER E2 command data buffer (10 bytes)
0x0556 MEMTEST_RESULT Memory test result flags
0x0558 SERIAL_STATUS Key-down bitmap (8 bytes, 64 keys), filled from the keybed FIFO by CONTROL_PANEL_BIT_SET_CLEAR; the equate keeps an older name

DMA Configuration

The boot ROM configures DMA for the inter-CPU latch:

  • Source: 0x120000 (latch)
  • Mode: Controlled via undocumented LDC opcodes
  • Trigger: Write 0x0A to address 0x0100

Sub CPU Boot ROM Routines

Key routines identified in the boot ROM at 0xFF8000+:

Address Routine Description
0xFF8290 BOOT_INIT Hardware initialization entry point
0xFF8432 DEFAULT_HANDLER Default interrupt handler (RETI)
0xFF8433 RESET_ENTRY Alternative reset/NMI handler
0xFF8437 TONE_GEN_CHANNEL_INIT Writes four channel configs to the 0x130000 block (not the tone generator)
0xFF846D COPY_VECTORS Copy interrupt trampolines to RAM
0xFF8490 HALT_LOOP Error handler (halt and loop)
0xFF84A8 INIT_TONE_GEN Test pattern and mode words to the 0x130000 block (not the tone generator)
0xFF84F1 TONE_GEN_WRITE Write 8 registers of one 0x130000 channel
0xFF850E WRITE_TONE_REG_MULTI_CHANNEL Multi-register push/call wrapper
0xFF853A WRITE_TONE_REG_SINGLE_CHANNEL Write 8 registers of one 0x130000 channel from XBC/XDE
0xFF858B COPY_WORDS Word block copy (ldirw)
0xFF8594 FILL_WORDS Memory fill with word values
0xFF859B CHECKSUM_CALC Calculate checksum over memory range
0xFF85AE INIT_DMA_SERIAL DMA and serial initialization
0xFF8604-0xFF881E DMA routines 539 bytes, fully disassembled (5 routines)
0xFF8956 INIT_MEMORY_TEST Memory test initialization
0xFF881F InterCPU_RX_Handler Inter-CPU receive interrupt
0xFF889A DMA_Complete_Handler DMA complete interrupt
0xFF88B8 CMD_Dispatch_Handler Command dispatch interrupt
0xFF89A9 DELAY_ROUTINE Variable delay loop
0xFF89FC MEM_TEST_ROUTINE RAM test routine
0xFF8AB4 ROM_CHECKSUM Boot ROM integrity check
0xFF8B07 SERIAL_INIT Serial communication init
0xFF8F6C Trampolines 45 interrupt vector trampolines (225 bytes)
0xFFFF00 Vector Table Hardware interrupt vector table

Tone Generator

The tone generator (IC303) has a register window at 0x100000 (address) / 0x100002 (data) and a keybed port at 0x110000/0x110002:

Its PCM comes from the four 4 MB waveform ROMs IC304-IC307, 16 MB of its own that no CPU maps, read as two word-interleaved pairs: IC307 holds every other word of each recording, the Y half of its pair (2026-10-30). Only IC307 is dumped; its layout (four pages, each a directory, parameter records and waves) and its source tree waveform/ are on Waveform ROM Format.

Register window and keybed data/status port:

Address Register Description
0x100000 / 0x100002 Register address / data 64-voice register window
0x110000 Data 16-bit voice data (note in low byte, velocity in high byte)
0x110002 Status Status register (bit 0: data ready, bit 1: mode flag)

The payload sets port P6 bit 7 before reading the status word (0x110002) and clears it before reading the data word (0x110000). The disassembly reads this, as an inference, as the A23 line; the sub-CPU boot ROM reads the same two ports without touching P6, so whether the chip needs it is unresolved (see Tone Generator).

DSP-associated register block (not the tone generator):

Address Description
0x130000 4-channel × 8-register DSP1-associated block (address +0, data +2)

The boot ROM’s INIT_TONE_GEN (0xFF84A8) writes initial patterns to this block; despite its name it does not touch the tone generator, whose 64 voices serve 26 MIDI channels (see Audio Subsystem).

Keybed state (Sub CPU RAM):

Address Size Description
0x4A42 3B MIDI staging bytes sent to the main CPU by InterCPU_DMA_Send (0x90, note, velocity; velocity 0 for a key release)
0x4A48 1B Touch-curve number (0-9, initialised to 6), read by Keybed_Decode_Event
0x4A4A 1B Keybed-to-main forwarding enable (InterCPU_DMA_Send is called only when it is 1)
0x4A4C + note 1B per note Held-key map: 0xFF while the key is down (bytes in use start at 0x4A70; see Keybed Scanning)

DSP State Buffers:

Address Size Description
0x041342 38B DSP state buffer 1
0x041368 7462B DSP state buffer 2

HDAE5000 Hard Disk Expansion

The HD-AE5000 is a hard disk expansion system providing 1.08GB storage for music files. See the dedicated HDAE5000 page for complete documentation.

Memory-Mapped Addresses

Address Size Description
0x160000 2B PPI Port A: data byte to or from the PC (bidirectional)
0x160002 2B PPI Port B: handshake lines to the PC (output in PC-link mode)
0x160004 2B PPI Port C: handshake lines from the PC (input in PC-link mode)
0x160006 2B PPI control (0x82 at boot; 0x89 or 0x99 in PC-link mode; 0x90 in the hardware test’s PPORT TEST)
0x280000 512KB HDAE5000 ROM

ROM Entry Points

Address Target Description
0x280008 JP 0x28F576 Boot initialization
0x280010 JP 0x28F662 Frame handler (PPORT polling)

HD-AE5000 RAM (0x200000-0x27FFFF)

The expansion board’s SRAM. Selected variables, named in hdae5000/hd-ae5000_v2_06i.s (HDAE5000_RAM_*, each .equ carrying its evidence):

Address Name Contents
0x201632 HDAE5000_RAM_DirNames directory names, 16 B × 120
0x201DB2 HDAE5000_RAM_SongRecords song records, 76 B × 1920
0x2257B2 HDAE5000_RAM_FlsRecords FLS records, 144 B × 120
0x22A000 — start of the 0xF52A-byte work area cleared at boot
0x22B430 HDAE5000_RAM_LyricBuffer the lyric file, 0x5000 bytes (format)
0x230884 HDAE5000_RAM_FdLyricNames 40 × 9-byte base names of the floppy’s *.TLX files
0x230ECC / 0x230ED2 / 0x230ED6 HDAE5000_RAM_SqSrtcPtr / HDAE5000_RAM_SqBtofPtr / HDAE5000_RAM_SqBeadtPtr addresses of the main CPU’s sequencer variables sqsrtc, sqbtof, sq_beadt (RAM 0x0421 / 0x041C / 0x041B)
0x230EDA HDAE5000_RAM_HdPresent result of HDAE5000_Check_HD_Present
0x23952A — RAM copy of the 0x0C82-byte .data image (ROM 0x2F94B2)
0x23A0AA HDAE5000_RAM_LyricLines six 40-byte text lines of the lyric window
0x23A19C HDAE5000_RAM_LyricLoaded 1 once a lyric file is loaded
0x23A19E HDAE5000_RAM_LyricBoxObj object id of the open lyric box, 0xFFFFFFFF when none is open
0x23A1A2 HDAE5000_RAM_MainWorkspacePtr the main CPU’s object table (0x027ED2), passed to Boot_Init in XWA

Two of these were misread on earlier versions of the HD-AE5000 pages. 0x23A0AA was called a “directory entry display (5 slots × 40 bytes)” and is the lyric window’s six lines. 0x23A19E was called a “secondary workspace pointer” and is the lyric box’s object id. The frame handler posts the song position to that object, and redraws go to it. Source: the hdae lane report (notes/lanes/wave2-2026-09-25/lane-reports/hdae.json) and the .equ block at the top of hdae5000/hd-ae5000_v2_06i.s.

Analyzed Firmware Version

Property Value
ROM File hd-ae5000_v2_06i.ic4
Internal Version 2.33J
Development Period Juli-Oktober 1996
Author M. Kitajima

PPORT Commands (PC Parallel Port)

Code Command Description
01 Send Infos About HD Report HD info to PC
02 Exit PPORT End parallel port session
03 Read FSB from HD Read File System Block
04 Sending FSB to PC Transfer FSB to PC
05 Rcv FSB from PC Receive FSB from PC
06 Writing FSB to HD Write FSB to HD
07 Load HD to Memory Load file to KN5000
08 Send data to PC Data transfer to PC
09 Sending files to PC File transfer to PC
10 Rcv data from PC Receive data from PC
11 Save memory to HD Save to hard disk
13 Rcv data from PC Receive data from PC (a second receive handler)
14 Sending infos to PC Send information to PC
16 Delete files Delete HD files
17 Formating HD Format hard disk
18 Switch HD-motor off Spin down HD
20 Send XapFile flash XAP file transfer

Commands 12, 15 and 19 are empty entries (‘nothing’).

Firmware Versions

Version Release Date Notes
v1.10i 1998-07-06 Initial release
v1.15i 1998-10-13 Bug fixes
v2.01i 1999-01-15 Added lyrics display (the installer calls it “v2.0i”; the ROM signature reads v2.01i)
v2.06i unknown The version analysed on this page (hd-ae5000_v2_06i.ic4)

v1.10i, v1.15i and v2.01i (in the folder labelled “v2.0i”) are archived at archive.org. v2.06i, the version analysed here, is not in that item. All four have byte-exact source trees; what differs between them is on HD-AE5000.

Reference: keysoftservice.ch/hdae5000-e.htm