🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #625498

Re: PDP 11/40 system manual

#625498
From: Johnny Billquist
Date: Thu, 16 Aug 2018 15:56
44 lines
3953 bytes
On 2018-08-15 16:14, Charlie Gibbs wrote:
> On 2018-08-14, Johnny Billquist <b...@softjar.se> wrote:
> 
>> On 2018-08-14 03:38, Charlie Gibbs wrote:
>>
>>> The other machine that stands out in my mind is the PDP-11.  I once
>>> hand-disassembled the Dungeon machine code and was stunned by its
>>> elegance.  Making R7 the program counter and R6 the stack pointer,
>>> plus predecrement and postincrement, made it possible to do all sorts
>>> of nifty program control stuff with what at first looked like ordinary
>>> data manipulation instructions.  The Dungeon binary was threaded code
>>> implemented in hardware.
>>
>> You do know that Dungeon is written in FORTRAN? So you were
>> disassembling something produced by a compiler.
> 
> Yes, but all I had at the time was a copy of the binary.  I actually
> managed to write a program on a Univac 90/30 (an IBM 360 work-alike
> which I had much more ready access to) that emulated PDP-11 machine
> instructions, but the project foundered on the system calls, for
> which I had no documentation.

I can see that would be a bit trickier...

> A couple of years later I did get my hands on the source code -
> all 14,000 lines of FORTRAN - and ported it.  The hard part was
> the terminal I/O - going from character-mode asynchronous terminals
> to block-mode synchronous ones took some work.  But I had already
> done that for Adventure, so all I had to worry about were things
> like translating the ASCII files (including encrypted ones) to
> EBCDIC, writing functions for the bitwise logical operators which
> Univac FORTRAN didn't support, and replacing all the RAD50 constants
> with normal character constants.  But at least I finally got to play
> Dungeon right to the end.

That's what I call dedicated. :-)

   Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: b...@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
Technical Details
Message-ID: <pl46ri$8ed$2@Iltempo.Update.UU.SE>
Path: mbox-mo1.pugleaf.net!a22-v6ni9149wmg.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!feeder4.usenet.farm!feed.usenet.farm!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!.POSTED!not-for-mail
References: <21aaeee8-c41a-4442-a4eb-ea6a29b1e4f1@googlegroups.com> <0001HW.211B94B1040CADA5700004B5B2CF@news.giganews.com> <mdd7ekzl6pr.fsf@panix5.panix.com> <pki8ae$ca0$1@dont-email.me> <1028478389.555543171.735142.peter_flass-yahoo.com@news.eternal-september.org> <3777ab2c-1407-4803-a5f0-a8bcc34bad9d@googlegroups.com> <pktbqm02dr4@news1.newsguy.com> <pku662$vso$1@Iltempo.Update.UU.SE> <pl1cfr01tod@news4.newsguy.com>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a1c:4c5:: with SMTP id 188-v6mr2597500wme.21.1534434995172;        Thu, 16 Aug 2018 08:56:35 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:adf:be8d:: with SMTP id i13-v6ls1516522wrh.10.gmail; Thu, 16 Aug 2018 08:56:34 -0700 (PDT)
X-Received: by 2002:adf:9a32:: with SMTP id z47-v6mr250563wrb.21.1534434994451;        Thu, 16 Aug 2018 08:56:34 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!a22-v6ni9149wmg.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!feeder4.usenet.farm!feed.usenet.farm!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!.POSTED!not-for-mail
From: Johnny Billquist <b...@softjar.se>
Newsgroups: alt.folklore.computers
Subject: Re: PDP 11/40 system manual
Date: Thu, 16 Aug 2018 17:56:34 +0200
Organization: Update Computer Club
Lines: 44
Message-ID: <pl46ri$8ed$2@Iltempo.Update.UU.SE>
References: <21aaeee8-c41a-4442-a4eb-ea6a29b1e4f1@googlegroups.com> <0001HW.211B94B1040CADA5700004B5B2CF@news.giganews.com> <mdd7ekzl6pr.fsf@panix5.panix.com> <pki8ae$ca0$1@dont-email.me> <1028478389.555543171.735142.peter_flass-yahoo.com@news.eternal-september.org> <3777ab2c-1407-4803-a5f0-a8bcc34bad9d@googlegroups.com> <pktbqm02dr4@news1.newsguy.com> <pku662$vso$1@Iltempo.Update.UU.SE> <pl1cfr01tod@news4.newsguy.com>
NNTP-Posting-Host: 77.53.238.109
Mime-Version: 1.0
X-Trace: Iltempo.Update.UU.SE 1534434994 8653 77.53.238.109 (16 Aug 2018 15:56:34 GMT)
X-Complaints-To: newsm...@Update.UU.SE
NNTP-Posting-Date: Thu, 16 Aug 2018 15:56:34 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
In-Reply-To: <pl1cfr01tod@news4.newsguy.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit