From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.73.229 with SMTP id o5mr3355967pbv.7.1327248949525; Sun, 22 Jan 2012 08:15:49 -0800 (PST) Path: lh20ni211675pbb.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sun, 22 Jan 2012 17:15:48 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f17edcc.11901487@nntp.aioe.org> <4f19229f.41848032@nntp.aioe.org> <4f2121a1.31333128@nntp.aioe.org> <4f1cbaba.24725004@nntp.aioe.org> <4f1c0fc0.47749628@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1327248949 4754 178.83.31.172 (22 Jan 2012 16:15:49 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 22 Jan 2012 16:15:49 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4f1c0fc0.47749628@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-01-22 15:03, paramucho wrote: > On Sun, 22 Jan 2012 12:59:14 +0100, Johnny Billquist > wrote: > >> By the way, a reflection here. I note that the coding style in RT-11 is >> rather different than in RSX. They seem much more "hackish" in RT-11. >> Making use of all kind of shortcuts and tricky solutions. Lots of mixing >> of data and code everywhere. Interesting, and rather different from what >> I'm used to. >> >> But it also makes it hopeless to ever have split I/D space. Did anything >> in RT-11 ever used split I/D space? > > In the unmapped monitors RT-11 programs and the O/S have had to > cohabit the same 28kw address space, so there has been enormous space > pressure on the system. Anything which saves a word of memory goes. > RT-11 developers were often given the job of just saving a few words > so that more functionality could be fitted into a fixed space. > > Because of these constraints the code looks "hackish", however, these > hacks are not the result of hasty or sloppy thinking or individual > programmers doing their own thing. The RT-11 team remained fairly > constant over the years and knew the code intimately. I visited > Maynard a couple of times and was given a desk at the Mill and invited > to join some of their regular meetings in which functionality was > proposed, discussed and decided. They weren't cowboys. Oh! I didn't want to imply that it was sloppish. My usual experience is that you need to keep your tongue even more straight in your mouth when your code is tricky. Becoming sloppy at that point is an almost sure way of getting into very bad bugs and unusable systems. But a thing like: DEC (PC)+ ;The RT-11 lights routine! LITECT: .WORD 1 BNE ..NULJ ;Not too often ADD #<512.>,LITECT ;Reset count, clear carry is both tricky, and totally non-functioning if you have split I/D space. (Just as one example from the code you posted.) Neat and efficient, though. But not something you'd see in RSX, and not something I would write myself. Different style, as I said. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol