Open Questions
Open Questions
Things we don’t know yet and need to investigate.
Control Panel Protocol
Command Structure
- What is the complete list of valid command bytes?
- Are there command categories we haven’t discovered?
- What determines the response length for each command?
- Are there error/retry mechanisms in the protocol?
Button Handling
- How many buttons are there total? ~150 buttons across 22 segments (11 per panel, 8 bits each)
- How are button banks organized? 11 segments per panel (CPL_SEG0-10, CPR_SEG0-10), see Control Panel Protocol
- Is there debouncing in the MCU or main CPU?
- How are simultaneous button presses handled?
LED Control
- How many LEDs are there total? ~119 LEDs (69 on CPR, 50 on CPL)
- What is the addressing scheme? Segment outputs SEG00-SEG15 via HD74LS07P drivers
- Can LEDs be dimmed or only on/off?
- Is there multiplexing? Yes, MCU multiplexes via segment outputs
- What do the 4 LED packet types (bits 4-5) represent? Dispatched via
CPanel_LED_PacketHandlers(0xFC4B85): types 0-2 shareCPanel_LED_HandlePacket2(0xFC4B95, 48 bytes) which transfers a fixed 2-byte row-select+pattern pair; type 3 usesCPanel_LED_HandlePacketN(0xFC4BC5, 66 bytes) for variable-length data, whose first byte’s low nibble is a count: the handler copies that byte plusnibble + 2more (nibble + 3bytes in all). See Control Panel Protocol. - LED packet format? Bits 4-5 select handler, bits 5-0 = row, bits 7-6 = panel select
- LED row mapping? CPR: rows 0x00-0x0C, CPL: rows 0xC0-0xC8 - see Control Panel Protocol
Rotary Encoders
- How many encoders are there? 6 active encoder IDs (2, 5, 25, 26, 27, 31)
- Absolute or relative encoding? Both. The five analog IDs (2, 5, 25, 26, 27) send absolute 8-bit ADC readings; ID 31, the data wheel, sends a signed detent count that the CPL MCU decodes from ROTA/ROTB quadrature
- What is the resolution (steps per rotation)?
- How is direction determined? Quadrature decoding of ROTA/ROTB phase relationship
- Encoder ID encoding? 5-bit ID from bits 0-2 and 6-7 of packet byte 0
- Which physical encoders map to which IDs? ID 2=Modwheel, 5=Volume, 25=Breath, 26=Foot, 27=Expression, 31=TEMPO/PROGRAM data wheel (
Encoder_PassthroughIdentitypasses its count through) - Does the TEMPO/PROGRAM data wheel travel through this system? Yes — its header
0xD7is a Type 2 frame with encoder ID 31, whose handlerEncoder_PassthroughIdentitypasses the signed detent count through unchanged;CtrlPanel_HandleSerialPortthen applies the wheel’s acceleration curve (CtrlPanel_DialStepByDelta) and postsEVT_DIAL. See Data Wheel
Hardware Architecture
Control Panel MCUs
- What MCU model is used? Mitsubishi M37471M2196S (8-bit CMOS, 740 series)
- How many MCUs are on the control panel board? 2 (CPL board and CPR board)
- What is the serial baud rate? 250 kHz for the command bytes (fc/16/4); 31.25 kHz (fc/64/8) arms each command and 62.5 kHz (fc/64/4) carries the phantom/turnaround bytes. See Control Panel Protocol
- Is it UART, SPI, or custom protocol? Clock-synchronous serial: the CPU runs SC1 in I/O interface mode (
SC1MOD = 0x00), 8 bits LSB first over a shared SCLK1; the CPU clocks its commands and each panel clocks its own replies. See Control Panel Protocol
Inter-CPU Communication
- How do main CPU and sub CPU coordinate? Command/response via the IC22/IC23 latch —
0x140000on the main-CPU bus,0x120000on the sub-CPU bus — with DMA for bulk transfers - What data passes through the latches? Header-framed packets, in both directions. Each packet is a header byte followed by its data: bits 7-5 of the header pick one of eight handlers and bits 4-0 give the length (1-32 bytes). Main → Sub, the Sub CPU dispatches through
CMD_DISPATCH_TABLE(0x00-0x1F MIDI/audio data, 0x60-0x7F DSP data, 0x80-0x9F serial-port-1 data, 0xA0-0xBF keybed settings; the rest are no-ops or a byte drain). Sub → Main (InterCPU_DMA_Send, which carries the keybed’s note events among others), the Main CPU dispatches throughSeqRingBuf_WriteDispatch_Table. Headers0xE1(6-byte address/count block) and0xE2(10-byte parameter block) bypass both tables and set up block transfers. The status lines are separate (next answer). See Sub-CPU Command Format - Are there handshaking signals? Yes: two status lines each way. The Main CPU drives
MSTAT0/MSTAT1(its port Z bits 0-1) and readsSSTAT0/SSTAT1(port Z bits 2-3), which the Sub CPU drives from its port D; every E1 transfer waits onSSTAT1(SubCPU Payload Loading). The byte at0x04FEin Sub-CPU RAM (bit 6 = payload ready, bit 7 = transfer active) is the Sub CPU’s own state, which the boot ROM and the payload both write; it is not a handshake line. During boot the last E1 block, which covers0x0400-0x04FF, sets bit 6, and the boot ROM’s main loop polls that bit before it calls the payload (Payload Execution Trigger) - What did the overlay’s former SNS write tap break? The kn7000_mame write tap on DRAM
0xFFD4(removed inb1cf7db) caused the “Sound Name Error”, but not by skipping the payload transfer:SubCPU_Send_Payloadruns beforeSubCPU_Payload_Verifyand does not depend on it, and the verify only sets the error flag at0x01E53E. Without the tap a cold start gives 0xFF. With the tap the splash played, so the flag was 0 or 1, and which of the two was never traced. At 0 the boot runs each subsystem’s phase-1 init handler instead of phase 2. At 1 it runs phase 2 but skips the paths that act only on 0xFF: the welcome screen’s “ALL INITIAL SETTING!”,AccompSeq_InitBankIfNoError,SoundRam_InitPhase2_ResetIfRamLostand the 0xFF branch ofAudio_ResetAfterPayloadError. Which of these left the Sub CPU unable to answer the sound-name query? A warm boot through the modelled POWER switch also shows the splash and keeps the names. (SNS NMI Emulation)
HDAE5000 Hard Disk Expansion
- What is the command interface via PPI at
0x160000? i8255 PPI for PC parallel port (LPT) communication — used by HD-TechManager5000 Windows software for backup/restore. See HDAE5000 and HDAE5000 Disk Interface - How does it communicate file data to the keyboard? IDE/ATA at 0x130010-0x130020 (CHS addressing, PIO mode, 4 ATA commands: Read Sectors, Write Sectors, Identify Device, Standby Immediate (0x94)). See HDAE5000 Disk Interface
- Which of a song record’s ten first-cluster slots holds which part, and what are the FLS item bytes at +80/+112? Answered 2026-10-31 (kn5000-44c): see the song-record table and the FLS record (AS at +80, AL at +112) on HDAE5000 Filesystem.
- Is “FSB” (PC-link commands 03-06) the whole table set or only the song-record block? The whole table set (kn5000-44c): see HDAE5000 Filesystem.
- Lyric player: the byte at
0x230882, meta type0x7Ebeyond its chord case, the tempo and measure lyric objects, and the meaning of the main-CPU variablessqbtof/sq_beadt/sqsrtc. - The 13,334 bytes of class-specific body in the HD-AE5000’s 769 UI object records: the main-CPU class layouts should decode them (record #0 already reads as a
TtlScreen). - Does the main CPU read the STORE button’s palette (
HDAE5000_Palette_Button01) at the bitmap pointer − 0x400? - What is the protocol for directory listing and file loading? A custom filesystem: a 32-bit FAT of cluster chains, and 323 table sectors holding 120 directory names, 1,920 song records (each with first-cluster slots for its parts) and 120 FLS records. See HDAE5000 Filesystem. (Earlier text here described an “FSB/FGB/FEB hierarchy”; that reading came from misnamed lyrics-player routines.)
ROM Reconstruction
Main CPU Reconstruction
- Does the main-CPU image rebuild byte-for-byte? Yes — every gated image is byte-identical under
make gate-all, encoded natively by the custom LLVM TLCS-900 backend. See ROM Reconstruction.
Table Data
- What is the structure of the table data ROM? 2MB ROM at 0x800000-0x9FFFFF — contains rhythm patterns, sound parameter tables, bitmap images, demo songs, SSF presentation data. See Storage Subsystem
- What file formats are embedded (images, samples)? BMP bitmap data (FTBMP format for Feature Demo), SSF XML (presentation scripts), rhythm pattern data, sound parameter tables
- How is data indexed/accessed? Via pointer tables in main program ROM — e.g., file entry index at 0x8CE01C for bitmap lookup, SSF data at 0x88000E
NAKA Widget System
The firmware’s own class definitions answered most of this section in September 2026; see UI Framework — The class system describes itself.
handler_table Dispatch
- What is the
handler_tablefield in CONTAINER/MENU_ITEM widgets? Not a dispatch table. The class definitions name it:windowin aTtlScreen(inherited fromScreen) andselectedin anAcTitleMenu(inherited fromPsMenuBox). The earlier answer (“DRAM dispatch table address thatInheritedProcindexes by event code”) is superseded. - Where do the
0x0003xxxxvalues point? Into main DRAM (0x000000-0x0FFFFF), inside the work-RAM image thatBoot_InitWorkRAMcopies to0x3D524-0x3F6C1at boot (Memory Map). - How does
RegisterObjectTablepopulate the 14-byte object records at DRAM 0x27ED2? It copies the caller’s{class id, proc, count, data}block to0x027ED2 + 14 × index. - What determines the screen_id values (e.g., 0x01A0 for CONTROL MENU)? 0x01A0 is object table 0x1A0, the title table:
0x01A0nnnnis title nnnn (Event Codes). - How does
InheritedProcuse a menu item’sselectedpointer, and what does theflagword (+12) of a widget record control? (The HD-AE5000’s DISK MENU item has flag 0 where the ROM items have 8.)
Compact Dispatch Widgets
- What is the 24-byte dispatch format? A class definition read 4 bytes late. Its “header” is the class’s
parent,field_04/field_06areallsize/selfsize,name_ptrisname,inst_ptrispropdata,link_ptrispropname, andproc_addris the next class’sproc. - What do field_04 and field_06 represent?
allsizeandselfsize: the record size with inherited fields, and the bytes the class adds. - What is the relationship between inst_ptr (code string) and proc_addr (handler function)? None.
inst_ptris the class’s type-letter string, andproc_addrbelongs to the next class. - Per-class C structs for every NAKA widget record: 3,197 of 3,234 records in 14 C files are typed; the nakabig lane’s three files, 37 straddling records and
naka_master_style.c’s 27 class definitions are not.
Event System
0x01C00015versus0x01C00016. Both are title requests carrying a0x01A0nnnntitle id and reachingTitleProc, but they take different cases (EventDispatch_SelectMatch/EventDispatch_OK). What is the difference? The firmware’s own names settle it:0x01C00015isEV_CHANGE_TITLE(change the current title) and0x01C00016isEV_INTERRUPT_TITLE(show a title on top of the current one untilEV_RETURN_TITLEcloses it). (Event Codes)- HD-AE5000 boot title request.
HDAE5000_Boot_Initrequests title 0x7F whenHDAE5000_Check_HD_Presentreturns non-zero. Per its header, that means the drive is not ready. Per the call site’s comments, it means it is. Which reading is right? (Boot Sequence) - Does anything besides
InheritedProcreadallsize/selfsizeof a class that re-classes an existing record (asHDTitleMenure-classes view object0x00600002)? A class with parent0xFFFFFFFFhas no inherited behaviour; whether the view system tolerates that for a DISK MENU item is untested. (HDAE5000 Homebrew)
Data Tables (September 2026 leads)
- Work-RAM mirror. Every “no reader found” verdict on ROM data in
0xEED8C8-0xEF03C0should be re-run against the RAM copy (nakarest_refs.pyram_mirror()); see Memory Map. - Preset Data Destination. Confirm in MAME that the
0x800000fallback ofSubCPU_Send_Payloadships the bitmap bank (and so the0xF7bytes). (LZSS Compression) - Section directory at
0x800000. Nothing in any ROM we hold reads it or the bitmap copies it indexes. What uses it? - Wallpaper palette entries 0xE0-0xEF. What writes the RAM table at
0x3F1E4thatChangeWallPalette_Implloads them from? - Tone database. The class nibble of a zone record’s recording selector appears to pick a 1 MB page of the wave space (page = class & 3, bank = class » 2; classes 4, 5, 6 and 7 match IC307’s pages 0, 1, 2 and 3 exactly). IC307 is the Y half of a word-interleaved pair (Waveform ROM Format): which socket is its partner, and which pair holds the other bank? Why does
Voice_Init_Type1add(tick & 7)to the whole selector, and what doesWaveSel_StageB_Store_Reg040’s doubling of the class (bit 2 ofVoice_GlobalFlags) select? What are SET descriptor+0x0Eand flags bit 3, and the third id byte (+13) of each catalogue row? (Tone Database) - Music Stylist. Does parameter id 0x4900 resolve to tag 0x61 +0 (style record
+0x9E), naming each of the 1000 styles’ DSP effect? What reads record byte+0xBE, and which panel part is “PART 4”? - Effect-parameter metadata. Why does the Sub CPU payload carry a byte-identical copy of the main CPU’s effect-parameter metadata (
0x0133CF) that it never reads? (DSP Effect Data Zone) InterCPU_E1_DMA_Transfer(Sub CPU). The tonedb lane reports that its header probably has source and destination swapped (DSP_Reinit_VoiceSlotspassesXWA = 0x007800, its own staging image, andXDE = 0x1E0000). Unverified.- HD-AE5000 disk image geometry. The reconciliation on HDAE5000 Filesystem infers 32 sectors/track and 16 heads from the image’s 0x200-sector spacing. The image’s IDENTIFY data would confirm it.
SX-WSA1R
Open questions left by the 2026-09-25 semantic push over the four SX-WSA1R images. Each
lane’s full list of what it could not do is in the disassembly repository,
notes/lanes/wave2-2026-09-25/lane-reports/proma.json, promb.json and promcd.json.
CPU 1’s parameter-number space
See Parameter Records.
- What does number
0xB0ofDispatch_By_60F080do (List2030_ParamB0_Dispatch)? Three of the four numbers that reach a handler with a body are now named:0x7Ais the tempo (List2030_Tempo_Dispatch→Tempo_ApplyBpm),0x98applies a program (List2030_Param98_Dispatch→List2030_Param98_ApplyProgram), and0xA8passes its value through unchanged (List2030_ParamA8_PassThrough). (Nine further numbers with entries of their own —0x44–0x46,0x48,0x60,0x70,0x72,0x90,0x91— point at one-byteretstubs, so they are no-ops here, like the 168 that shareDispatch_By_60F080_Nop64.) - Which controllers are numbers
0xB6and0xB7? Two MIDI-in tables carry them for every part, but no controller number reaches their handlers. - What does bit 5 of RAM
0x7F36, tested before every controller fan-out, switch off? The LOCAL TOTAL setting of the MIDI screen (set = OFF):MidiTotalMode_EditLocalTotalwrites it, andMidiTotalMode_PaintLocalTotalshows it as ON/OFF. - What are the switch assignments
0x88,0x89and0x90, and which physical controls are panel groups0x0B–0x17? - The part record’s layout beyond the known classes; what
Dispatch_By_60F080__Tailis. - Reconcile
prom_b’s factory-default ids that are “without meaning” (0x60,0x78–0x7A,0x80,0x91–0x93,0x98,0x99) with the SysEx reference’s names for the combination chunks (0x78COMBINATION NAME,0x60EFFECT COMMON,0x79PART COMMON,0x92KEY SCALING / SCALE TUNING).tools/wsa1_param_record_layout_check.pyshows those chunks and the parameter records occupy the same RAM, which makes the names a strong lead; they are not yet confirmed fromprom_a’s own readers. (The default payload of0x78is sixteen spaces, as a blank name would be.)0x7Ais now identified fromprom_a: it is the tempo (record RAM0x7EE2, applied byList2030_Tempo_Dispatch→Tempo_ApplyBpm; factory default 120 BPM). - SysEx address-hi
0x11reads RAM0x7622 + loin the SMF exporter. Does the SysEx reference’s address map agree, field by field, with the combination layout at those offsets? - Does
SmfSysEx_WriteAddr11’s pointer-versus-entry compare really let a write to an unused address through to0xFFFFFF? Worth a MAME trace. - Eight jump tables are indexed by RAM cells rather than button codes — the ones at
0xF9A3C7and0xF9AB84by(0x2720),0xF9D966by(0x269A), and0xF9DBE6,0xF9EC58,0xFA08BF,0xFA09BD,0xFA0B13by others. What do the cells select?
prom_a and prom_b data
DrumKitNames_Block7–DrumKitNames_Block12(7,740 B): no reader; their 24-bit block and base addresses occur in none of the four images.- Not yet attempted:
RecordTables_FB82A0(2,566 B),MixedTables_FC6626, the hard-disk sectorsDiskImage_HardDisk_BootSector/DiskImage_HardDisk_MBR(1,024 B),Msg0716_ObjectRecords, theVersionScreen_*objects,RamInitTable_F96CA6_Addrs,MidiFile_Tables_FBA169. - How are the words of
SoundCodeByGroupMember_ModeOffsetGroup(0xF06EF4) andPanelSoundSel_ByProgramAndBank(0xF07134) encoded? They are inverse maps between a part’s panel selection and its PROGRAM CHANGE & BANK.SoundCode_FromGroupMember_ModeOffsetreads the first at (group + bias, member) and gets (program, bank) as (low byte, high byte);SoundSel_FromPresetProgramAndBankreads the second at (program, bank) and gets (group, member), sorting the group byte into R1 / R2 / RD atprom_a0xFC248D. All 272 panel selections round-trip (wsa1/notes/prom_ab_sound_selection_tables.pyin the disassembly). - What do the words of
ProgramChangeOut_ByProgramAndBank(0xF08514; low byte = the program change transmitted, high byte = the bank select) say for a given sound? The table is not an identity map. - What do a SysEx decode-tree leaf’s result and pair bytes select (
LinkTable_F4FF61)? - Is there more older-build residue?
relocated_copy_scan.py --boundarieslists unchecked candidates inprom_b, andprom_a’s ~0x400stale twins suggest a systematic constant-delta twin scan there too (remnants). DLRecordPtrs_F03173’s readers index entries 19–20, past the end of the table and into the next display list — a firmware bug, or a deliberate overlap?TouchCurve_BoxOrigins3[0]gives x =0xA8, but its list’s box starts at0xE0.- Is either of the firmware’s two Japanese messages (the display list at
0xF2E91A) reachable?0xF2E97A, where the second begins, is spelled nowhere.
prom_c and prom_d
- 24 P7 streams (5,897 B) have no reader in any image. Orphans of an older build, or reached some way no search has tried?
- The P7 type letters
vands: only their width (one byte) is decoded;soccurs only in the two wah records, whose hand-coded paths are untraced. - Record 14 (ROTARY SPEAKER), descriptor 14, is a 0/1 switch driven by
amount ≥
0x40. Is it the panel’s rotary speed control? - The program order of
ToneDB_ToneNumBanksinprom_d. - Four maths helpers beside the
Double_*routines are unnamed (sub_FC8EE5,sub_FC9FA3,sub_FC9ACBwith no caller,sub_FC9BBC).
KN7000 hardware and sound
Measured on the owner’s instrument (program 893) by the ROM dumper’s probe passes on 2026-10-20, unless a line says otherwise (ROM Dumper).
- What is the main CPU’s clock? Answered 2026-10-20: 64 MHz, the 16 MHz X1 ×4, with
IOCLK at 16 MHz; both caches are on (CHCTR
0x8F). The earlier 32 MHz assumed a ×2 multiplier. (CPU clock) - What does the board strap at
0x98070000read? Answered 2026-10-20:0xF8F7: board class 1, hardware subtype 2, both tone generators present. (Sound Subsystem) - At what rate does the effects DSP run its frames, and how often may the host talk to it? Answered 2026-10-20: 44.1 kHz (a 22.68 µs lattice), with exactly one host handshake per frame. FLAG3 is high on alternate frames, and MSGR2 holds the ring-3 pointer. (Effects DSP)
- Is the DSP code the emulator downloads the code on the chip? Answered 2026-10-20: yes, word for word, for everything the firmware downloads.
- Can the KN7000 play samples of your own? Answered 2026-10-21: no. It has no user-sample facility. The tone generators read only their own wave mask ROMs (IC203/IC204, IC207/IC208) and an expansion board on the same wave bus, and they cannot read CPU RAM. The only sound expansion is the optional Wave Expansion Board (SY-EW01-04). (Sound Subsystem)
- Are
.MSPfiles audio? Answered 2026-10-21: no. They are the Performance Pads’ (MSP 1-6) phrase banks, which hold sequencer data. - Does SD-Audio go through the tone generators or the DSP? No. Its decoder (IC402) is mixed into the analog output on a separate path.
- Why is the LCD slower while the display runs? A 16-bit store to the frame takes 439 ns in pass 9’s clean runs. Some of pass 9’s runs took 2 to 2.4 times that, and Another World’s benchmark saw 1.3-1.8 µs while the game ran. The LCD controller holding the CPU off during display fetches would explain it; nothing has shown it. (Display Subsystem)
- Which chip select serves which window, and what do the MEMCTR fields mean? The
costs are measured per window. Only CS0-CS3 follow MEMCTR bits 12:8, and 941 raises MEMCTR3’s
waits around the DSP data port at
0x9C000000, which the 64 MB map puts on CS7. - What is the DSP’s clock? The part is the 60 MHz grade, and the SDRAM refresh divisor the kernel writes (930) is the ADSP-21065L manual’s worked example for a 30 MHz CLKIN, doubled to 60. The overlay has run its SHARC at 60 MHz since 2026-10-21 (66 before). The chip’s clock has not been measured. DSPTONE’s heartbeat on the unit (44,087 frames a second) does not settle it: it counts frames, not cycles. A DSP program that reads the chip’s timer every frame would (the overlay’s DSP plan, experiment E3).
- Does the instrument keep the dry sound with REVERB on? The firmware’s reverb programs write only the wet signal, and the overlay plays unit 0’s return alone while REVERB is on, so MAME’s output then has no dry sound and is 6-7 dB quieter than with REVERB off. Reading the firmware says the tone generator keeps its dry path; no recording from the unit has shown it. A C4 recorded from the line out with REVERB off, then on, would settle it (MAME Emulation Gaps).
- Which TG is on which chip select? The firmware’s WAVE ROM test reads the pair it labels
IC203/IC204 through the port at
0x98050000, and the schematic gives that pair to the master TG, IC201. The Sound Subsystem table puts IC201 at0x98040000. The decoder’s outputs on the schematic would settle it. - The 8-bit wave samples’ gain law is fitted (2^(−b/2) per segment code), not derived. A line-out recording of a sound built from 8-bit samples, such as STRINGS, would settle it.
- Does our own DSP program run on the chip as it does in MAME? Answered 2026-10-21: yes. DSPTONE ran on the owner’s KN7000 as in MAME: the same routines, the program read back equal, the heartbeat at 44,087 frames a second, the tone and the sweep heard, the reverb back after STOP. Another World’s eight-voice mixer then played the game’s samples there. (Effects DSP)
- Does the tone generator mix the CHORUS unit’s return whatever CHORUS is? Answered 2026-10-21: yes. On the owner’s unit Another World’s DSP sound plays properly with REVERB and CHORUS both off, so the return it goes through, unit 9’s (the CHORUS has no return register; its button moves only its send), is mixed whatever the panel says. With REVERB on it is a little louder: unit 0’s return adds to it. MAME mixes unit 9’s return only while CHORUS is on, which is wrong. (Effects DSP)
- How loud is our DSP sound against a played note? Neither DSPTONE’s tone nor Another World’s samples have been measured against a note on the unit; by ear, the game is close to a piano note’s level. MAME’s return level is not calibrated.
KN7000 SP7001 PLUG-iN
- What firmware services does
BASEEXT.XAPcall? Answered 2026-10-16: the firmware only, through the MILK framework object. Its+0x1Cmethod table is a static vtable at0x487280D0, so 639 of the plug-in’s 1,340 indirect calls are named firmware methods —SendEvent(285),PostEvent(89),SetVisible(65),GetViewInstance(35), … The other 701 go through MILK objects it creates (their vtables not yet pinned). (SP7001 Firmware) - Does
KssPluginLoadrun before the plug-in is activated? Answered 2026-10-16: yes.Ap_Ce_StartUploadsBASEEXT.XAP(reads the latch0x50299070, callsKssPluginLoad(3), sets the latch) before reading the activation status0x502992C4; the password gate is on user-action paths. So an.XAPruns on a never-activated unit. (SP7001 Firmware) - Is the SP7001 release the “Update V2.0” of Key Soft Service’s product page? The preserved update is program 942 / table 83 (“v1.6 PLUG-iN”, PLUG-iN V1.0 of 2003-08-23). (SD PLUG-iN)
Needs Technical Documentation
These areas would benefit from official datasheets or service manuals:
- TMP94C241F datasheet - Full instruction encoding tables
- HDAE5000 documentation - ✓ Reverse engineered in depth: ROM, IDE/ATA protocol, filesystem, PC link (the questions still open are under HDAE5000 Hard Disk Expansion above). See HDAE5000
- KN5000 Service Manual - ✓ Have it! (EMID971655 A5, 59 pages)
- Control panel schematic - ✓ Analyzed pages II-35 to II-38
Partially Understood
Things we have some info on but need verification:
CP_Flags Usage
Some flag bits appear unused in the code we’ve analyzed:
CPANEL_TX_RX_FLAGS.2- Set byCPanel_RX_ProcessWithFlag/CPanel_RX_Processbut never read?CPANEL_TX_RX_FLAGS.4- Never set, only tested?CPANEL_PROTOCOL_FLAGS.1,.2,.3,.6- Purpose unclear
State Machine
CPANEL_PACKET_BYTE_COUNTcan hold values 0-17, tracking expected bytes in multi-byte transfers- See Control Panel Protocol for complete state machine diagram
Multi-byte Packets (Types 6, 7)
- Complex decoding in
CPanel_RX_MultiBytePacket(0xFC4A40) - Byte count =
(byte0 & 0x0F) + 1 - Bit 4 used for mode selection
- Purpose and expected data format unknown
Timing
- Various routines use “wait 6 ticks” or “wait 3000 loops” - what are the actual timing requirements?
Control Panel Code
All control panel routines are disassembled: the encoder handlers at 0xFC6C80 (450 bytes, six
handlers) and the LED packet handlers CPanel_LED_HandlePacket2 (0xFC4B95) and
CPanel_LED_HandlePacketN (0xFC4BC5) are named and sized — see
Control Panel Protocol.
Have answers or new questions? Contribute to the project — see Help Wanted.