Skip to the content
2 layers100 × 100 mmLayouts, the printed circuit board in 3D

Framebuffer-less retro PC analog RGB capture: ADC → FPGA → UDP/GbE → PC/Mac reconstruction (X68000, PC-98)

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
27
Pads
123
Tracks, vias
35, 10
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
25 Jul 2026
Updated
6 Nov 2026

Overview

Layouts is an open-source printed circuit board by kunichiko, from the kunichiko/RetroCastX repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 100 × 100 mm with 45 parts on 27 nets, routed with 35 tracks and 10 vias.

Its parts include 13 resistors, 9 capacitors, 7 connectors, 5 diodes and 1 IC. It belongs with the lEDs and displays boards of this library.

README

README.md

RetroCastX

RetroCastX

レトロPC(X68000 / PC-98 など)のアナログRGB信号を、フレームバッファレスで PC/Mac に伝送・表示するプロジェクト。

text
Retro PC ──アナログRGB──▶ ADC(TVP7002) ──24bit+PCLK──▶ FPGA(ECP5) ──UDP/GbE──▶ PC/Mac(再構成・表示)

設計思想

一般的なアップスキャンコンバータは変換器内でフレームバッファを構築し標準的なHDMI信号に整形するため、 機種固有のタイミング情報が失われ、遅延・モード切替時のブラックアウト・価格の問題が生じる。

RetroCastX は「変換器は馬鹿に徹し、知性はPC側に置く」:

  • ADC でドットクロックを再生してサンプリングした生のピクセルデータを、タイミング情報ごと 「1パケット≒1ライン」の UDP で送出する(FPGA はラインFIFO程度しか持たない)
  • フレームの再構成・スケーリング・表示は PC/Mac 側で行う

これにより:

  • 生タイミング保存: VRR対応モニタなら 55.46Hz(X68000)等の非標準リフレッシュをそのまま表示可能
  • モード切替の無切断追従: ゲーム中の解像度切替もヘッダ通知で追従
  • 真のロスレス: 8bit で取得し PC 側でパレット吸着(X68000 は本来 RGB 各5bit)
  • 低遅延: サブフレーム(ライン単位)伝送
  • 安価: フレームバッファ用メモリも高度な画像処理も変換器側に不要

リポジトリ構成

text
docs/
  protocol-v0.md    伝送プロトコル仕様 v0(ドラフト)
  research/         部品・ボード調査レポート
gateware/           FPGA側(LiteX / Colorlight i5)※sim検証済み、実機未検証
hardware/           ADCフロントエンド基板(Atopile、HAT形式)
host/python/        PC側リファレンス実装(送信シミュレータ・受信・検証)
client/             ビューアアプリ(Rust + eframe/egui、Mac/Win/Linux)

クイックスタート(ハードウェア不要)

送信シミュレータと受信器をループバックで動かす:

sh
cd host/python
python3 -m retrocastx.tests.test_loopback   # プロトコルのE2E検証
python3 -m retrocastx.tests.test_videoin    # コンポジットの波形解析(合成波形で検証)
python3 -m retrocastx.tests.test_ntsc       # NTSC復調(合成6色で真値と照合)
python3 -m retrocastx.sender_sim &          # テストパターンをUDP送出
python3 -m retrocastx.receiver --dump out   # 受信して out/frame_NNNN.ppm に保存

ハードウェア(フェーズ1〜2 想定)

役割部品備考
FPGAボードColorlight i5 + 拡張基板ECP5-25F、GbE PHY ×2、SODIMM I/O 直結
ADCTI TVP7002OSSC と同一。15/24/31kHz 実証済み。ブレークアウト自作
参考回路marqs85/ossc_pcbアナログ入力段・TVP7002 周辺

調査の詳細は docs/research/2026-07-25-hardware-survey.md を参照。

ステータス

  • 構想・部品調査
  • プロトコル v0 ドラフト(映像 LINE/MODE + 音声 AUDIO + 発見/購読 + CONFIG)
  • PC側リファレンス実装(シミュレータ + 受信器)
  • LiteX ゲートウェア step2(テストパターン送出+購読) — sim検証・ビットストリーム生成済み
  • TVP7002 ブレークアウト設計(音声3系統・ArgusX制御含む、電気設計検証まで)
  • ビューアアプリ雛形(Rust + eframe、sender_sim相手にE2E確認済み)
  • ゲートウェア実機動作(ボード入手待ち)
  • 基板発注(atopile部品API復旧後にフットプリント紐付け)
  • 音声キャプチャ(gateware step4)・音声再生(client)
  • 実機キャプチャ(X68000 / PC-98)

ライセンス

ディレクトリごとに異なります。

対象ライセンス
gateware/ client/ host/Apache License 2.0
hardware/CERN-OHL-S-2.0(強い相互性のオープンハードウェアライセンス)
docs/CC BY-SA 4.0

hardware/ の CERN-OHL-S-2.0 は、この設計を元に製品を作って頒布・販売する場合、 改変を含む設計一式(Complete Source)を公開し、製品または同梱文書に入手先を明記する ことを求めます。個人が自分用に作る分にはこの義務は発生しません。

