Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to handle old and broken tapes. #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

larsbrinkhoff
Copy link
Member

if you see "?Tape record too short" it probably means a tape file header was invalid. There may still be valid files after the damaged one, so this makes itstar skip the bad file and try the next.

CC @eswenson1

@larsbrinkhoff
Copy link
Member Author

Widening the scope of this pull request.

  • Continue extracting files even if there's an error mid way.
  • Handle old style 1-bit year timestamps. Typically in the range 1970-1973.

CC ToTS people, as this may be useful to you. @lisper, @Devon7.

@larsbrinkhoff larsbrinkhoff changed the title If a file header is bad, skip that file and try next. Updates to handle old and broken tapes. Jul 27, 2019
@larsbrinkhoff larsbrinkhoff force-pushed the lars/skipfile branch 3 times, most recently from 4f41b42 to 88f53a8 Compare July 28, 2019 09:06
@larsbrinkhoff
Copy link
Member Author

Add -E to use the E-11 tape image format, which doesn't pad records with an odd number of frames. This format is used by (some?) ToTS tape images.

Add -O to write a six-word file header rather than seven words. 1973 vintage SALV 9 will barf on the latter.

@larsbrinkhoff
Copy link
Member Author

I see some tape images have 7-track data, and also have the record length in big endian format. I'll add support for those too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant