# Start here: the NEC PC-8801 series in one page Facts carry their source's short name (docs/sources.md) and, where it matters, an evidence tag: DOC (a document says so), OBSERVED (seen in a MAME run, tier 5), HYPOTHESIS. ## The machines (rows) | Row | Model | Year | What changes (DOC where cited; the rest common knowledge to check) | MAME driver (OBSERVED) | | --- | --- | --- | --- | --- | | `pc8801` | PC-8801 | 1981 | Z80 4 MHz, uPD3301 + uPD8257 text, 640 x 200 3-plane graphics, N-BASIC and N88-BASIC (V1), beeper; disk units external (PC-80S31) | `pc8801` | | `mk2` | PC-8801mkII | 1983 | kanji level-1 ROM on board, internal drives on some models | `pc8801mk2` | | **`mk2sr`** | **PC-8801mkII SR** (and TR) | 1985 | **OPN (YM2203)**, N88-BASIC V2, analogue palette (512 colours: YK-IO 54h-5Bh), port 32h decoded from the SR on (YK-IO), the V1S/V1H/V2 modes | `pc8801mk2sr` | | `mk2fr`, `mk2mr` | mkII FR, MR | 1985 | cost-down FR; MR with 2HD drives and the PC-80S31K-type disk ROM (MAME's `m2mr_disk.rom`) | `pc8801mk2fr`, `pc8801mk2mr` | | **`fh`**, `mh` | PC-8801FH, MH | 1986 | **8 MHz uPD70008C-8** with a 4 MHz mode (FHPG p. "本機の特長"); **OPN** by NEC's own FH guide (C1); RS-232C baud register 6Fh (YK-IO) | `pc8801mh` only (no FH driver in MAME 0.285) | | **`ma`**, `ma2`, `fa`, `mc` | PC-8801MA, MA2, FA, MC | 1987-1989 | **OPNA (YM2608)** (MAPG ch. 14), 128 KB expansion RAM on the M models (YK-IO E2h/E3h), dictionary ROM (MA), CD-ROM (MC) | `pc8801ma`, `pc8801ma2`, `pc8801fa`, `pc8801mc` | | (not in scope) | PC-88VA | 1987 | a different machine (uPD9002, V30-compatible) | `pc88va` | The brief's scope: **mkII SR first; FH and MA as rows**, with the earlier models as V1-mode rows. The 8 MHz FH/MA rows need the main CPU's clock switch (port 6Eh reads the setting: YK-IO). ## Clocks - Main Z80: MAME 3.99 MHz on every driver (OBSERVED, `-listdevices`); the FH/MA's 8 MHz is a DIP-selected mode (FHPG, MAPG: "動作クロックスイッチ 8MHz/4MHz"; port 6Eh bit 7, YK-IO). - Disk unit Z80: MAME 4.00 MHz (OBSERVED; `pc80s31:fdc_cpu`); uPD765A @ 8.00 MHz (OBSERVED). - uPD3301 and the screen: MAME 14.31 MHz (OBSERVED); uPD8257 and the 8214 at the CPU clock. - OPN @ 3.99 MHz on `pc8801mk2sr`, OPNA @ 7.98 MHz on `pc8801ma` (OBSERVED). - uPD1990A calendar @ 32.768 kHz (OBSERVED). ## The chips and where each lives | Chip | Role | Family core | Doc | | --- | --- | --- | --- | | Z80 (main; uPD70008C-8 on FH+) | main CPU | `../z80-python` | cpus-and-disk-subsystem.md | | Z80 (disk unit) | runs the disk ROM, drives the uPD765A | `../z80-python` (a second instance, its own domain) | cpus-and-disk-subsystem.md | | 8255 x 2 (cross-wired) | the main-disk link (FCh-FFh on each side) | in board; `i8255-python` discussion | cpus-and-disk-subsystem.md | | uPD765A | floppy controller (in the disk unit) | in board; `upd765-python` discussion | cpus-and-disk-subsystem.md | | uPD3301 | CRTC with attributes (text) | in board | video.md | | uPD8257 | DMA: text from main RAM to the CRTC (channel 2) | in board; dkong-python has an 8257 in board too | video.md | | YM2203 (OPN) / YM2608 (OPNA) | sound (SSG = YM2149-compatible) | new core (decision 2) | sound.md | | i8214 | interrupt priority (8 levels) | in board | interrupts-and-peripherals.md | | uPD8251 | USART (RS-232C, cassette) | in board | interrupts-and-peripherals.md | | uPD1990A | calendar clock | in board | interrupts-and-peripherals.md | ## Reading order [io-map-and-memory.md](io-map-and-memory.md), [cpus-and-disk-subsystem.md](cpus-and-disk-subsystem.md), [video.md](video.md), [sound.md](sound.md), [interrupts-and-peripherals.md](interrupts-and-peripherals.md), [reuse.md](reuse.md), [domains-and-speed.md](domains-and-speed.md), [validation.md](validation.md), [mame-oracle.md](mame-oracle.md), [census.md](census.md), [sources.md](sources.md), [provenance.md](provenance.md), then [handoff-brief.md](handoff-brief.md). ## Source short names YK-IO, YK-MEM, YK-DISK and the other YK pages (youkan's "PC-8801覚え書き"), FHPG and MAPG (NEC's FH and FA/MA programmer's guides), KAISEKI and GAMEPROG (third-party books), YM2203, OPNAM (Yamaha's OPN application manual), OPNA and OPNA-J (the YM2608 manual), NEC82 (uPD765A, 8251, 8255A, 8257), UPD765 and UPD765AN, I8275. Terms: [sources.md](sources.md).