Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 72 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dennis.j...@gmail.com  
View profile  
(9 users)  More options Aug 11 2007, 12:32 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: dennis.j...@gmail.com
Date: Fri, 10 Aug 2007 21:32:00 -0700
Subject: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
I started working on this article in 2000, thinking I'd be able to
slap something together for the 25th anniversary of Colossal Cave
Adventure. But writing it has turned out to be an addictive Babelfish
puzzle.  The preliminary research I did turned into the IF
Bibliography, which also led to a glossary for the IF Theorybook.  The
book is in cryonic sleep at the moment but the glossary thrives at the
IF WIki.

Reading the post Andrew Plotkin published several years ago about all
the cave research he did in preparation for writing Hunter, in
Darkness made me start daydreaming about an actual visit to the real
Colossal Cave was a possibility, and watching a library copy of
Raiders of the Lost Ark made me fantasize about finding Crowther's
original source code.

This year marks the 30th anniversary of Adventure, and I think the
article was worth the wait.

The full text (with about 40 photos from in and around the real
Colossal Cave) is available online. See the link after the abstract.

Somewhere Nearby is Colossal Cave: Examining Will Crowther's Original
"Adventure" in Code and in Kentucky
Digital Humanities Quarterly, 1.1 (2007)

Abstract
Because so little primary historical work has been done on the classic
text computer game "Colossal Cave Adventure", academic and popular
references to it frequently perpetuate inaccuracies. "Adventure" was
the first in a series of text-based games ("interactive fiction") that
emphasize exploring, puzzles, and story, typically in a fantasy
setting; these games had a significant cultural impact in the late
1970s and a significant commercial presence in the early 1980s. Will
Crowther based his program on a real cave in Kentucky; Don Woods
expanded this version significantly. The expanded work has been
examined as an occasion for narrative encounters (Buckles 1985) and as
an aesthetic masterpiece of logic and utility (Knuth 1998); however,
previous attempts to assess the significance of "Adventure" remain
incomplete without access to Crowther's original source code and
Crowther's original source cave. Accordingly, this paper analyzes
previously unpublished files recovered from a backup of Woods's
student account at Stanford, and documents an excursion to the real
Colossal Cave in Kentucky in 2005. In addition, new interviews with
Crowther, Woods, and their associates (particularly members of
Crowther's family) provide new insights on the precise nature of
Woods's significant contributions. Real locations in the cave and
several artifacts (such as an iron rod and an axe head) correspond to
their representation in Crowther's version; however, by May of 1977,
Woods had expanded the game to include numerous locations that he
invented, along with significant technical innovations (such as
scorekeeping and a player inventory). Sources that incorrectly date
Crowther's original to 1972 or 1974, or that identify it as a
cartographic data file with no game or fantasy elements, are sourced
thinly if at all. The new evidence establishes that Crowther wrote the
game during the 1975-76 academic year and probably abandoned it in
early 1976. The original game employed magic, humor, simple combat,
and basic puzzles, all of which Woods greatly expanded. While Crowther
remained largely faithful to the geography of the real cave, his
original did introduce subtle changes to the environment in order to
improve the gameplay.

Will Crowther's original FORTRAN source code
http://jerz.setonhill.edu/if/crowther/

Full Article
http://brain.lis.uiuc.edu:2323/opencms/export/sites/default/dhq/vol/0...

The above URL is a test site, but one of the journal editors has
posted this URL to his blog, so I'm considering the article officially
published now.

I imagine the article will eventually occur on the journal's main
site, at

http://www.digitalhumanities.org/dhq/vol/001/2/000009.html


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dott.Piergiorgio  
View profile  
 More options Aug 11 2007, 2:53 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: "dott.Piergiorgio" <dott.piergiorgioHI...@SORYUfastwebnet.it>
Date: Sat, 11 Aug 2007 08:53:19 +0200
Local: Sat, Aug 11 2007 2:53 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
dennis.j...@gmail.com ha scritto:

> Will Crowther's original FORTRAN source code
> http://jerz.setonhill.edu/if/crowther/

O_O

The original Adventure 0 ?????

Unbelievable !!! a true Relic of the history of gaming !

I'm without words... Now rummaging this ancient but very significant
piece of code, it's remarkable that is very tiny compared to Woods's
350, 13k code and 19k data.

I can suggest you to upload them in their proper place, that is, the
if-archive ?

My congrats, mr. Jerz !!
Dott. Piergiorgio.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Librik  
View profile  
 More options Aug 11 2007, 3:07 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: David Librik <lib...@panix.com>
Date: Sat, 11 Aug 2007 07:07:02 +0000 (UTC)
Local: Sat, Aug 11 2007 3:07 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

dennis.j...@gmail.com writes:
>Will Crowther's original FORTRAN source code
>http://jerz.setonhill.edu/if/crowther/
>Full Article
>http://brain.lis.uiuc.edu:2323/opencms/export/sites/default/dhq/vol/0...
>The above URL is a test site, but one of the journal editors has
>posted this URL to his blog, so I'm considering the article officially
>published now.

HOLY MOLY.  This is amazing work.  I especially love the photographs
illustrating all the famous places in Adventure:  the cobble crawl,
the window on the pit, the hall of mists, the maze of twisty passages
all alike.  (You got to cave with Roger Brucker, too -- I hope you
know how fortunate you are.)  And you found the original Will Crowther
FORTRAN source code, long thought to be lost forever, and analyzed it.
Congratulations on a historical achievement and a great article!

- David Librik
lib...@panix.com


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Nelson  
View profile  
 More options Aug 11 2007, 5:45 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: Graham Nelson <gra...@gnelson.demon.co.uk>
Date: Sat, 11 Aug 2007 02:45:08 -0700
Local: Sat, Aug 11 2007 5:45 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

dennis.j...@gmail.com wrote:
> Somewhere Nearby is Colossal Cave: Examining Will Crowther's Original
> "Adventure" in Code and in Kentucky
> Digital Humanities Quarterly, 1.1 (2007)

It is clear on a single reading that this is the most important single
paper ever written on the history of interactive fiction.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Kinder  
View profile  
 More options Aug 11 2007, 7:21 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: David Kinder <da...@david.david>
Date: Sat, 11 Aug 2007 11:21:20 GMT
Local: Sat, Aug 11 2007 7:21 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
Wow, this is exceptionally cool. Now we just need to find a way to get the
Crowther version running again ...

David


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Forgeot  
View profile  
 More options Aug 11 2007, 2:04 pm
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
Followup-To: rec.arts.int-fiction
From: Eric Forgeot <use_form_on_webs...@anamnese.fr.st>
Date: Sat, 11 Aug 2007 20:04:06 +0200
Local: Sat, Aug 11 2007 2:04 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

David Kinder wrote:
> Wow, this is exceptionally cool. Now we just need to find a way to get the
> Crowther version running again ...

> David

yes, just out of curiosity, because I don't know anything about Fortran, is
it possible to compile those sources with for example g77 (gnu fortran), do
we have to edit / adapt / modify the source before ?

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Kinder  
View profile  
 More options Aug 11 2007, 3:01 pm
Newsgroups: rec.arts.int-fiction
From: David Kinder <da...@david.david>
Date: Sat, 11 Aug 2007 19:01:42 GMT
Local: Sat, Aug 11 2007 3:01 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

Eric Forgeot wrote:
> yes, just out of curiosity, because I don't know anything about Fortran, is
> it possible to compile those sources with for example g77 (gnu fortran), do
> we have to edit / adapt / modify the source before ?

Before using a standard Fortran compiler there would definitely need to be
modification: it was written in Fortran-IV (probably), which is much older
than the standard Fortran-77 that g77 understands. Given what the known
original Crowther/Woods 350 point code looks like, it also has dependencies
on the PDP-10 architecture (36 bit words).

Not impossible to fix, but not trivial, either.

David


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Gilbert  
View profile  
 More options Aug 11 2007, 3:10 pm
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: Stephen Gilbert <stgilb...@gmail.com>
Date: 11 Aug 2007 19:10:29 GMT
Local: Sat, Aug 11 2007 3:10 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
This is jaw-droppingly fantastic. Congratulations Dennis.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bruce Stephens  
View profile  
 More options Aug 11 2007, 3:32 pm
Newsgroups: rec.arts.int-fiction
From: Bruce Stephens <bruce+use...@cenderis.demon.co.uk>
Date: Sat, 11 Aug 2007 20:32:01 +0100
Local: Sat, Aug 11 2007 3:32 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

Eric Forgeot <use_form_on_webs...@anamnese.fr.st> writes:
> David Kinder wrote:

>> Wow, this is exceptionally cool. Now we just need to find a way to get the
>> Crowther version running again ...

>> David

> yes, just out of curiosity, because I don't know anything about Fortran, is
> it possible to compile those sources with for example g77 (gnu fortran), do
> we have to edit / adapt / modify the source before ?

It'll need some changing, I think, but basically it ought to be
possible, yes.  I spotted an .XOR., which isn't standard, I think, and
the continuations in:

        COMMON RTEXT,LLINE
        DIMENSION IOBJ(300),ICHAIN(100),IPLACE(100)
        1 ,IFIXED(100),COND(300),PROP(100),ABB(300),LLINE(1000,22)
        2 ,LTEXT(300),STEXT(300),KEY(300),DEFAULT(300),TRAVEL(1000)
        3 ,TK(25),KTAB(1000),ATAB(1000),BTEXT(200),DSEEN(10)

Aren't right.  It should be

      COMMON RTEXT,LLINE
      DIMENSION IOBJ(300),ICHAIN(100),IPLACE(100)
     1     ,IFIXED(100),COND(300),PROP(100),ABB(300),LLINE(1000,22)
     2     ,LTEXT(300),STEXT(300),KEY(300),DEFAULT(300),TRAVEL(1000)
     3     ,TK(25),KTAB(1000),ATAB(1000),BTEXT(200),DSEEN(10)


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dott.Piergiorgio  
View profile  
 More options Aug 11 2007, 4:49 pm
Newsgroups: rec.arts.int-fiction
From: "dott.Piergiorgio" <dott.piergiorgioHI...@SORYUfastwebnet.it>
Date: Sat, 11 Aug 2007 22:49:59 +0200
Local: Sat, Aug 11 2007 4:49 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
Eric Forgeot ha scritto:

> David Kinder wrote:

>> Wow, this is exceptionally cool. Now we just need to find a way to get the
>> Crowther version running again ...

>> David

> yes, just out of curiosity, because I don't know anything about Fortran, is
> it possible to compile those sources with for example g77 (gnu fortran), do
> we have to edit / adapt / modify the source before ?

I suggest of using Bob Supnik's SIMH emulator, whose is an excellent
emulator of the PDP-10 (and other machines...) Also, there's floating on
the net the binaries of the OS for the -10

Another resource can be Al Kossow's archive of manuals of 50s to 70s
machines, surely there is the full documentation on the PDP-10 Fortran IV

I think that there's enough resources for understanding, compiling, and
running Adventure 0 ;)

