# The Interton VC 4000 family and the 2636 PVI: a row or a sibling board? ## The VC 4000 in brief | Part | What it is | Source | | --- | --- | --- | | CPU | 2650 at 887 kHz: an 8.867238 MHz crystal, divided for the PVI's pixel clock and by four again for the CPU | WB "Console Hardware"; MAME 886.71 kHz (OBSERVED) | | Video and sound | Signetics 2636 PVI: four objects (10-line shapes) with duplicates, a background grid of bars, two two-digit scores, one square-wave tone, two A/D inputs, chip selects, 37 bytes of scratch RAM | PVI 1; WB "2636 PVI" | | Memory | cartridge ROM (13 address lines: 8 KB space), PVI at 1F00-1FFF (control registers 1FC0-1FCF mirrored at 1FD0, 1FE0, 1FF0) | WB | | Effects | a 74LS378 latch: PVI audio on/off, white noise, explosion, four volume levels, a colour-invert bit | WB "Console Hardware" | | Inputs | keypad and console buttons through a 74LS258/74LS156 matrix; joysticks on two pots each, switched by the FLAG output through a CD4053 | WB | | Interrupt | from the PVI, with a vector, to 0003; SENSE = VRST (vertical blank) | WB | MAME runs the VC 4000 at 50 Hz, 312 lines, 226 x 312 total at 3.5256 MHz (OBSERVED, `mame -listxml vc4000`). The Elektor TV Games Computer is the same design with a 2 KB monitor ROM (MAME `elektor`, SHA-1 in [census.md](census.md)) and a cassette interface. ## The chip rule and the PVI The PVI's users: the VC 4000 family (25 machines), the Elektor TVGC, and arcade boards in MAME 0.285 (OBSERVED, `mame -listdevices`): Zaccaria Galaxia (three PVIs), Astro Wars (one), Laser Battle (three, at 4.77 MHz), Quasar (three), Sea Battle (one), Dodgem (one), Century CVS boards (three), Kitronix Malzak (two). MAME models the arcade PVI as one BSD-3 device (`machine/s2636.cpp`, Vas Crabb) but the VC 4000's PVI inside its GPL driver (`interton/vc4000_v.cpp`), a sign that the consoles' use of the chip was never unified there. ## Weighing | | As a machine row of arcadia2001-python | As a sibling board `vc4000-python` | | --- | --- | --- | | shared code | the CPU (pinned core either way), cartridge loading by SHA-1 | the same | | different | video chip (UVI vs PVI: nothing shared), memory map, sound, inputs, effects latch, video standard | | | the chip rule | the PVI inside the Arcadia board would be a second, unrelated video chip in one board | the PVI lives in its own board; it moves to `s2636-python` when a Zaccaria or CVS board arrives | | family precedent | rows differ by constants (BIOS, region, PLL) | sega32x / segacd: different hardware, different repositories | **Recommendation (open decision 3): a sibling board `vc4000-python`** (with the Elektor TVGC as a row), started after `arcadia2001-python` reaches its M3, pinning `s2650-python`. This repository keeps the groundwork: the pinned PVI data sheet, the WB pages, the VC 4000 census and the MAME recipe (`--driver vc4000`). ## PVI facts worth carrying (for that board) - Objects: 10 lines of 8 bits, horizontal and vertical coordinates, and a duplicate with its own horizontal coordinate and vertical offset (WB "2636 PVI"; PVI 1: "object duplication permitting generation of up to 80 object images on the screen"). - Control registers at 1FC0 (sizes, colours, score format and position), mirrored three times; the background grid at 1F80 (vertical bars) and 1FA8 (horizontal extensions) (WB). - GUIDE's notes on the PVI that read as real-hardware observations: "Gridlines that are the same colour as the background (ie. invisible) don't register collisions. This seems to be the correct behaviour"; "the real PVI probably doesn't involve the digits in collision detection" (inferred from Elektor games' behaviour). Tier 3 with the hedges kept. - GUIDE's unresolved questions for the PVI: its register latching points, bus contention ("each time the PVI accesses memory the CPU is blocked"), startup state, mirroring, the undocumented 2650 instructions.