-
Notifications
You must be signed in to change notification settings - Fork 14
/
MUD.MIC
136 lines (136 loc) · 2.13 KB
/
MUD.MIC
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
.noerror
.if ($A#"") .goto 'A
!To compile load and save MUD in its entirety say .do mud m.
!If the database file DBADAT and also MBOOTS are in .rel form
!then say .do mud b. To just compile MUD.BCL say .do mud r. To merely load
!MUD say .do mud r2. To compile bits of mud DO MUD <n> for MUD<n>.BCL
!To compile load and save DBASE say .do mud dm if the database file DBADAT
!is not already compiled, .do mud db if it is.
!To compile and load POWER, .do MUD p
!To produce documentation say .do mud doc.
!To delete MUD.MAS and make a new one say .do MUD new.
!To tidy up the area then logout .do MUD tidy.
!To reassemble and load a MUD with smaller freevec .do MUD s
!To do M and DB options together, .do MUD all
.mic exit
P::
.r bcpl
*power/o
*link!
*power/g
ssave power
.mic exit
ALL::
M::
.r macro
*dbadat=dbadat
*mboots=mboots
*^Z
B::
.r bcpl
*mud0/o
*mud1/o
*mud2/o
*mud3/o
*mud4/o
*mud5/o
*mud6/o
*mud7/o
*mud8/o
*mudlib/o
*^Z
R2::
.r link
*mud0,mud1,mud2,mud3,mud4,mud5,mud6,mud7,mud8,mudlib,mboots/COUNTER/set:.high.:502700
*dbadat/g
.ssave
.if ($A="all") .goto DB
.mic exit
DM::
.r macro
*dbadat=dbadat
^C
DB::
.r bcpl
*dbase/o
DL::
.r link
*/set:.high.:430000
*dbase,sys:bcplib/search/set:.high.:502700,dbadat/g
.save
.mic exit
R::
.r bcpl
*mud0/o
*mud1/o
*mud2/o
*mud3/o
*mud4/o
*mud5/o
*mud6/o
*mud7/o
*mud8/o
*^Z
.backto R2
0::
1::
2::
3::
4::
5::
6::
7::
8::
.r bcpl
*mud'A/o
*^Z
.backto R2
DOC::
.r csc:form
*muddle/p1
*muddle/camera
.mic exit
DEL::
NEW::
MAS::
.r setsrc
*c dskb,*
*^Z
.r ed
*del mud.mas
*q
.r subfil-mud.sub
.pro mud.mas<477>
.mic exit
ML::
.r bcpl
*mudlib/o
^Z
.backto r2
S::
.r macro
*dbadat=dbadat
*^Z
.r link
*mud0,mud1,mud2,mud3,mud4,mud5,mud6,mud7,mud8,mudlib,mboots/COUNTER/set:.high.:502700
*dbadat/g
.ssave
.r link
*/set:.high.:430000
*dbase,sys:bcplib/search/set:.high.:502700,dbadat/g
.save
.mic exit
TIDY::
.r subfil-mud.sub/d
.del *.rel
.del mud.dmp
.if ($B="") .goto logout
.cop 'B_mud.mas
.cop 'B_mud.txt
.cop 'B_dbase.exe
.cop dskc:'B_mud.?pm
LOGOUT::
.del dbase.exe
.if ($C="") .r logout
.mic exit