ライセンスの対象外となるファイル(部品メーカーのデータシート、ベンダー由来の KiCad シンボル・フットプリント等)については NOTICE を参照してください。

商標

"RetroCast X"(正式名称)および "RetroCastX"(ファイル名・識別子・ ハッシュタグ等で用いる短縮形)の名称、ロゴ、アイコン、基板シルク上のブランド 表記は、上記いずれのライセンスの許諾範囲にも含まれません (Apache License 2.0 第6条)。空白の有無・大文字小文字の違いを問いません。

フォークや派生ハードウェアを頒布する場合は、別の名称を用いてください。

ハードウェアの製造を検討されている方へ

本設計に基づくハードウェアの製造・頒布を計画されている場合、事前にご一報 いただけると嬉しいです。ライセンス上の義務ではありませんが、既知の問題や 実装上の落とし穴を共有できますし、改善を上流に取り込める場合もあります。

コントリビューション

歓迎します。手順と DCO(Signed-off-by)については CONTRIBUTING.md を参照してください。特に手元の実機での動作報告が助かります。

Parts

45
QtyValueFootprintReferences
910kΩ ±1%UNI_ROYAL_0603WAF1002T5E:R0603R1, R3, R5, R7, R9, R10, R11, R12, R13
7100nF ±10%YAGEO_CC0603KRX7R9BB104:C0603C2, C3, C5, C6, C7, C8, C9
5_mech:MountingHole_3.2mm_M3_PadH1, H2, H3, H4, H5
5_mech:RCA105J2, J3, J4, J5, J6
475Ω ±1%UNI_ROYAL_0603WAF750JT5E:R0603R2, R4, R6, R8
3_mech:Fiducial_1mm_Mask2mmFID1, FID2, FID3
2XINGLIGHT_XL_2020RGBC_2812B:LED-SMD_4P-L2.0-W2.0-BR-1LED1, LED2
2_mech:TestPoint_TH1TP1, TP2
2ROHM_EMZT6_8ET2R:EMT6_L1.6-W1.2-P0.50-LS1.6-BLD2, D3
210µF ±10%SAMSUNG_CL21A106KAYNNNE:C0805C1, C4
1_mech:MJ373_4BJ7
1HDGC_0_5K_1_5_20PWB:FPC-SMD_20P-P0.50_HDGC_0.5K-1.5-20PWBJ1
1ST_1N4148W:D_SOD-123D1
1TI_TS5A23159DGSR:VSSOP-10_L3.0-W3.0-P0.50-LS4.9-BLU1

More from kunichiko/RetroCastX

1
  • 4 layers100 × 100 mmLayouts, the printed circuit board in 3D

    Layouts

    kunichiko/RetroCastX

    Framebuffer-less retro PC analog RGB capture: ADC → FPGA → UDP/GbE → PC/Mac reconstruction (X68000, PC-98)

    205 parts4Apache-2.0

Similar boards

  • 2 layers30 × 61.3 mmModuleV440, the printed circuit board in 3D

    ModuleV440

    stuartpittaway/diyBMSv4

    Version 4 of the diyBMS

    45 parts1.1k
  • 2 layers97 × 78.5 mmDumbpad, the printed circuit board in 3D

    Dumbpad

    imchipwood/dumbpad

    Simple 4x4 numpad with rotary encoder. Powered by QMK via ATmega32u4 Pro Micro

    45 parts517GPL-2.0
  • 2 layers49.8 × 88.9 mmLDG WING FOLD PLACARD, the printed circuit board in 3D

    LDG WING FOLD PLACARD

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    45 parts431
  • 2 layers26.5 × 34.4 mmPicoLoaderNSB, the printed circuit board in 3D

    PicoLoaderNSB

    makeo/PicoLoader

    A cheap and easy to install modchip for the Nintendo GameCube!

    45 parts320GPL-2.0
  • 2 layers40.2 × 19 mmOMGS3 Carrier R1, the printed circuit board in 3D

    OMGS3 Carrier R1

    UnexpectedMaker/esp32s3

    Assorted files for my ESP32-S3 development boards

    45 parts296
  • 2 layers63.5 × 63.5 mmMain pcb, the printed circuit board in 3D

    Main pcb

    peterkrull/quad

    Firmware, hardware and documentation for my autonomous quad copter project

    45 parts210GPL-3.0
  • 2 layers99.1 × 81.9 mmRC6502 Terminal, the printed circuit board in 3D

    RC6502 Terminal

    tebl/RC6502-Apple-1-Replica

    An expandable SBC-version of the Apple 1 computer, easy to get started with and lot of cool stuff that can be added to it!

    45 parts193GPL-3.0
  • 2 layers116.1 × 94.7 mmMiniDox, the printed circuit board in 3D

    MiniDox

    That-Canadian/MiniDox_PCB

    MiniDox Keyboard, PCB files

    45 parts169WTFPL

Questions

How big is the Layouts PCB?

It measures 100 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Layouts use?

45 parts. 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 Layouts KiCad files?

From the kunichiko/RetroCastX repository on GitHub, at the commit this page was made from: the board is hardware/console-frontend/layouts/default/default.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Layouts design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).