# Kosmos CP1: reconstructing the CP2 cassette format

> The Kosmos CP1 toolchain reconstructs the CP2 cassette interface from a digitized real save and implements Python WAV encoding and decoding. Its documentation specifies FSK carriers, bit timing, byte order and the 256-cell memory image. An assembler and emulator support writing and tracing CP1 programs; the author reports a byte-exact encoding round trip.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/lambdamikel/kosmos-cp1-devel-toolchain>
- Primary source: <https://github.com/lambdamikel/kosmos-cp1-devel-toolchain/blob/7d8287f38123290156fe5a9472880c2fc731ad18/README.md>
- Catalog page: <https://awesomerea.org/resources/kosmos-cp1-cassette-case/>
- Record JSON: <https://awesomerea.org/resources/kosmos-cp1-cassette-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/kosmos-cp1-cassette-case/index.md)

## Requirements & limits

- **Prerequisites:** Python 3 is required; the audio tools also require numpy.
- **Prerequisites:** Loading a generated WAV into hardware requires a Kosmos CP1 and CP2 cassette module.
- **Testing evidence:** The author reports a byte-exact round trip and decoding of a genuine CP2 recording.
- **License:** MIT license.

## Primary sources

1. <https://github.com/lambdamikel/kosmos-cp1-devel-toolchain/blob/7d8287f38123290156fe5a9472880c2fc731ad18/README.md>

## More in Protocols

- [ISDT PB40: reconstructing a power bank's BLE protocol](https://awesomerea.org/resources/pb40-bluetooth-case/index.md) · Case study
- [Jacuzzi JB1HL: decoding the J185 panel-link bus](https://awesomerea.org/resources/jacuzzi-jb1hl-protocol-case/index.md) · Case study
- [Tenx USB Missile Launcher: reconstructing USB control commands](https://awesomerea.org/resources/tenx-usb-missile-launcher-case/index.md) · Case study
- [Crypto Kakadu Alternative: reconstructing device transfers and .kkd backups](https://awesomerea.org/resources/crypto-kakadu-alternative-case/index.md) · Case study
- [alienware-m15-rgb: Linux control of the m15 R2 lighting controllers](https://awesomerea.org/resources/alienware-m15-rgb-case/index.md) · Case study
- [Ideal Clima Nemo 1000: reconstructing local Tuya MCU control](https://awesomerea.org/resources/ideal-clima-nemo-local-control-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
