Name Date Size #Lines LOC

..--

HistoryH A D20-Oct-19884.3 KiB10680

MANIFESTH A D20-Oct-19882.4 KiB8584

MakefileH A D25-Jun-19901.1 KiB3325

Makefile.bsdH A D20-Oct-19889.4 KiB230167

Makefile.sunH A D20-Oct-19889.4 KiB230167

Makefile.sysvH A D20-Oct-19889.4 KiB231173

PDP.docH A D20-Oct-19882.9 KiB6355

READMEH A D20-Oct-19884 KiB114104

README.pdpH A D20-Oct-1988711 1513

actors.FH A D20-Oct-19887 KiB311137

advers.hH A D20-Oct-1988217 1211

ballop.FH A D20-Oct-19882.1 KiB10347

cinit.cH A D20-Oct-1988940 6645

cio.cH A D20-Oct-19882.5 KiB165113

clock.hH A D20-Oct-1988339 1413

clockr.FH A D20-Oct-198811.9 KiB587273

cspeak.cH A D20-Oct-19881.2 KiB7249

curxt.hH A D20-Oct-198894 65

debug.hH A D20-Oct-198880 65

decode.cH A D20-Oct-1988462 2618

demons.FH A D20-Oct-19889.3 KiB468217

dgame.FH A D20-Oct-19884.4 KiB22097

dinit.FH A D20-Oct-198812.8 KiB608315

dmain.FH A D20-Oct-19886.5 KiB201109

dso1.FH A D20-Oct-19882.7 KiB13454

dso2.FH A D20-Oct-19884.1 KiB18791

dso3.FH A D20-Oct-19882.7 KiB13562

dso4.FH A D20-Oct-19882.6 KiB13061

dso5.FH A D20-Oct-19882.6 KiB13763

dso6.FH A D20-Oct-19882.3 KiB12141

dso7.FH A D20-Oct-19882.9 KiB14670

dsub.FH A D20-Oct-198810.6 KiB549237

dungeon.6H A D01-Jun-19948.8 KiB279278

dungeon.docH A D20-Oct-198821.7 KiB613455

dungeon.shH A D20-Oct-1988249 87

dverb1.FH A D20-Oct-19886.7 KiB340158

dverb2.FH A D20-Oct-198810.8 KiB580230

exits.hH A D20-Oct-198845 54

files.hH A D20-Oct-1988159 86

flags.hH A D20-Oct-19881.1 KiB3129

gamestate.hH A D20-Oct-198867 65

gdt.FH A D20-Oct-198814.8 KiB702300

io.hH A D20-Oct-1988101 76

lex.cH A D20-Oct-19881.5 KiB7958

lightp.FH A D20-Oct-19882.4 KiB12059

listen.cH A D20-Oct-19881.1 KiB6742

maketxt.shH A D20-Oct-1988423 1918

mindex.hH A D20-Oct-198852 54

nobjs.FH A D20-Oct-198812.7 KiB661316

np.FH A D20-Oct-19885.2 KiB274121

np1.FH A D20-Oct-198836.6 KiB1,152176

np2.FH A D20-Oct-19885 KiB23997

np3.FH A D20-Oct-19887.7 KiB387173

nrooms.FH A D20-Oct-19886.6 KiB359153

objcts.FH A D20-Oct-198815.5 KiB805391

objects.hH A D20-Oct-1988302 1211

oflags.hH A D20-Oct-1988269 87

oindex.hH A D20-Oct-19881 KiB2423

parser.hH A D20-Oct-1988574 2726

puzzle.hH A D20-Oct-198868 54

rflag.hH A D20-Oct-198897 43

rindex.hH A D20-Oct-1988836 2221

rooms.FH A D20-Oct-198812.9 KiB650282

rooms.hH A D20-Oct-1988193 109

rtim.cH A D20-Oct-19881.6 KiB11066

screen.hH A D20-Oct-198898 65

sobjs.FH A D20-Oct-198813 KiB698340

speak.FH A D20-Oct-19884.5 KiB22299

state.hH A D20-Oct-198890 32

sverbs.FH A D20-Oct-198813.9 KiB725326

verbs.FH A D20-Oct-198817 KiB896419

verbs.hH A D20-Oct-1988679 1716

villians.hH A D20-Oct-1988222 1110

villns.FH A D20-Oct-19887.5 KiB366186

vocab.hH A D20-Oct-1988556 2019

xpars.hH A D20-Oct-198895 43

xsrch.hH A D20-Oct-198881 43

README

