From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,1f0ed186713c1bdb X-Google-NewGroupId: yes X-Google-Thread: 1164f8,1f0ed186713c1bdb X-Google-NewGroupId: yes X-Google-Thread: ffc31,1f0ed186713c1bdb X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!g28g2000yqa.googlegroups.com!not-for-mail From: John Wallace Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Source for RT-11 TECO V36 Date: Sun, 12 Jun 2011 03:54:21 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3ab4c070-9402-4749-8dc7-49310abd7f29@g28g2000yqa.googlegroups.com> References: <4df2176d$0$312$14726298@news.sunsite.dk> NNTP-Posting-Host: 213.162.107.94 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1307876061 12479 127.0.0.1 (12 Jun 2011 10:54:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 12 Jun 2011 10:54:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g28g2000yqa.googlegroups.com; posting-host=213.162.107.94; posting-account=LoTgDQkAAADTKXJ587vuIocn0MiURp6p User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com alt.sys.pdp11:2255 comp.sys.dec:3518 vmsnet.pdp-11:633 On Jun 11, 11:20=A0am, glen herrmannsfeldt wrote: > In vmsnet.pdp-11 Jerome H. Fine wrote: > > > [-- text/plain, encoding 7bit, charset: us-ascii, 40 lines --] > > (snip) > > > About a year ago, I found some source code for > > TECO V36 which assembles to V36 when asked > > via "EO=3D", but the TECO.SAV file is significantly > > different from the version released with V04.00 of > > RT-11 in 1980. =A0The version based on the source > > code that I found is 51 blocks long and it uses more > > memory. =A0The 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? > > -- glen 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.