# Census (2026-11-26) Commands (hashing and listing only; no emulator ran over a library): ```sh MAME_ROMPATH=... python -I scripts/census.py firmware # 64 sets, 421 ROM entries MAME_HASHPATH=... python -I scripts/census.py softlists # 11 software lists NO_INTRO_DIR=... PET_SOFTWARE_DIRS=... python -I scripts/census.py software ``` The full firmware table is regenerated into `reference/census/firmware.md` (git-ignored); the rows that matter for the first milestones are below. Firmware is identified by SHA-1, never copied, never committed. ## Software | Where | What | Count | | --- | --- | --- | | NO_INTRO_DIR | no PET or CBM folder (No-Intro has Amiga, C64, Plus-4 and VIC-20 only) | 0 | | REDUMP_DIR | not applicable (no PET discs) | 0 | | MAME software lists (`MAME_HASHPATH`, CC0-1.0) | `pet_cass` 226 entries (234 parts), `pet_flop` 37 (96 5.25" parts, 1 8", 2 ROM), `pet_rom` 36 (13 at $A000, 20 at $9000, 3 at $B000, 1 other), `superpet_flop` 23, `pet_hdd` 3, `pet_quik` 2, `cbm8096_flop` 2, `cbm8296_flop` 3, `cbm2_flop` 139, `cbm2_cart` 5, `p500_flop` 2 | metadata only: **no software-list image sets on this machine** (no `pet_*` folder under MAME_ROMPATH) | | MiSTer database `Games/PET2001.zip` (one inner zip), via `PET_SOFTWARE_DIRS` | 308 `.prg` files, flat; load addresses $0401: 279 (BASIC programs at the PET's BASIC start), $0400: 15, $033A: 6 (the second cassette buffer), $0801: 4 (C64 programs mislabelled, HYPOTHESIS), $027A: 3, $0300: 1; sizes 770 to 28,738 bytes, median 5,181 | 308 | So the PET's software on this machine is one hobbyist PRG collection; a smoke list is the banners plus a handful of these PRGs loaded by a host helper (quickload), later tapes and disks from wherever Aubrey's sets come. ## Firmware: MAME sets (MAME_ROMPATH) All **64 sets** (35 PET/CBM machines, 13 CBM-II, 16 devices: drives, the SuperPET board, the HSG board) are present with **all 421 ROM entries matched by SHA-1** (the set's own zip or its parent's). ### The first rows | Row | ROM (MAME name: part number, socket) | Size | SHA-1 | | --- | --- | --- | --- | | `pet2001` (BASIC 1) | 901447-01.h1 ($C000) | 2048 | `831db40324113ee996c434d38b4add3fd1f820bd` | | | 901447-09.h1 (alternate) | 2048 | `1330580c0614d3556a389da4649488ba04a60908` | | | 901447-02.h5 ($C800) | 2048 | `70c0f4fa67a70995b168668c957c3fcf2c8641bd` | | | 901447-03.h2 ($D000) | 2048 | `4bf2c20c51a63d213886957485ebef336bb803d0` | | | 901447-04.h6 ($D800) | 2048 | `d293972d529023d8fd1f493149e4777b5c253a69` | | | 901447-05.h3 ($E000) | 2048 | `f02f5fb492ba93dbbd390f24c10f7a832dec432a` | | | 901447-06.h4 ($F000) | 2048 | `960717282878e7de893d87242ddf9d1512be162e` | | | 901447-07.h7 ($F800) | 2048 | `d440f2510bc52e20c3d6bc8b9ded9cea7f462a9c` | | | 901447-08.a2 (characters) | 2048 | `3e067cc621e4beafca2b90cb8f6dba975df2855b` | | `pet2001n` (BASIC 2, N keyboard) | 901465-01.ud6 ($C000) | 4096 | `3622111f486d0e137022523657394befa92bde44` | | | 901465-02.ud7 ($D000) | 4096 | `1bc0ebf27c9bb62ad71bca40313e874234cab6ac` | | | 901447-24.ud8 (editor, $E000) | 2048 | `5e5502ce32f5a7e387d65efe058916282041e54b` | | | 901465-03.ud9 (KERNAL, $F000) | 4096 | `38742bdf449f629bcba6276ef24d3daeb7da6e84` | | | 901447-10.uf10 (characters) | 2048 | `0157a2d55b7ac4eaeb38475889ebeea52e2593db` | | `pet2001b` (B keyboard) | 901474-01.ud8 (editor); others as `pet2001n` | 2048 | `174ace3a8c0348cd21d39cc864e2adc58b0101a9` | | `pet4016` / `pet4032` (BASIC 4, no CRTC) | 901465-19.ud5 or 901465-23.ud5 ($B000, two revisions) | 4096 | `bc2b7c99495fea3eda950ee9e3d6cabe448a452b`, `975ee25e28ff302879424587e5fb4ba19f403adc` | | | 901465-20.ud6 ($C000) | 4096 | `242f98298931d21eaacb55fe635e44b7fc192b0a` | | | 901465-21.ud7 ($D000) | 4096 | `1bb236c72c726e8fb029c68f9bfa5ee803faf0a8` | | | 901447-29.ud8 (editor, no CRTC) | 2048 | `e88f56e5c54b0e8d8d4e8cb39a4647c803c1f51c` | | | 901465-22.ud9 (KERNAL 4) | 4096 | `96a0fa56e0c937da92971d9c99d504e44e898806` | | `pet4032f` (CRTC, 40 col, 60 Hz) | 901499-01.ud7 (editor); others as `pet4032` | 2048 | `8cbf086c1ce4dfb2a2fe24c47476dfb878493dee` | | `pet8032` (60 Hz) | 901474-03.ud7 (editor); BASIC 4 as above (901465-23) | 2048 | `c605fa343fd77c73cbe1e0e9567e2f014f6e7e30` | | `cbm8032` (50 Hz) | 901474-04.ud7 (editor) | 2048 | `66887061b6c4ebef7d6efb90af9afd5e2c3b08ba` | | `superpet` | 901640-01.ua3 (4K character ROM with the APL set, HYPOTHESIS by size); editor 901474-04 | 4096 | `bf346f11595a3e65e55d6aeeaa2c0cec807b66c7` | | `cbm8296` | 324746-01.ue7 (16K BASIC), 8296.ue8 (editor), 74s288.uc2 (PROM), ue5/ue6 (PLA images) | | in `reference/census/firmware.md` | ### Drives | Drive | ROMs (SHA-1 in the full table) | | --- | --- | | `c2031` | 901484-03.u5f, 901484-05.u5h (8K each) | | `c2040`, `c3040` | 901468-06.ul1, 901468-07.uh1 (4K), 901466-01.uk3 (1K, the 6530) | | `c4040` | 901468-11..16 (4K each, two DOS revisions), 901466-04.uk3 | | `c8050`, `c8250` | 21 entries each: three DOS revisions (901482-03/-04, -06/-07, 901887/888-01) and six 6530 images (901483-02/-03/-04, 901884-01, 901885-04, 901869-01) | | `sfd1001` | 901887-01, 901888-01, 901885-04, 251257-02a | | `d9060`, `d9090` (hard disks) | 12 entries each | The other sets present: `pet20018`, `pet2001j`, `pet2001n16/32`, `pet2001b16/32`, `cbm3008/3016/3032/3032b`, `cbm4016/4032/4032b/4032f`, `pet4032b`, `cbm8032_de/_fr/_se`, `cbm8096`, `mmf9000`, `mmf9000_se`, `cbm8296d/ed/gd`, `pet64` (a C64 in a PET case: not this board), `pet_superpet`, `cbm8000_hsg_a/_b`, `c2040_fdc`, `c8050fdc`, `c8250lp`, `c8280`, and the CBM-II sets (`b128`, `b128hp`, `b256`, `b256hp`, `b500`, `bx256hp`, `cbm610/620/710/720/ 730`, `p500`, `p500p`). ## Bring your own Rows name their ROMs by SHA-1; the board loads them from a folder the player names (or `MAME_ROMPATH` zips for tests). Nothing of Commodore's is in the repository.