Skip to the content
4 layers218.4 × 110 mmMatshitaPico, the printed circuit board in 3D

solid-state CD-ROM drive for the Commodore CDTV

Size
218.4 × 110 mm
Copper layers
4
Thickness
1.6 mm
Parts
66
Nets
155
Pads
488
Tracks, vias
872, 62
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Sep 2026
Updated
8 Oct 2026

Overview

MatshitaPico is an open-source printed circuit board by na103, from the na103/MatshitaPico repository on GitHub. It is a 4-layer board of 218.4 × 110 mm with 66 parts on 155 nets, routed with 872 tracks and 62 vias.

It is built around the 74LS245SC, 10067847-011RLF and BAT54, with the MBR120 among its other parts. Its parts include 23 resistors, 20 capacitors, 6 ICs, 3 connectors and 2 diodes. It belongs with the retro computing and games boards and the RP2040 and FPGA and CPLD boards of this library.

Main components

4

README

README.md

MatshitaPico — a solid-state CD-ROM drive for the Commodore CDTV

MatshitaPico is a solid-state replacement for the optical CD-ROM drive of the Commodore CDTV: BIN/CUE disc images stored on a microSD card take the place of the optical mechanism.

Why: many CDTV drives have a worn-out laser and cannot be repaired, and no drop-in replacement has ever existed. This project keeps these machines alive.

This repository contains the CPLD design (HDL), technical documentation, RP2350 firmware, KiCad hardware project of beta board and the Amiga-side mpdisk.device + boot CD builder for hardfiles.


Community beta

Because of the limited turnout in the project's closed beta testing, I have decided to open MatshitaPico testing up to the whole Amiga community.

The final version should not differ much from this first one, apart from an ATF1508 CPLD in a TQFP-100 package, programmable in-circuit through a JTAG connector. The key point for the final version is the PCB layout: it must be designed together with a 3D-printed mounting bracket. The original eject button could also be reused as a control button.

This first version is installable — as you can see from the photos here — but several modifications are needed to fit it. When I laid out the PCB I did not worry about its dimensions.

The key insight

The CDTV service manual contains no schematic for the CD-ROM subsystem: all of the CD-ROM electronics (CD-DSP, the Sanyo LC8951 decoder, the drive's own microcontroller) live on a PCB inside the drive mechanism, not on the motherboard. The motherboard only carries the host side — the DMAC (U36), the 6525/TPI (U32) and glue logic — which talks to the drive through connector CN9 (42 pins, sheet 10 of schematic #252605).

→ CN9 is the emulation point. The device plugs into CN9 and pretends to be the entire drive. The LC8951 does not interpret commands (it is a host↔µC FIFO mailbox); the replacement emulates both the LC8951 host interface and the drive µC command protocol (the proprietary CDTV/Sony command set).

Hardware architecture

text
   CDTV (CN9, 5 V TTL)
        |  DB0-7, _HWR/_HRD/_CMD/_STEN/_DTEN/DRQ/_ENABLE/_STCH + RESET
        v
   CPLD  ATF1508AS  (5 V, 128 macrocells, PLCC84, JTAG; socketed, programmed out of circuit)
        |  - real-time 5 V front-end; host-interface FSM (DRQ mode)
        |  - clock division C16M -> BCLK/LRCK; SCOR / subcode generation
        |  <- level shifting 5 V <-> 3.3 V (SN74CBTD16211 bus switch, no DIR, 5 V clamp)
        v
   MCU  RP2350 / Raspberry Pi Pico 2  (3.3 V)
        - drive command protocol - BIN/CUE from SD
        - I2S audio 44.1 kHz (PIO) - subcode Q - UI (NEXT + LED)
   + 16.9344 MHz crystal oscillator (C16M, DIP14 metal-can 5 V TTL)

Key constraint: the CN9 bus is 5 V TTL and the RP2350 is not 5 V-tolerant, so a native 5 V front-end is required (ATF1508AS, the AS variant, not ASV). The CPLD performs four things in parallel — master clock, I2S audio, subcode, host DMA — plus command glue logic; the heavy protocol logic runs on the RP2350.

What the CPLD does

The CPLD is the only chip that faces CN9 (a pure 5 V domain). It contains:

  • clkgen — derives the audio clocks (BCLK, LRCK, frame sync) from the C16M master clock (16.9344 MHz = 384 x 44.1 kHz), so the audio stays phase-coherent with the motherboard DAC (Sanyo LC7883M).
  • host_if — the LC8951-style host-interface FSM: it captures host commands (async latch on the rising edge of _HWR), drives status replies over _HRD/_STEN, and runs the DMA data path in DRQ mode (DRQ high = byte ready). EOP is not on CN9 — the DMAC counts it — so ending a sector is just lowering DRQ.
  • top level — subcode generation (SBCP/SCOR/EFFK; SCCK is a host input) and buffering of DATA/EMPHASIS from the RP2350.

The golden reference

cdtv.cpp from WinUAE (plus cdtvcr.cpp for the CDTV-CR variant) is a complete emulation of the DMAC + 6525 + LC8951 + command protocol. It is the executable specification the firmware is ported from. (The WinUAE sources are not redistributed here — see the WinUAE project.) The CDTV extended ROM is the real host-side protocol engine.

Drive command set (summary)

0x01 seek · 0x02 read · 0x04/0x05 motor on/off · 0x09/0x0a play LSN/MSF · 0x0b play track range · 0x82 clear-error · 0x84 mode set · 0x85 mode sense · 0x86 capacity · 0x87 subq · 0x8a read TOC · 0xa2/0xa3 front panel.

The full, byte-level command reference — including the vendor 0x6x hardfile page — is in docs/drive-commands.md.

Status

The device is functionally complete on real hardware: data boot, persistent disc change, CD audio (play / pause / skip / stop), CD+G graphics, and the activity LED all work on a real CDTV.

Optional: hardfiles (mpdisk.device)

With the firmware built with ENABLE_MPDISK, .hdf hard-disk images in the root of the SD card become read/write Amiga units MPD0..MPD3, served through the CD controller itself (no extra hardware). A small boot CD loads mpdisk.device, mounts the hardfiles and hands the system over to MPD0:, so a CDTV can run Workbench from a writable disk. The Amiga sources and the boot CD builder are in amiga/ and tools/ — see amiga/README.md.

Thanks

Thankyou to all the people who have support this project.
Andrea Quagliarini, Mirco Gaggiottini, Carlo Santagostino, Federico Di Dato.

License

This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). See LICENSE. You are free to share and adapt the material for any purpose, provided you give appropriate credit.



If you found this my work useful, please consider buying me a cup of coffee if you want:
Buy Me a Coffee at ko-fi.com

Parts

66
QtyValueFootprintReferences
17100nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2, C3, C4, C5, C6, C7, C8, C10, C11, C12, C13, C17, C18, C19, C20 +1
847KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR4, R5, R6, R7, R8, R9, R10, R11
6100RResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR15, R17, R18, R19, R20, R21
410KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3, R22
210uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC15, C16
21KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR14, R16
2470RResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR12, R13
274LS244_SplitPackage_SO:SOIC-20W_7.5x12.8mm_P1.27mmU4, U6
10R/100RResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR23
110067847-011RLFMatshitaPico_Library:10067847011RLFSD1
116.9344MOscillator:Oscillator_DIP-14Y1
11KResistor_THT:R_Array_SIP5RN2
12-1825027-0MatshitaPico_Library:218250270SW1
12.2KResistor_THT:R_Array_SIP9RN1
147uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC14
161204021721MatshitaPico_Library:61204021721J2
1641737-1MatshitaPico_Library:641737-1J1
174LS245Package_SO:SOIC-20W_7.5x12.8mm_P1.27mmU3
174LS541Package_SO:SOIC-20W_7.5x12.8mm_P1.27mmU5
1ATF1508ASx-xxJx84Package_LCC:PLCC-84_THT-SocketU1
1BAT54MatshitaPico_Library:SODFL3616X98ND2
1CDROM INTERFACE CD AUDIOConnector_JST:JST_PH_S3B-PH-K_1x03_P2.00mm_HorizontalJ3
1JP-BENCHJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1MBR120MatshitaPico_Library:SODFL3616X98ND1
1RaspberryPi_PicoMatshitaPico_Library:RaspberryPi_Pico_Common_no_wifiA1
1SN74CBTD16211DGGRMatshitaPico_Library:SOP50P810X120-56NU2

The 61 most common of 66 parts.

Similar boards

  • 2 layers85 × 115 mmOSO BOOK B1, the printed circuit board in 3D

    OSO BOOK B1

    joeycastillo/The-Open-Book

    For details on how to build, test and use Open Book, I've made documentation available here.

    76 parts8.1kCC-BY-SA-4.0
  • 2 layers80 × 107.5 mmMinino, the printed circuit board in 3D

    Minino

    ElectronicCats/Minino

    Minino is an original multiprotocol and multiband board made for sniffing, communicating, and attacking IoT devices. It was designed as a mini Cat that integrates the powerful ESP32C6, GPS, microSD and OLED.

    79 parts183GPL-3.0
  • 2 layers92.8 × 71.8 mmUSBSID Pico v1.3f, the printed circuit board in 3D

    USBSID Pico v1.3f

    LouDnl/USBSID-Pico

    USBSID-Pico is a RPi Pico (RP2040/W RP2350/W) based board for interfacing one or two MOS SID chips and/or hardware SID emulators over (WEB)USB with your computer, phone, ASID supporting player or USB midi controller

    116 parts125GPL-2.0
  • 2 layers87.5 × 77.5 mmPanel, the printed circuit board in 3D

    Panel

    jpconstantineau/NRF52-Board

    This Repository is a collection of NRF5x boards.

    143 parts100BSD-3-Clause
  • 2 layers59.2 × 41 mmBluey, the printed circuit board in 3D

    Bluey

    electronut/ElectronutLabs-bluey

    Nordic nRF52832 BLE development board with sensors.

    79 parts96
  • 2 layers22 × 66.5 mmKbxIrBlaster, the printed circuit board in 3D

    KbxIrBlaster

    kbx81/kbxIRBlaster

    ESP32-based IR MegaBlaster!

    106 parts58CC-BY-SA-4.0
  • 2 layers108 × 95.3 mmBlue Wizard, the printed circuit board in 3D

    Blue Wizard

    wizarddata/Blue-Wizard-Mod

    Bluetooth Controller for the Kinesis Advantage line of keyboards using the BlueMicro firmware

    47 parts38
  • 2 layers80.7 × 33.5 mmAmini, the printed circuit board in 3D

    Amini

    Ocelot-Offensive-Security/Arsenal

    40 parts36

Questions

How big is the MatshitaPico PCB?

It measures 218.4 × 110 mm and has 4 copper layers, 1.6 mm thick.

What parts does the MatshitaPico use?

66 parts, built around the 74LS245SC, 10067847-011RLF, BAT54 and MBR120. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the MatshitaPico KiCad files?

From the na103/MatshitaPico repository on GitHub, at the commit this page was made from: the board is kicad/MatshitaPico/MatshitaPico.kicad_pcb and its schematic kicad/MatshitaPico/MatshitaPico.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MatshitaPico design in my own project?

Its repository states no licence, so its author keeps all rights: ask na103 before reusing the design.