annotate level1/cmds/error.asm @ 946:5c80e10a5d03

renamed variable that was clashing with one in systype
author boisy
date Tue, 21 Jan 2003 21:17:37 +0000
parents cef89b8a4241
children 84ea83668304
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
1 ********************************************************************
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
2 * Error - Show text error messages
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
3 *
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
4 * $Id$
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
5 *
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
6 * By Bob Devries (c) 2003; bdevries@gil.com.au
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
7 *
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
8 * Released under the GNU public licence
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
9 *
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
10 * Ed. Comments Who YY/MM/DD
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
11 * ------------------------------------------------------------------
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
12 * 1 Rewrote in assembler for size RdV 03/01/20
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
13 * Ffixed problem with trailing space RdV 03/01/21
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
14
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
15 nam Error
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
16 ttl Show text error messags
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
17
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
18 ifp1
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
19 use defsfile
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
20 endc
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
21
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
22 tylg set Prgrm+Objct
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
23 atrv set ReEnt+rev
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
24 rev set $01
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
25 edition set 1
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
26
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
27 mod eom,name,tylg,atrv,start,size
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
28
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
29 name fcs /Error/
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
30 fcb edition
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
31
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
32 org 0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
33 path rmb 1
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
34 same rmb 1
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
35 prmptr rmb 2
946
5c80e10a5d03 renamed variable that was clashing with one in systype
boisy
parents: 938
diff changeset
36 prmend rmb 2
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
37 length rmb 2
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
38 parbuff rmb 256
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
39 filbuff rmb 256
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
40 stack rmb 350
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
41 size equ .
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
42
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
43 start cmpd #1 1 char == CR
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
44 lbeq help
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
45 tfr d,y length of parameters
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
46 bsr open
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
47 bcs exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
48 pshs u
938
cef89b8a4241 Fixed some bad assembler assumptions
boisy
parents: 937
diff changeset
49 leau parbuff,u point to buffer
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
50 entry0 lda ,x+
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
51 cmpa #C$SPAC is it a space (between parameters?)
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
52 beq entry1
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
53 cmpa #C$CR
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
54 bne nocr
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
55 entry1 clra yes, null it
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
56 nocr sta ,u+ store in buffer
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
57 leay -1,y decrement length counter
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
58 bne entry0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
59 clr ,u
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
60 tfr u,y
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
61 puls u
946
5c80e10a5d03 renamed variable that was clashing with one in systype
boisy
parents: 938
diff changeset
62 sty <prmend store end of all parameters
938
cef89b8a4241 Fixed some bad assembler assumptions
boisy
parents: 937
diff changeset
63 leax parbuff,u load address of parbuff into X
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
64 stx <prmptr save parameter pointer
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
65 entry2 lda ,x
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
66 bne entry3
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
67 leax 1,x
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
68 bra rered2
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
69 entry3 bsr strlen go get string length of first param
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
70 std <length store it
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
71 reread bsr readlin read line from errmsg file
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
72 bcc rered0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
73 cmpb #E$EOF did we find end-of-file?
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
74 lbeq unknown yep, tell user we don't know his error num
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
75 rered0 bsr compare compare user number with 1st 3 chars of line
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
76 beq reread compare returns 0 if failed
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
77 bsr print else go print the errmsg line
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
78 bcs exit exit if I$WritLn problem
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
79 rered1 ldd <length get length
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
80 ldx prmptr get parameter pointer
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
81 leax d,x add length to it
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
82 leax 1,x increment past null byte
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
83 rered2 clrb
946
5c80e10a5d03 renamed variable that was clashing with one in systype
boisy
parents: 938
diff changeset
84 cmpx <prmend
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
85 bge exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
86 stx <prmptr store it
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
87 lbsr seek0 rewind the file
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
88 bra entry2 loop around again
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
89
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
90 exit os9 F$Exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
91
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
92 open pshs x
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
93 leax errmsg,pcr point to file name
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
94 lda #READ. read mode
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
95 os9 I$Open
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
96 bcs open0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
97 sta <path store path number
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
98 open0 puls x,pc
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
99
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
100 readlin pshs x,y
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
101 lda <path get file path number
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
102 ldy #256 read max 256 bytes
938
cef89b8a4241 Fixed some bad assembler assumptions
boisy
parents: 937
diff changeset
103 leax filbuff,u into memory pointed to by filbuff
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
104 os9 I$ReadLn
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
105 puls x,y,pc
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
106
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
107 print pshs x,y,a
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
108 lda #1 STDOUT
938
cef89b8a4241 Fixed some bad assembler assumptions
boisy
parents: 937
diff changeset
109 leax filbuff,u point to buffer
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
110 ldy #256 max of 256 chars
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
111 os9 I$WritLn
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
112 puls x,y,a,pc
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
113
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
114 strlen pshs x,y
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
115 ldy #0 initialise count
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
116 strl0 tst ,x+ is it a char > null
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
117 beq strl1 nope, exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
118 leay 1,y yep, increment count
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
119 bra strl0 do again
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
120 strl1 tfr y,d return with length in D
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
121 puls x,y,pc
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
122
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
123 compare pshs x,y
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
124 clr <same comparison indicator
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
125 ldx prmptr get address of next cmd line param
938
cef89b8a4241 Fixed some bad assembler assumptions
boisy
parents: 937
diff changeset
126 leay filbuff,u point to file buffer
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
127 comp0 lda ,x+ get char from cmd line
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
128 beq comp1 is it null (end of param)
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
129 cmpa ,y+ compare to file buffer
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
130 bne comp2 not same, exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
131 inc <same yep, in comparison counter
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
132 bra comp0 'round again
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
133 comp1 lda ,y
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
134 cmpa #C$SPAC was it end of number in errmsg file?
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
135 bne comp2
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
136 tst <same test indicator
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
137 puls x,y,pc
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
138 comp2 clr <same clear the counter
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
139 puls x,y,pc
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
140
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
141 unknown leax unkmsg,pcr point to message
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
142 ldy #unkmsgl num of chars to print
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
143 lda #1 to STDOUT
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
144 os9 I$Write
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
145 lbcs exit exit if problem with I$Write
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
146 ldx prmptr put pointer into parameter buffer in X
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
147 lda #1 STDOUT
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
148 ldy <length get length of user's param
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
149 os9 I$Write
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
150 lbcs exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
151 lda #1 STDOUT
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
152 leax return,pcr point to CR char
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
153 ldy #1 print 1 char
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
154 os9 I$WritLn
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
155 lbcs exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
156 ldx prmptr put point into parameter buffer in X
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
157 ldd <length get length of user's param
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
158 leax d,x add to X
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
159 leax 1,x increment past null byte
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
160 clrb
946
5c80e10a5d03 renamed variable that was clashing with one in systype
boisy
parents: 938
diff changeset
161 cmpx prmend
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
162 lbge exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
163 stx <prmptr store X
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
164 bsr seek0 rewind file
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
165 lbra entry2
324
eb24764bc7b7 Added error.asm to source base
boisy
parents:
diff changeset
166
937
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
167 seek0 pshs x,u
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
168 lda <path
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
169 ldx #0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
170 ldu #0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
171 os9 I$Seek
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
172 puls x,u,pc
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
173
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
174 help leax hlpmsg,pcr point to help message
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
175 lda #2 STDERR
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
176 ldy #256 max of 256 bytes (arbitrary, really)
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
177 os9 I$WritLn
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
178 lbcs exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
179 leax hlpmsg2,pcr 2nd line of message
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
180 lda #2
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
181 ldy #256
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
182 os9 I$WritLn
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
183 lbcs exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
184 clrb
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
185 lbra exit
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
186
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
187 hlpmsg fcc /Error errno [errno...]/
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
188 fcb C$CR
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
189 hlpmsg2 fcc /Usage: returns error message for given error numbers/
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
190 fcb C$CR
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
191 errmsg fcc "/DD/SYS/errmsg"
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
192 fcb 0
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
193 unkmsg fcc /Unknown error number - /
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
194 unkmsgl equ *-unkmsg
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
195 return fcb C$CR
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
196
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
197 emod
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
198 eom equ *
9f5945771770 Rewritten in assembler for size -- thanks Bob
boisy
parents: 924
diff changeset
199 end