Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


Philips P2000T - Cassette to serial (backup)

Configure serial port

  • Connect to the serial port on the back of the P2000T.
  • On the P2000T, set output to the maximum speed of 2400 baud
    POKE &H6016,0
  • Set speed on Linux host, cat output:
    stty -F /dev/ttyUSB0 ispeed 2400
    cat /dev/ttyUSB0

Serial (printer) output

  • On the P2000T, press <shift><00> (printer key). The current screen will be printed over serial.
  • Dump complete BASIC program to serial. Load cassette program on P2000T and print:
    CLOAD "program"
  • Catch the whole file, when finished, press ctr-c:
    tee program.bas </dev/ttyUSB0

Dump complete cassette (side) to file

  • Load serial.bas program on the P2000. By: Marcel de Kogel:
    CLOAD "serial"
  • Insert cassette to be dumped.
  • Prepare system to receive file:
    (stty raw; cat > side-a.cas) < /dev/ttyUSB0
    # or pipe through hexdump to see the data flow
    (stty raw; tee -a dump.cas | hexdump -C) < /dev/ttyUSB1
  • On P2000T:
p2000_backup_cassette.txt · Last modified: 2021/10/09 15:14 by