Amiga ADF Sender

From CiaransWiki
Jump to: navigation, search

Python script to send an ADF file across the serial link to an Amiga. See this post for more details.

A much improved version is discussed in this post and can be found in the git repository.

import serial

print "Opening serial port"
ser=serial.Serial(0,19200,timeout=60,rtscts=1)
f=open('test.adf','rb')
adfdata=f.read()
f.close()
print "Sending data"
ser.write(adfdata)
ser.close()
print "Sent."
Personal tools