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

docs for mtdump need an update; won't handle P7B format files #11

Open
terryheidelberg opened this issue Mar 13, 2018 · 1 comment
Open

Comments

@terryheidelberg
Copy link

The README.md says:
mtdump Dump the record structure of a SIMH, E11, TPC, or P7B

and:
simtools/extracters/mtdump/mtdump.txt

also talks about processing P7B files, but the code doesn't handle such files
or a -p option, at all. That needs to be fixed in the documentation.

Looking at mtdump.c, I can see that files in P7B format don't fit well in the code,
as I think all of the other formats use a header that gives the record length, but P7B
(aka Paul Pierce format) don't have any headers or trailers, just a stream of
bytes with 6-bit char codes, a parity bit, and a 'new record starting' bit, plus
a special byte value (0x8F) to signify a tape mark.

@markpizz
Copy link
Member

Feel free to suggest detailed changes that are necessary to address the issue you are pointing out.

While reviewing exactly what is going on, you should also look closely at sim_tape.c in the simh repo to make sure that the details you're describing are consistent in both places.

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

No branches or pull requests

2 participants