Best regards from Italy,
Dott. Piergiorgio.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Gilbert  
View profile  
 More options Aug 11 2007, 6:33 pm
Newsgroups: rec.arts.int-fiction
From: Stephen Gilbert <stgilb...@gmail.com>
Date: 11 Aug 2007 22:33:15 GMT
Local: Sat, Aug 11 2007 6:33 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

On Sat, 11 Aug 2007 19:01:42 +0000, David Kinder wrote:
> Eric Forgeot wrote:
>> yes, just out of curiosity, because I don't know anything about Fortran, is
>> it possible to compile those sources with for example g77 (gnu fortran), do
>> we have to edit / adapt / modify the source before ?

> Before using a standard Fortran compiler there would definitely need to be
> modification: it was written in Fortran-IV (probably), which is much older
> than the standard Fortran-77 that g77 understands. Given what the known
> original Crowther/Woods 350 point code looks like, it also has dependencies
> on the PDP-10 architecture (36 bit words).

> Not impossible to fix, but not trivial, either.

> David

I know next to nothing about Fortran, but could it be Fortran 66 instead
of IV? I believe g77 is able to compile Fortran 66 code.

If anyone is considering porting this, comp.lang.fortran looks like it has
an active and helpful community.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chuck.kar...@gmail.com  
View profile  
 More options Aug 11 2007, 6:59 pm
