# Start here: the Commodore PET/CBM The PET (1977) is Commodore's first computer: a 1 MHz 6502, static or dynamic RAM, a built-in monochrome monitor showing 40 (later 80) columns of characters from a character ROM, a keyboard scanned through a 6520 PIA, cassette ports, a 6522 VIA on the user port, and an **IEEE-488 bus** to intelligent disk drives and printers, each drive a computer with its own processors and firmware. There is no bitmap, no colour, and no sound chip (sound is a speaker on the VIA's CB2 on later boards). It is era 1: one clock domain on the computer side, cycle level everywhere, "Python runs the tests, Rust plays". The line, as this repository plans it (rows of one board, `pet-python`): | Row | Models | Board (Commodore assembly) | Video | BASIC | | --- | --- | --- | --- | --- | | `pet2001` | PET 2001-4/-8 (chiclet keyboard) | static board 320008 (and 320081/320132/320137 variants) | discrete TTL, 40 x 25, 60 Hz | 1.0 (and 2.0 by ROM swap) | | `pet2001n` / `pet2001b`, `cbm3008/16/32` | 2001-N, 2001-B, 3000 series | dynamic board 320349 | discrete TTL, 40 x 25, 60 Hz | 2.0 (4.0 as upgrade) | | `pet4016` / `pet4032` | 4000 series, 9" screen | dynamic board 320349 | discrete TTL | 4.0 (no-CRTC editor) | | `pet4032f` | 4000 series, 12" "fat 40" | a CRTC board, the "universal" board by the zimmers notes (assembly number not pinned: U3) | 6545/6845 CRTC, 40 columns | 4.0 | | `pet8032` / `cbm8032`, `superpet` | 8000 series, SuperPET SP9000 | 80-column board (logic diagram 8032029 rev F, 11 sheets), later the universal board | 6545 CRTC, 80 columns | 4.0 | | `cbm8096`, `cbm8296` | 8096, 8296 | 8032 board + 64K expansion; 8296 board | CRTC, 80 columns | 4.0 | | later: `b`/`p` (a second board, `cbm2-python`?) | CBM-II: B128/B256/610/620/710/720, P500 | its own design: 6509, 6526, 6525s, 6551, SID, 6545 or VIC-II | | 4.0+ | The CBM-II is a different machine sharing the name and the IEEE-488 bus; [cbm-ii.md](cbm-ii.md) says why it should be a separate board. ## Evidence tags (methodology) MEASURED, DIE, TEST ROM, DOC, OBSERVED, FITTED, HYPOTHESIS. In these pages: **DOC** is a Commodore or MOS document cited by short name and page (list in [sources.md](sources.md)); **OBSERVED** is MAME 0.285 run as a closed box (a detector, never a judge); **TEST ROM** is a VICE test program whose readme states a real-machine result. No hardware is on hand and no die analysis of any PET chip is known to us: there is no tier-1 oracle for the PET's own logic (validation.md). ## The map of these pages - [machines-and-boards.md](machines-and-boards.md): the four mainboards, the memory map, ROM sockets - [io.md](io.md): the two PIAs and the VIA, keyboard, cassette, user port, sound, the shared chip cores - [video.md](video.md): the 2001's discrete video and the CRTC boards - [ieee488-drives.md](ieee488-drives.md): the bus, the 2031 and the 2040/4040/8050/8250 family - [cbm-ii.md](cbm-ii.md): the B/P series as a later, separate board - [domains-and-speed.md](domains-and-speed.md): domains, channels, arithmetic, the no-JIT path - [validation.md](validation.md), [mame-oracle.md](mame-oracle.md), [census.md](census.md) - [sources.md](sources.md), [provenance.md](provenance.md) - [handoff-brief.md](handoff-brief.md): what to build, and the open decisions