# The CBM-II (B and P series): a later row, and probably a separate board The B128/B256 (CBM 610/620/710/720 outside North America) and the P500 (CBM 510) share the PET's name, BASIC 4 heritage and IEEE-488 bus, and nothing else. OBSERVED (`mame -listdevices cbm610`, `p500`, MAME 0.285; source file `commodore/cbm2.cpp`, not `pet.cpp`): | | B series (`cbm610`, `b128`) | P500 (`p500`) | | --- | --- | --- | | CPU | **MOS 6509** at 2 MHz (`u13`) | 6509 at 1.02 MHz | | Video | MC6845 CRTC (`u10`), 80 columns (high-profile models: 50 Hz monitor) | **MOS 6567 VIC-II** (`u23`), colour, 40 columns | | Sound | MOS 6581 SID (`u4`) | 6581 SID | | Timers, I/O | 6526A CIA (`u2`), two 6525 TPIs (`u20`, `u102`), 6551 ACIA (`u19`), DS75160A/DS75161A IEEE transceivers (`u3`, `u7`) | the same | | Glue | one 82S100 PLA (`u78`) | two PLAs (`u78`, `u88`) | | Memory | 128K or 256K in 64K banks, the 6509's indirection registers at $0000/$0001 select the bank for code and for `LDA (zp),Y` / `STA (zp),Y` (HYPOTHESIS: the standard account; its document to pin) | as the B | ## Why a separate board - Nothing on the computer side is shared with the PET except the 6502 family and the IEEE-488 socket; the memory system (banks), the chip set and the firmware differ. - Its chips are the C64's family (6526 CIA, SID, VIC-II) plus the 6525 TPI and 6551 ACIA: by the chip rule they would come from cores the c64-python work extracts (SID and CIA are in-board there today), so the CBM-II should wait for those. - **The 6509 needs a variant of 6502-python**: two bank registers mapped at $0000/$0001, the bank used for opcode fetches and the one used by the two indirect-indexed instructions. An upstream request when the board starts. Recommendation (open decision 9): name it `cbm2-python` (rows `b128`, `b256`, `cbm610`, `cbm620`, `cbm710`, `cbm720`, `p500`), Phase 0 later, after c64-python extracts the CIA and SID; not a row of `pet-python`. ## What is already here for it - Firmware SHA-1s for `b500`, the B clones and `p500` in [census.md](census.md) (all present in MAME_ROMPATH). - VICE-testprogs `CBM2/` (pinned): two burn-in disks (`cbm2-burnin.d80`, `p500-burnin.d80`), Commodore diagnostics; run only. - MAME software lists `cbm2_flop` (139 entries), `cbm2_cart` (5), `p500_flop` (2): CC0 metadata only, no images on this machine.