🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #625497

Re: PDP 11/40 system manual

#625497
From: Charlie Gibbs
Date: Wed, 15 Aug 2018 14:14
37 lines
3606 bytes
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.

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.

-- 
/~\  cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ /  I'm really at ac.dekanfrus if you read it the right way.
 X   Top-posted messages will probably be ignored.  See RFC1855.
/ \  Fight low-contrast text in web pages!  http://contrastrebellion.com
Technical Details
Message-ID: <pl1cfr01tod@news4.newsguy.com>
Path: mbox-mo1.pugleaf.net!g5-v6ni2329iti.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!weretis.net!feeder6.news.weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4
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>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a24:ad4f:: with SMTP id a15-v6mr9877098itj.42.1534342495121;        Wed, 15 Aug 2018 07:14:55 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:a24:1f8d:: with SMTP id d135-v6ls414545itd.7.gmail; Wed, 15 Aug 2018 07:14:54 -0700 (PDT)
X-Received: by 2002:a24:45db:: with SMTP id c88-v6mr10218964itd.41.1534342494251;        Wed, 15 Aug 2018 07:14:54 -0700 (PDT)
MIME-Version: 1.0
Path: mbox-mo1.pugleaf.net!g5-v6ni2329iti.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!weretis.net!feeder6.news.weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4
From: Charlie Gibbs <cgibbs@kltpzyxm.invalid>
Newsgroups: alt.folklore.computers
Subject: Re: PDP 11/40 system manual
Date: 15 Aug 2018 14:14:19 GMT
Organization: NewsGuy.com
Lines: 37
Message-ID: <pl1cfr01tod@news4.newsguy.com>
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>
NNTP-Posting-Host: p5bb56fd59dc3231557c8bd34ba838719800e6f9ca8035eb3.newsdawg.com
User-Agent: slrn/1.0.3 (Linux)
X-Received-Bytes: 2818
X-Received-Body-CRC: 3700874397
Bytes: 3117
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit