Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


p2000_backup_cassette

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
p2000_backup_cassette [2017/10/23 09:33] – [Dump complete cassette (side) to file] adminp2000_backup_cassette [2017/11/08 19:31] – [Dump complete cassette (side) to file] admin
Line 1: Line 1:
 ===== Philips P2000T - Cassette to serial (backup) ===== ===== Philips P2000T - Cassette to serial (backup) =====
  
-==== Serial (printer) output ====+==== Configure serial port ====
   * Connect to the serial port on the back of the P2000T.   * Connect to the serial port on the back of the P2000T.
   * On the P2000T, set output to the maximum speed of 2400 baud<code freebasic>POKE &H6016,0</code>   * On the P2000T, set output to the maximum speed of 2400 baud<code freebasic>POKE &H6016,0</code>
   * Set speed on Linux host, cat output:<code bash>stty -F /dev/ttyUSB0 ispeed 2400   * Set speed on Linux host, cat output:<code bash>stty -F /dev/ttyUSB0 ispeed 2400
 cat /dev/ttyUSB0</code> cat /dev/ttyUSB0</code>
 +
 +==== Serial (printer) output ====
   * On the P2000T, press <shift><00> (printer key). The current screen will be printed over serial.   * 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:<code freebasic>CLOAD "program"   * Dump complete  BASIC program to serial. Load cassette program on P2000T and print:<code freebasic>CLOAD "program"
Line 13: Line 15:
   * Load [[p2000t:serial.bas]] program on the P2000. By: [[http://www.komkon.org/~dekogel/m2000.html|Marcel de Kogel]]:<code freebasic>CLOAD "serial"</code>   * Load [[p2000t:serial.bas]] program on the P2000. By: [[http://www.komkon.org/~dekogel/m2000.html|Marcel de Kogel]]:<code freebasic>CLOAD "serial"</code>
   * Insert cassette to be dumped.   * Insert cassette to be dumped.
-  * Prepare system to receive file:<code>(stty raw; cat > side-a.cas) < /dev/ttyUSB0</code>+  * Prepare system to receive file:<code> 
 +(stty raw; cat > side-a.cas) < /dev/ttyUSB0 
 +(stty raw; tee -a dump.cas | hexdump -C) < /dev/ttyUSB1 
 +</code>
   * On P2000T:<code>run<enter></code>   * On P2000T:<code>run<enter></code>
  
p2000_backup_cassette.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1