# Start here: the V810 in one page Phase 0 notes for `v810-python`. No emulator code exists yet. Every fact names its source by key and carries an evidence tag (methodology: DOC, OBSERVED, HYPOTHESIS, ...). | Key | Source | Tier | | --- | --- | --- | | ARCH | NEC, *V810 Family 32-bit Microprocessor User's Manual: Architecture*, U10082EJ1V0UM00, 1st ed., Oct 1995 (`reference/docs/`) | 2 | | HW | NEC, *V805, V810 User's Manual: Hardware*, U10661EJ5V0UM00, 5th ed., Sep 1996 | 2 | | DS | NEC, *µPD70732 (V810) Data Sheet*, U10691EJ3V0DS00, 3rd ed., Sep 1996 | 2 | | SEM | NEC V810 seminar handouts, 1995-02-21 (scans, no text layer; not yet read page by page) | 2 | | STS | Guy Perfect, *Virtual Boy Sacred Tech Scroll*, May 21, 2026, chapter "CPU - NVC/V810 Family Microprocessor" | 3 (hardware-corrected community document; no licence: facts only) | | PGN | pcfx-devel, *PC-FX_Programming_Notes* README (MIT) | 3 | | MAME | MAME 0.285 `v810` device, run as a closed box | 5 | Page numbers are the manual's printed numbers. The manuals are NEC's copyright with no licence: cited, never copied. ## The chip - **32-bit RISC, little-endian, 32 general registers** (r0 fixed to zero), PC with bit 0 fixed to 0, reset to FFFFFFF0h (DOC: ARCH 2.1, 9.1). Instructions are 16 or 32 bits in seven formats (DOC: ARCH 5.1). - **Register conventions the hardware imposes:** r26-r30 by the bit-string instructions, r30 by MUL/MULU (high word), DIV/DIVU (remainder) and CAXI (the lock value), r31 by JAL (DOC: ARCH 2.1, p. 6-7). r1-r5 are software conventions (address generation, handler stack, stack, global, text pointer). - **System registers** EIPC, EIPSW, FEPC, FEPSW, ECR, PSW, PIR, TKCW, CHCW, ADTRE (DOC: ARCH 2.2); on the Virtual Boy's NVC three more are live, 29, 30 and 31 (DOC: STS "System Registers"; Guy Perfect notes their origin is unknown). - **On-chip FPU instructions** on single-precision IEEE 754 values held in the general registers: CMPF.S, CVT.WS, CVT.SW, ADDF.S, SUBF.S, MULF.S, DIVF.S, TRNC.SW (DOC: ARCH appendix C). The TKCW trap enables are fixed; underflow and precision exceptions never occur (DOC: ARCH 2.2.6 and table 6-1 note 5). See [fpu-and-bitstrings.md](fpu-and-bitstrings.md). - **Bit-string instructions:** four searches (SCH0BSU/D, SCH1BSU/D) and eight transfers (MOVBSU, NOTBSU, ANDBSU, ANDNBSU, ORBSU, ORNBSU, XORBSU, XORNBSU) on bit fields in memory described by r26-r30; interruptible and resumable (DOC: ARCH 2.1, table 6-2). - **I/O space:** IN.x/OUT.x reach a separate 4 GB I/O space on the bus (status pins tell memory from I/O; DOC: ARCH 4.1, HW 2.3). The Virtual Boy maps I/O onto memory (DOC: STS "Specifications"); the PC-FX uses it (DOC: PGN "I/O Map"). - **1 KB direct-mapped instruction cache**, 128 entries of 8 bytes, 4-byte sub-blocks with a valid bit each, dump/restore/clear through CHCW (DOC: ARCH 2.2.7, ch. 7). No data cache. See [cache-and-timing.md](cache-and-timing.md). - **Pipeline:** "pipeline structure of 1 clock pitch", register and flag hazards interlocked by hardware (DOC: ARCH 1.1). NEC publishes per-instruction minimum clocks (ARCH 5.4) but **no stage-by-stage pipeline description**: see the unknowns. - **Bus:** 32-bit mode with dynamic bus sizing, or a 16-bit fixed mode chosen at reset by SIZ16B; a basic bus cycle of T1 + T2, stretched by READY (DOC: HW ch. 3). ## The two configurations the family needs | | Virtual Boy (NVC) | PC-FX (µPD70732) | | --- | --- | --- | | Clock | 20.0 MHz (DOC: STS "Specifications"; OBSERVED: MAME 20.00 MHz) | 21.47727 MHz, i.e. 6 x NTSC colour burst (OBSERVED: MAME 21.47 MHz; PGN "roughly 21MHz") | | Bus | 16 bits (DOC: STS) | **unknown** (U4) | | Extra instructions | CLI, SEI, MPYHW, REV, XB, XH (DOC: STS "Nintendo") | none known | | System registers 29-31 | live (DOC: STS) | not documented (U5) | | PIR | 00005346h (DOC: STS "PIR") | per ARCH 2.2 (to read on hardware: U6) | | I/O instructions | alias memory | separate I/O map | [variants.md](variants.md) has the details and the open questions. ## The order to read 1. [isa.md](isa.md): formats, groups, flags, exceptions, reset. 2. [fpu-and-bitstrings.md](fpu-and-bitstrings.md), [cache-and-timing.md](cache-and-timing.md), [variants.md](variants.md). 3. [validation.md](validation.md) and [mame-oracle.md](mame-oracle.md). 4. [handoff-brief.md](handoff-brief.md): scope, names, unknowns, rungs, domains and speed, open decisions.