Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


p2000_backup_cassette

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"
    LLIST
  • 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:
    run<enter>
p2000_backup_cassette.txt · Last modified: 2017/11/08 20:32 by admin