-
Notifications
You must be signed in to change notification settings - Fork 12
/
m3.zil
68 lines (52 loc) · 1.34 KB
/
m3.zil
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
"COMPILE/LOAD FILE for M3
Copyright (C) 1984 Infocom, Inc. All rights reserved."
<REPEAT (CHR)
<PRINC "Debugging? (Y or N): " ,OUTCHAN>
<SET CHR <TYI>>
<COND (<MEMQ .CHR "Yy ">
<PRINC " Debugging!
" ,OUTCHAN>
<RETURN <SETG DEBUGGING? T>>)
(<MEMQ .CHR "Nn">
<PRINC " No debugging!
" ,OUTCHAN>
<RETURN <SETG DEBUGGING? <>>>)
(ELSE
<PRINC " ??
" ,OUTCHAN>)>>
<DEFINE DEBUG-CODE ('X "OPTIONAL" ('Y T))
<COND (,DEBUGGING? .X)(ELSE .Y)>>
<COND (<GASSIGNED? PREDGEN>
<PRINC "Compiling">
<ID 0>)
(T <PRINC "Loading">)>
<PRINC " Suspect: An INTERLOGIC Mystery
">
<BLOAT 90000 0 0 3500 0 0 0 0 0 512>
<SET REDEFINE T>
;<GLOBAL BIGFIX 10000>
<OR <GASSIGNED? ZILCH>
<SETG WBREAKS <STRING !\" !,WBREAKS>>>
<DEFINE IFILE (STR "OPTIONAL" (FLOAD? <>) "AUX" (TIM <TIME>))
<INSERT-FILE .STR .FLOAD?>>
<DIRECTIONS NORTH SOUTH EAST WEST NE NW SE SW UP DOWN IN OUT>
<CONSTANT SERIAL 0>
<PROPDEF SIZE 5>
<PROPDEF CAPACITY 0>
<COND (<GASSIGNED? PREDGEN>
<SETG ZSTR-ON <SETG ZSTR-OFF ,TIME>>)>
<IFILE "MACROS" T>
<IFILE "SYNTAX" T>
%<DEBUG-CODE <IFILE "DEBUG" T>>
<IFILE "PARSER" T>
<ENDLOAD> ;"ZILCH ignores this, of course"
<IFILE "CLOCK" T>
<IFILE "MAIN" T>
<IFILE "GOAL" T>
<IFILE "VERBS" T>
<IFILE "PLACES" T>
<IFILE "PEOPLE" T>
<IFILE "THINGS" T>
<IFILE "EVENTS" T>
<GC-MON T>
<GC 0 T 5>