Newsgroups: rec.arts.int-fiction
From: chuck.kar...@gmail.com
Date: Sat, 11 Aug 2007 22:59:34 -0000
Local: Sat, Aug 11 2007 6:59 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
On Aug 11, 3:33 pm, Stephen Gilbert <stgilb...@gmail.com> wrote:

> I know next to nothing about Fortran, but could it be Fortran 66 instead
> of IV? I believe g77 is able to compile Fortran 66 code.

That the file names end with 'f4' is probably a clue.  The code I've
looked
at isn't particularly complicated and there isn't that much of it; I
don't
think it would be either difficult or tedious to port it.

  Chuck


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rubes  
View profile  
 More options Aug 11 2007, 7:38 pm
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: Rubes <SLCRu...@gmail.com>
Date: Sat, 11 Aug 2007 16:38:31 -0700
Local: Sat, Aug 11 2007 7:38 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
On Aug 11, 3:45 am, Graham Nelson <gra...@gnelson.demon.co.uk> wrote:

> It is clear on a single reading that this is the most important single
> paper ever written on the history of interactive fiction.

I have to agree with you on this. This is jaw-dropping stuff.
Outstanding.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn P.,  
View profile  
 More options Aug 12 2007, 4:25 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
Followup-To: rec.arts.int-fiction, rec.games.int-fiction
From: "Glenn P.," <C128UserDELETE-T...@FVI.Net>
Date: Sun, 12 Aug 2007 04:25:16 -0400
Local: Sun, Aug 12 2007 4:25 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
On 10-Aug-07 at 9:32pm -0700, <dennis.j...@gmail.com> wrote:

 > Will Crowther's original FORTRAN source code
 > http://jerz.setonhill.edu/if/crowther/