1This is a source file distribution for the game dungeon as implemented
2in f77 for Unix(R) systems.  It is based on the game dungeon as
3distributed on a DECUS tape, circa 1980.  It has been converted from
4the original DEC FORTRAN into something that is palatable to Unix f77.
5See the file "History" for some revision history and credit to those
6whose efforts have made this possible.
7
8Checkout the Makefile and adjust it to fit your system.  The only
9things that should really need tweaking are the directory definitions
10and the "-D" defines.  There is an example for both large address
11machines (e.g. Vax) that get the complete game and small address
12machines (e.g. Pdp-11) that get a modified game with minor functionality
13missing (to get it to fit).  Also edit the include file "files.h" if
14necessary.
15
16All of the f77 files end in a '.F' extension to force f77 to invoke the
17C preprocessor for the #include files and #ifdefs.  Most of the #ifdefs
18are for the PDP version (default non-pdp) and for debug (default off).
19
20Except for DTEXT.DAT, all files in the distribution kit are ASCII.
21DTEXT.DAT is a binary file consisting of 76-byte fixed length records.
22
23This has been compiled and tested on a PDP-11/44 Version 7, PDP-11/70
242.9bsd Vax-11/785 4.3bsd and Sun-3 before the pdp and Vax sources were
25merged (see the file "History").  After the merge it was again tested on
26the Vax 11-785 4.3bsd.
27
28I/we consider my/our changes to be in the public domain.  The original
29source, however, is copyright.
30
31	John Gilmore, Nebula Consultants
32	hoptoad!gnu
33	11 December 1986
34
35	Bill Randle
36	Tektronix, Inc.
37	billr@tekred.TEK.COM
38	9 February 1987
39
40Dungeon consists of the following files:
41
42	dmain.F			-program root
43	dgame.F			-main routine
44	dsub.F			-resident subroutines
45	dinit.F			-initialization routine
46	np.F			-parser, part 0
47	np1.F			-parser, part 1
48	np2.F			-parser, part 2
49	np3.F			-parser, part 3
50	gdt.F			-game debugging tool
51	verbs.F			-principal verbs
52	objcts.F		-principal objects
53	sverbs.F		-simple verbs
54	dverb1.F		-auxiliary verbs, part 1
55	dverb2.F		-auxiliary verbs, part 2
56	actors.F		-character processors
57	demons.F		-demon processors
58	clockr.F		-clock event processors
59	rooms.F			-room processors
60	nrooms.F		-new room processors
61	sobjs.F			-simple objects
62	nobjs.F			-new objects
63	ballop.F		-balloon processor
64	lightp.F		-light processors
65	villns.F		-villain processors
66	dso1.F			-overlaid subroutines, part 1
67	dso2.F			-overlaid subroutines, part 2
68	dso3.F			-overlaid subroutines, part 3
69	dso4.F			-overlaid subroutines, part 4
70	dso5.F			-overlaid subroutines, part 5
71	dso6.F			-overlaid subroutines, part 6
72	dso7.F			-overlaid subroutines, part 7
73	advers.h		-header file
74	clock.h			-header file
75	curxt.h			-header file
76	debug.h			-header file
77	exits.h			-header file
78	files.h			-header file for directory paths
79	flags.h			-header file
80	gamestate.h		-header file
81	io.h			-header file
82	objects.h		-header file
83	oflags.h		-header file
84	oindex.h		-header file
85	parser.h		-header file
86	puzzle.h		-header file
87	rflag.h			-header file
88	rindex.h		-header file
89	rooms.h			-header file
90	screen.h		-header file
91	state.h			-header file
92	verbs.h			-header file
93	villians.h		-header file
94	vocab.h			-header file
95	xpars.h			-header file
96	xsrch.h			-header file
97	cinit.c			-C routine to initialize game [pdp ver]
98	cio.c			-C routine for misc i/o [pdp version]
99	rtim.c			-C routines for system dependent functions
100	listen.c		-C co-process for reading keyboard [pdp]
101	cspeak.c		-C co-process for displaying messages [pdp]
102	speak.F			-lookup messages for speak process [pdp]
103	decode.c		-C routine to decode binary text file [debug]
104	dindx.dat		-initialization data base
105	dtext.dat		-main data base [binary file]
106	rtext.dat		-message index file [pdp version]
107	dungeon.sh		-shell script to invoke pdp version
108	dungeon.doc		-original documentation file
109	dungeon.6		-man page abstracted from dungeon.doc
110	Makefile		-Makefile for making pdp or vax versions
111	History			-Some revision history notes
112	PDP.doc			-Notes on the PDP-11/Unix conversion
113	README			-This file
114

README.pdp

1After the data declarations were moved into seperate include files
2the sources refused to compile on a pdp-11.  Apparently, the pdp-11
3preprocessor can only handle a limited number of include files.
4To create a version on a pdp machine, you will probably have to
5combine the include files into one include file per source file in
6order to get it to compile.  Not all source files may need this extra
7bit of work.  You'll just have to try and compile and fix those that
8the compiler complains about.  I no longer have access to a pdp-11
9machine, so I can't do any testing on it.  (As stated in the README
10file, I have run this game on a pdp-11/70 before the include files
11were created.)
12
13		Bill Randle
14		8/31/87
15