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

PDP-6/WAITS DMP format support #11

Closed atsampson closed 6 years ago

atsampson commented 6 years ago

Issue #10.

This is fairly basic, but it worked well enough on some of the chess executables on SAILDART.

I've reworked the option handling code a bit as part of this, which'll conflict with your rel branch, so let me know if you'd rather I did this differently...

larsbrinkhoff commented 6 years ago

I was aware of your getopt changes, but I think that's the way to go so I'll update my branch.

So this is an ancient PDP-6 Monitor format? I was wondering why you called the command line option -6.

larsbrinkhoff commented 6 years ago

Thanks!

atsampson commented 6 years ago

Yes, it looks like the DMP format originated with the PDP-6 monitor - see p22 of the PDP-6 Multiprogramming System Manual: http://bitsavers.informatik.uni-stuttgart.de/pdf/dec/pdp6/DEC-6-0-EX-SYS-UM-FP_ACT00_PDP-6_Multiprogramming_System_Manual_Apr66.pdf

There's quite a bit of information about the WAITS interpretation of it buried in this mailbox from the KCC source tree: https://github.com/PDP-10/sri-nic/blob/master/files/fs/c/dist/csikcc.mail

larsbrinkhoff commented 6 years ago

It's early in the morning, so maybe my brain isn't working right yet. But I'm thinking there could be some heuristics to help select the right symbol in some situations.

Accumulators are usually names A-F, T, TT, and P, for example. And I/O channels usually have CH in their names.