larsbrinkhoff / pdp10-its-disassembler

Disassembler and other tools for files in ITS formats
GNU General Public License v2.0
19 stars 13 forks source link

tito - extract of file from tymshare tape not readable #164

Closed nigwil closed 6 months ago

nigwil commented 6 months ago

./pdp10-its-disassembler/tito -x -Wtape -f 169279.tape

$ cat plm.doc
E@?@???V,?A???
A??
AR????T?>?  ?R,?????
(h?@?@?????=Y?IABb?
AB???l??h?@?@?@?l:AR,9?A6,??tJ
??D??Bj???h?h?@?@?@?l:AR,9?A6,??tJ
??D?&bj???h?h?
?@?
?m     ?M?
          AV?T???4?ARDT???AtD???`4P?@?@?@??    SBd?]?
?@?R?EZ????
p?t[?4PE
$

Using JohnnyE's back10 produces almost readable output, however there are some initial and trailing random characters.

$ ./back10 -x -f 169279.tape 'dsk:[11,562]plm.doc'
  dsk:[11,562]plm.doc
$ ls -l
total 2208812
-rw-r--r-- 1 nw nw 2261693204 Feb 23 16:19  169279.tape
-rwxrwxr-x 1 nw nw     114784 Feb 23 16:20  back10
-rw-rw-r-- 1 nw nw        480 Jan  1  1970 'dsk:[11,562]plm.doc'

examining the extracted file:

$ cat dsk\:\[11\,562\]plm.doc 
kB`F26-P035/EP?MR
:mMx        MANUELS AVAILABLE FROM TYMSHARE FOR INTEL'S PLM

        1) A GUIDE TO PL/M PROGRAMMING
             MCS TECHNICAL MEMORANDUM (MARCH 15,1974)
             MCS TECHNICAL MEMORANDUM (APRIL 15,1974)

        EXAMPLES OF USE OF PLM FOR THE MCS-8 AND MCS-80

        1) (UPL)PLM1.EXA
        2) (UPL)PLM81.EXA
a@*
$
larsbrinkhoff commented 6 months ago

Turns out that -Wtape is for the output file format, not input file format. So the fix is to just leave that out of the command line.