By source code, I mean the MACRO-11 code commented source>On Jun 11, 11:20 am, glen herrmannsfeldt <g...@ugcs.caltech.edu> wrote:>In vmsnet.pdp-11 Jerome H. Fine <every...@nospam.com> wrote:About a year ago, I found some source code for TECO V36 which assembles to V36 when asked via "EO=", but the TECO.SAV file is significantly different from the version released with V04.00 of RT-11 in 1980. The version based on the source code that I found is 51 blocks long and it uses more memory. The version from RT-11 V04.00 is just 50 blocks long and has a much smaller root section. Probably most of the code is the same, just that some of the code that is in the root of the version for which I have the source has been moved to an overlay.I haven't thought about this for a while, but for an overlay isn't the source the same, but changes to the LINK command change the overlay, and so the SAV file? Or by source do you also mean the LINK command needed?
VERY!!!!!!!!!!!!!!!!!!!!!!!!!!!!Sounds plausible to me. In principle a suitable comparison tool comparing the two executables could show up areas of common content (blocks of common code/data?) as well as areas where the files are different. Afaik the standard DEC file comparison tools aren't usable this way, because they like to compare lines of text not binary files such as executables. Same for the standard UNIX file comparison tools. That doesn't mean there isn't a binary file comparison tool that uses something like the well documented "longest common subsequence" algorithm on words (or even bytes) though. In fact for reasons I won't go into here I had to write something along those lines to compare text files while ignoring line boundaries - I don't own the code, my employer does, so I couldn't post it here even if it was directly relevant, but the comparison core wasn't that difficult, someone with sufficient motivation and expertise (and time) could do something similar. Interesting challenge.