Any ideas how to convert a tape cut on an HP2000 into
the .tap format
used by the SIMH hp2000 simulator?
Eric Smith has a program called tapecopy that will do this under Linux
.tap is <little-endian 32 bit record length> <data> <copy of record
length>
with a single byte of 0 for a tape mark.
To create a .tap file from a real tape you:
read a tape record
if it is a tape mark, put out a byte of zero
else
write the record length
write the data
write the record length