When I click on this link, I get the following:

 Parent Directory                             -
 advdat.77-03-11         08-Jun-2007 15:13   19K
 advdat.77-03-31         08-Jun-2007 15:13   19K
 advf4.77-03-11          08-Jun-2007 15:13   13K
 advf4.77-03-23          08-Jun-2007 15:13   13K
 advf4.77-03-31          08-Jun-2007 15:13   13K

...Which one of these files is the "Adventure" file??? I don't understand
why there are FIVE files (is this a feature of FORTRAN?)...

--_____    %%%%%%%%%%% "Glenn P.," <C128UserDELETE-T...@FVI.Net> %%%%%%%%%%%
 {~._.~}   -----------------------------------------------------------------
 _( Y )_      There was no path to follow through the wood. The branches of
(:_~*~_:)  the trees hung low and thick, and the earth beneath them was damp
 (_)-(_)   and dark and dank, and no birds sang.
=========     "This," said Katherine, "is what I would call a tulgey wood."
/////////     "Don't!" cried Martha. "Suppose something came whiffling
=========  through it!"          --EAGER, Edward: "Half Magic" (Chapter IV).

:: Take Note Of The Spam Block On My E-Mail Address! ::


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dannii  
View profile  
 More options Aug 12 2007, 4:41 am
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: Dannii <curiousdan...@gmail.com>
Date: Sun, 12 Aug 2007 08:41:50 -0000
Local: Sun, Aug 12 2007 4:41 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
There are five files because Don Woods started editing them. As the
article explains, there is a data file and a code file. The 77-03-11
files should be the last version by Crowther.

