# Start here: the PC-FX in one page Phase 0 notes for `pcfx-python`. No emulator code exists yet. Facts name their source by key and carry an evidence tag (methodology: DOC, MEASURED, OBSERVED, HYPOTHESIS, ...). | Key | Source | Tier | | --- | --- | --- | | T15 | Alex Marshall (trap15), *PC-FX(GA)* pages, 2011 (`reference/docs/trap15-pcfx/`, formerly daifukkat.su/pcfx). His credits page: "Source of most of this documentation, shamelessly copied and translated for myself" from **Buppu's Japanese PC-FX(GA) pages** (hp.vector.co.jp/authors/VA007898/pcfxga/, unreachable 2026-11-26) | 3 at best: no hardware-test statement; several "More information needed!" and "(?)" marks. No licence: facts only | | PGN | pcfx-devel, *PC-FX_Programming_Notes* README (MIT, 276ed1c) | 3 | | PFI | pcfx-devel, *PC-FX_Info* (MIT, 45b5591): controllers with logic-analyser traces, FX-BMP, the main board's part data sheets, the HuC6270 pinout | 1 for the pad traces (MEASURED), 3 for the rest | | LIB | trap15, *liberis* headers (MIT, 488295a); its README says which parts were tested on hardware | 3 | | HUD | Hudson's HuC6270 manual as pinned by `../pcengine-python` (the MiSTer repository's `docs/`) | 2 | | MAME | MAME 0.285 `pcfx`, run as a closed box (`nec/pcfx.cpp` and the HuC627x/HuC6261/HuC6230/intc devices carry BSD-3-Clause lines) | 5 | | MLIST | MAME 0.285 `hash/pcfx.xml` (CC0-1.0) | data | **No NEC or Hudson document for the KING (HuC6272), the Rainbow (HuC6271), the HuC6261 or the HuC6230 has been found in public.** The PC-FXGA developer manuals existed (PFI's multitap notes cite "the developers manuals") but are not available with any licence. This board's knowledge of its custom chips is therefore **tier 3 and thin**; see [validation.md](validation.md). ## The machine | Part | Chip | Docs | | --- | --- | --- | | CPU | NEC V810 (µPD70732), 21.47727 MHz (OBSERVED: MAME 21.47 MHz) | `../v810-python` | | RAM | 2 MB main RAM (PGN); 32 KB internal backup RAM, optional FX-BMP card (PGN, T15 "Backup Memory") | [memory-map.md](memory-map.md) | | BIOS | 1 MB at FFF00000h (PGN); two versions + the PC-FXGA's (census) | [census.md](census.md) | | Sprite/tile video | **two HuC6270 "7up" VDCs** (A and B), each with its own VRAM | [video.md](video.md) | | Background video, DMA hub | **HuC6272 "KING"**: four backgrounds (one with rotation and scaling) fetched by a microprogram from 1 MB KRAM; the SCSI controller; ADPCM and Rainbow transfers | [king.md](king.md) | | Motion pictures | **HuC6271 "Rainbow"**: decodes a JPEG-like compressed stream from KRAM | [video.md](video.md) | | Mixer, palettes | **HuC6261 ("NEW Iron Guanyin", liberis's "tetsu")**: YUV palettes, layer priority, chroma key, "cellophane" blending, the raster and the video timing | [video.md](video.md) | | Sound | **HuC6230 "SoundBox"**: a PC Engine-style six-channel PSG, two ADPCM channels fed by the KING, the CD-DA volume | [sound.md](sound.md) | | CD-ROM | a SCSI CD-ROM drive (double speed: HYPOTHESIS, U20) on the KING's SCSI bus | [cdrom.md](cdrom.md) | | Glue | interrupt controller (8 levels onto the V810's 16), timer, two pad ports | [memory-map.md](memory-map.md) | The PC-FXGA (an ISA/C-bus board for PCs) adds the HuC6273 "Aurora" 3D chip on some boards (T15 "HuC6273"; PGN): out of scope (open decision 7). ## Modelling level (charter axis B), proposed | Component | Level | Why | | --- | --- | --- | | V810 | instruction, bus transactions | v810-python | | HuC6270 x2 | per dot, as pcengine-python's VDC | the family's existing core | | KING backgrounds | per dot within a line, the microprogram's fetch slots modelled | T15 documents the microprogram; its timing is unknown | | HuC6261 | per dot | documented registers, "takes effect on every new line" notes | | Rainbow | functional (decode a block, output its pixels) until the format is understood | nothing documents the decode (rainbow section of video.md) | | HuC6230 | per sample, the PSG at its own clock | pcengine-python's PSG | | CD drive | transaction (SCSI phases with timing), like pcenginecd-python | the family's existing model shape | ## The order to read [memory-map.md](memory-map.md), [video.md](video.md), [king.md](king.md), [sound.md](sound.md), [cdrom.md](cdrom.md), [chip-rule.md](chip-rule.md), [census.md](census.md), [domains-and-speed.md](domains-and-speed.md), [validation.md](validation.md), [mame-oracle.md](mame-oracle.md), [handoff-brief.md](handoff-brief.md).