# Start here: the machine on one page The Magnavox Odyssey 2 (US, 1978-79), sold in Europe as the Philips Videopac G7000, is a single-board console built round two Intel chips: an **Intel 8048** microcontroller whose 1 KB mask ROM is the console BIOS, and a custom **Intel 8244** (NTSC) or **8245** (PAL) video and sound chip. Philips's **Videopac+ G7400** (1983) adds a second video chip pair, the Thomson **EF9340 + EF9341**, behind the 8245's picture. **The Voice** is a speech module (a General Instrument **SP0256** with external speech ROM) that plugs into the cartridge port and passes the cartridge through. Era 1 in the charter's table: one main clock domain, cycle level everywhere, Python runs the tests and Rust plays. Abbreviations of the sources used through these documents are in [sources.md](sources.md): I8245 (Intel's product specification, 1978), VG003 (Philips's programming course), BORIS, GUST, SPDS/SPIS/SPAL2 (the SP0256), GPDB (the EF9345 data book), MAME (closed box, run only). ## Block diagram ``` crystal --+-- /2 (NTSC) or /5 (PAL) --> 8244/8245 CLK 3.58 / 3.55 MHz +-- x3/4 (NTSC) or /3 (PAL) --> 8048 XTAL 5.37 / 5.91 MHz (machine cycle = XTAL/15) 8048 (BIOS in its 1 KB ROM, 64 B RAM, timer/counter) | DB0-7 multiplexed address/data, ALE, /RD, /WR, /PSEN, P2.0-3 = A8-A11 |-- /PSEN ----------------> cartridge ROM (A0-A9, A11; A10 not wired; P1.0/P1.1 = bank bits) |-- MOVX, P1.3=0 ---------> 8244/8245 (256 addresses: objects, grid, control, sound) |-- MOVX, P1.4=0 ---------> 128 B external RAM (P1.6 gates RAM write / VDC read: "copy mode") |-- MOVX, P1.5=0 ---------> EF9340/41 (G7400 only) |-- P1.2=0, P2.0-2 -------> keyboard scanner (row select), joysticks onto the bus (INS A,BUS) | P2.4-7 <--------------- keyboard: key-pressed flag and column | INT <----------------- 8244 IRQ (VBL; horizontal and sound interrupts if enabled) | T1 <----------------- 8244 blanking (event-counter input; line interrupts) | T0 <----------------- cartridge pin 1 (The Voice's SP0256 LRQ) | P1.7 ------------------> luminance forcing on the 8244's output 8244 --> R, G, B, L, sound --> RF modulator (PAL: extra sync logic, the 8245 runs as a slave) ``` Sources: BORIS 1.1-1.2, 2.0, 3.0, 5.0; GUST 13.3, 16.1; I8245 pin list; VG003 ch. II sec. 1 block diagrams (pp. 4-6 of the scan). The P1.6 and P1.5 roles are from GUST 16.1 only (tier 3). Every line of this diagram is to be checked against the VG003 schematic page before milestone 1 (U1 in the brief). ## Clocks and frames | | Odyssey 2 (NTSC) | Videopac G7000 (PAL) | Source | | --- | --- | --- | --- | | crystal | 7.15909 MHz | 17.734476 MHz | GUST 13.3 | | 8244/8245 clock | 3.579545 MHz (/2) | 3.546895 MHz (/5) | GUST 13.3; MAME -listxml | | 8048 XTAL | 5.369317 MHz | 5.911492 MHz | GUST 13.3; MAME -listxml | | machine cycle | 357,954 Hz (2.79 us) | 394,099 Hz (2.54 us) | XTAL/15 (MCS-48 UM) | | VDC clocks per line | 227.5 | 228 | MAME htotal 455/456 half-clocks; GUST's X counter wraps after E3h (228 counts) | | machine cycles per line | 22.75 | 25.33 | derived; GUST: 22.8, 25.3 | | lines per frame | 263 (MAME) / 262 (BORIS, GUST) | 313 (MAME) / 312 (GUST) / "313 or 312" (I8245) | C3 in the brief | | frame rate | 59.83 Hz | 49.70 Hz | MAME | | machine cycles per frame | **5983** | **7929** | MEASURED on MAME's trace: spacing of the BIOS's external-interrupt entries (docs/mame-oracle.md) | The Videopac+ G7400 "uses different clock sources for CPU and VDC, so there is no fixed relationship" (GUST 13.2); MAME gives it 5.911 MHz and 3.5468 MHz. The French C52 and the Jopac are rows of their own in MAME (5.937333 / 3.5624 MHz and 5.911 / 3.5468 MHz). ## The machines (rows) | Row | MAME | BIOS SHA-1 | Video | Notes | | --- | --- | --- | --- | --- | | `odyssey2` | odyssey2 | b2e1955d...4cee | 8244 | NTSC, US | | `g7000` | videopac | b2e1955d...4cee (same image) | 8245 | PAL, Europe | | `c52` | videopacf | a6120aed...452e | 8245 | France (Radiola/Schneider/Philips C52) | | `g7400` | videopacp | 51302434...fbae | 8245 + EF9340/41 + 8243 | Videopac+; later row | | `jopac` | jopac | 54b8d2c1...75e4 | 8245 + EF9340/41 | Brandt's G7400 (France); GUST thinks it SECAM | | `odyssey3` | odyssey3 | 0a38c5f2...15dc | 8244 + EF9340/41 | NTSC G7400 prototype | Full hashes and where they were found: [census.md](census.md). ## Modelling levels (axis B), proposed | Part | Level | Why | | --- | --- | --- | | 8048 | cycle (machine cycle, with the bus strobe's place in it) | MOVX timing against the beam is visible: mid-line register writes, X/Y latch, collisions | | 8244/8245 | cycle (per VDC clock, half-clock horizontal resolution) | I8245's X9 bit and sprite shifts are 140 ns steps; collisions are per dot | | EF9340/41 | cycle per character slot, to start | no die evidence; its data sheet is still owed | | SP0256 | cycle of its own clock for the sequencer; per sample for the filter | LRQ timing is visible on T0 | | keyboard, joysticks, RAM, cartridges | functional at the bus | | ## Where to read next [cpu-mcs48.md](cpu-mcs48.md), [vdc-8244.md](vdc-8244.md), [inputs-cartridges-bios.md](inputs-cartridges-bios.md), [the-voice.md](the-voice.md), [videopac-plus.md](videopac-plus.md), then the brief.