On Aug 12, 6:25 pm, "Glenn P.," <C128UserDELETE-T...@FVI.Net> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Thornton  
View profile  
 More options Aug 12 2007, 12:12 pm
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: a...@fsf.net (Adam Thornton)
Date: Sun, 12 Aug 2007 11:12:33 -0500
Local: Sun, Aug 12 2007 12:12 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
In article <Pine.LNX.4.61.0708120422260.18...@Bfjrtb.SbkInyyrl.arg>,

Glenn P., <C128UserDELETE-T...@FVI.Net> wrote:
>When I click on this link, I get the following:

> Parent Directory                             -
> advdat.77-03-11         08-Jun-2007 15:13   19K
> advdat.77-03-31         08-Jun-2007 15:13   19K
> advf4.77-03-11          08-Jun-2007 15:13   13K
> advf4.77-03-23          08-Jun-2007 15:13   13K
> advf4.77-03-31          08-Jun-2007 15:13   13K

>...Which one of these files is the "Adventure" file??? I don't understand
>why there are FIVE files (is this a feature of FORTRAN?)...

Code is in advf4; there are three versions.

Data is in advdat, of which there are two versions.

Adam


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
asdf  
View profile  
(1 user)  More options Aug 12 2007, 3:34 pm
Newsgroups: rec.arts.int-fiction, rec.games.int-fiction
From: asdf <aaronkash...@gmail.com>
Date: Sun, 12 Aug 2007 12:34:29 -0700
Local: Sun, Aug 12 2007 3:34 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
This is a brilliant piece of work and a major advance in the field of
IF studies.

On Aug 11, 12:32 am, dennis.j...@gmail.com wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Librik  
View profile  
 More options Aug 12 2007, 7:23 pm
Newsgroups: rec.arts.int-fiction
From: David Librik <lib...@panix.com>
Date: Sun, 12 Aug 2007 23:23:39 +0000 (UTC)
Local: Sun, Aug 12 2007 7:23 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

Bruce Stephens <bruce+use...@cenderis.demon.co.uk> writes:
>It'll need some changing, I think, but basically it ought to be
>possible, yes.  I spotted an .XOR., which isn't standard, I think, and
>the continuations in:

Once you spot that strings are stored as a sequence of 7-bit
characters packed 5 to a (36-bit) machine word (with the lowest
bit ignored), I think the most wretched hive of scum and villany
is in GETIN, which is a very PDP-10 dependent subroutine for
accepting input and breaking it into two words.  It would have to
be completely rewritten for any other computer, no matter what
language you use.  That's where all the bit-magic of .XOR. and
SHIFT is, at least.

A lot of the weird logic associated with text in that program is
trying to work with the way strings are stored.  A string is an
array of 36-bit integers, each integer holding 5 characters.  If
the string isn't a multiple of 5 characters in length, spaces are
added to the end.  All of the long text strings are stored in a
single two-dimensional array called LLINE.  The first two integers
in each LLINE string aren't holding characters; they store an
indication of whether this string is part of a larger paragraph
(LLINE(n,1)), and how long the string is in integers (LLINE(n,2)),
respectively.  The actual text for string LLINE(n) starts at
LLINE(n,3).

The funny thing is ... I thought PDP-10 character codes were six
bits, not seven.  Thus filenames could be up to 6 characters long:
e.g. ADVENT.  But that 5-character limitation in strings explains
why, in the original Adventure, all words were unique to only five
letters -- and why we have PLUGH and XYZZY rather than REZROV.

A FORTRAN compiler or translator would work on that code, but only
for the main "logic" of the game  -- i.e. lines 1100 to the END of
the main program, excluding anything having to do with printing
or comparing strings.  When you see something like
        INTEGER A
        ... get input into A ...
        IF (A .EQ. 'XYZZY')
you are sunk, because the assumption is that 'XYZZY' is a single
number and can be manipulated like one.  An intelligent porter
sees that it's only used for strings and changes it to a string
variable; but "f2c" is going to barf and die.

- David Librik
lib...@panix.com


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
greg  
View profile  
 More options Aug 12 2007, 8:32 pm
Newsgroups: rec.arts.int-fiction
From: greg <g...@cosc.canterbury.ac.nz>
Date: Mon, 13 Aug 2007 12:32:02 +1200
Local: Sun, Aug 12 2007 8:32 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave

David Librik wrote:
> The funny thing is ... I thought PDP-10 character codes were six
> bits, not seven.

It's quite likely there was more than one format
used for storing text, depending on things like
whether you wanted lower case letters.

--
Greg


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew T. Russotto  
View profile  
 More options Aug 12 2007, 8:46 pm
Newsgroups: rec.arts.int-fiction
From: russo...@grace.speakeasy.net (Matthew T. Russotto)
Date: Sun, 12 Aug 2007 19:46:17 -0500
Local: Sun, Aug 12 2007 8:46 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
In article <f9o4pr$mv...@reader2.panix.com>,
David Librik  <lib...@panix.com> wrote:

>Once you spot that strings are stored as a sequence of 7-bit
>characters packed 5 to a (36-bit) machine word (with the lowest
>bit ignored), I think the most wretched hive of scum and villany
>is in GETIN, which is a very PDP-10 dependent subroutine for
>accepting input and breaking it into two words.  It would have to
>be completely rewritten for any other computer, no matter what
>language you use.  That's where all the bit-magic of .XOR. and
>SHIFT is, at least.

Correct.  But there's an additional joker in GETIN.

>number and can be manipulated like one.  An intelligent porter
>sees that it's only used for strings and changes it to a string
>variable; but "f2c" is going to barf and die.

Fortunately, there are only a few variables which need to be declared
"CHARACTER*5".

I've got it almost working under g77.  I broke LLINE into three
arrays and fixed the "G" and "A" formats.  I also changed the data file from
tab-delimited fields to fixed-length fields, changed the IFILE to
OPEN, and implemented RAN.

The additional joker is holding me back.  The program reads using a
format 4A5 into an array A, and apparently
ENTER STREAM
is to be returned such that A(1)='ENTER' and A(2)='STREAM'.  But
elsewhere in GETIN it expects the spaces to appear literally.  So I'm
not sure how that format was supposed to work.  

There's also a bug in the 77-03-11 GETIN.
--
  There's no such thing as a free lunch, but certain accounting practices can
  result in a fully-depreciated one.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew T. Russotto  
View profile  
 More options Aug 12 2007, 9:06 pm
Newsgroups: rec.arts.int-fiction
From: russo...@grace.speakeasy.net (Matthew T. Russotto)
Date: Sun, 12 Aug 2007 20:06:24 -0500
Local: Sun, Aug 12 2007 9:06 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
In article <hZadndM_m_lENCLbnZ2dnUVZ_g6dn...@speakeasy.net>,
Matthew T. Russotto <russo...@grace.speakeasy.net> wrote:

>The additional joker is holding me back.  The program reads using a
>format 4A5 into an array A, and apparently
>ENTER STREAM
>is to be returned such that A(1)='ENTER' and A(2)='STREAM'.  But
>elsewhere in GETIN it expects the spaces to appear literally.  So I'm
>not sure how that format was supposed to work.  

Nevermind.  It appears this is actually a bug in the original code.
The later versions correct it.
--
  There's no such thing as a free lunch, but certain accounting practices can
  result in a fully-depreciated one.

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Librik  
View profile  
 More options Aug 12 2007, 9:29 pm
Newsgroups: rec.arts.int-fiction
From: David Librik <lib...@panix.com>
Date: Mon, 13 Aug 2007 01:29:11 +0000 (UTC)
Local: Sun, Aug 12 2007 9:29 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
russo...@grace.speakeasy.net (Matthew T. Russotto) writes:

>Nevermind.  It appears this is actually a bug in the original code.
>The later versions correct it.

There are a number of bugs in that program, unfortunately.

Is it better to present the most accurate representation of
Crowther's original code, or fix the mistakes in order to give
the program he intended, a game you can actually play?

Perhaps as a compromise one can implement the immediate bug
fixes that Don Woods had to add (in 77-03-31) to get it running.

- David Librik
lib...@panix.com


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew T. Russotto  
View profile  
(1 user)  More options Aug 12 2007, 11:30 pm
Newsgroups: rec.arts.int-fiction
From: russo...@grace.speakeasy.net (Matthew T. Russotto)
Date: Sun, 12 Aug 2007 22:30:53 -0500
Local: Sun, Aug 12 2007 11:30 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
In article <f9oc57$67...@reader2.panix.com>,
David Librik  <lib...@panix.com> wrote:

>russo...@grace.speakeasy.net (Matthew T. Russotto) writes:
>>Nevermind.  It appears this is actually a bug in the original code.
>>The later versions correct it.

>There are a number of bugs in that program, unfortunately.

>Is it better to present the most accurate representation of
>Crowther's original code, or fix the mistakes in order to give
>the program he intended, a game you can actually play?

>Perhaps as a compromise one can implement the immediate bug
>fixes that Don Woods had to add (in 77-03-31) to get it running.

Why compromise when you can have both?

Compilable (g77) versions of 77-03-11 and 77-03-31:

http://www.russotto.net/~russotto/ADVENT
--
  There's no such thing as a free lunch, but certain accounting practices can
  result in a fully-depreciated one.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dennis.j...@gmail.com  
View profile  
 More options Aug 12 2007, 11:59 pm
Newsgroups: rec.arts.int-fiction
From: dennis.j...@gmail.com
Date: Sun, 12 Aug 2007 20:59:05 -0700
Local: Sun, Aug 12 2007 11:59 pm
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
On Aug 12, 11:30 pm, russo...@grace.speakeasy.net (Matthew T.

Russotto) wrote:

> Compilable (g77) versions of 77-03-11 and 77-03-31:

> http://www.russotto.net/~russotto/ADVENT

That was fast!

If anybody with the technical know-how could rig this up to play in a
Java applet, or through a web interface, I'd be grateful. I'd be happy
to arrange to host the program somewhere else.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JDC  
View profile  
 More options Aug 13 2007, 12:20 am
Newsgroups: rec.arts.int-fiction
From: JDC <jd...@psu.edu>
Date: Sun, 12 Aug 2007 21:20:16 -0700
Local: Mon, Aug 13 2007 12:20 am
Subject: Re: Adventure: Crowther's original source code found; photos from inside the real Colossal Cave
On Aug 12, 11:30 pm, russo...@grace.speakeasy.net (Matthew T.

Russotto) wrote:

> Compilable (g77) versions of 77-03-11 and 77-03-31:

> http://www.russotto.net/~russotto/ADVENT

Excellent; thanks for these.

Note for OS X users: The OS X version of gcc does not seem to include
g77, but I found a binary here:
http://hpc.sourceforge.net/
You should also be able to get it with fink or something. Also note
that if you download the packages in Safari, it will add a spurious
".txt" to the .dat files; you need to remove this, but otherwise these
compile fine.

By the way, was I the only one who hadn't looked at Fortran code in at
least 15 years and whose brain initially tried to parse Fortran's
dotted comparisons as objects and methods?  :)

-JDC


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 72   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google