summaryrefslogtreecommitdiffstats
path: root/development/zooey/manpagefixes.diff
blob: 06b7242fde402520b5fb03dccd9fdc073357aede (plain) (blame)
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
diff -Naur zooey-1.4.orig/zooey.1 zooey-1.4/zooey.1
--- zooey-1.4.orig/zooey.1	2006-12-29 06:17:20.000000000 -0500
+++ zooey-1.4/zooey.1	2022-12-27 19:45:47.730325765 -0500
@@ -3,66 +3,65 @@
 ZooEY \- 6502 crossassembler.
 
 .SH SYNOPSIS
-.B zooey
- [\fIOPTIONS\fR] source
+.B zooey \fB\-o output\fR [\fIOPTIONS\fR] \fBsource\fR
 
 .SH DESCRIPTION
 .PP
 ZooEY is a crossassembler designed for 6502 processors. Binaries are generated specially for
-8-bit Atari systems (Atari DOS II and SpartaDOS X formats supported). This tool is
+8\-bit Atari systems (Atari DOS II and SpartaDOS X formats supported). This tool is
 compatible with Quick Assembler, one of most popular assemblers in Poland.
 
 .SH OPTIONS
 .TP
-\fB\ -d\fR
+\fB\ \-d\fR
 More information about assembly process.
 .TP
-\fB\ -h\fR
+\fB\ \-h\fR
 Help.
 .TP
-\fB\ -i path\fR
-Add directory to search path for icl files. Order is: current dir is first, next is first -i path,
-second -i path and next.
+\fB\ \-i path\fR
+Add directory to search path for icl files. Order is: current dir is first, next is first \-i path,
+next is second \-i path, etc.
 .TP
-\fB\ -l filename\fR
+\fB\ \-l filename\fR
 Generate labels report. Each line consists of 5 fields:
 label name, decimal value, hexadecimal value, declaration line number and
 (optional) additional information.
-In last filed can be two values: 'Reloc' means that label is relocable. 'Unused' means
+In last field can be two values: 'Reloc' means that label is relocatable. 'Unused' means
 that label is unused.
 .TP
-\fB\ -m\fR
+\fB\ \-m\fR
 Check memory collisions. You can check collisions only with 'd' and 's' block types.
 All other blocks are ignored.
 .TP
-\fB\ -o filename\fR
-Output fle name. 
+\fB\ \-o filename\fR
+Output file name. 
 .TP
-\fB\ -r\fR
-Remove previously created file if assembly fail. Name is taken from \fI-o\fR option.
+\fB\ \-r\fR
+Remove previously created file if assembly fails. Name is taken from \fI\-o\fR option.
 .TP
-\fB\ -s\fR
+\fB\ \-s\fR
 Turn on SpartaDOS X filenames for ICL directive. Ordinary paths looks like 'D2:filename.ext'.
 If you have sources from SDX, your paths' syntax may be like 'D:>dir1>dir2>filename.ext'.
 All included file must be in current directory.
 .TP
-\fB\ -v\fR
-Prints version and exit.
+\fB\ \-v\fR
+Prints version and exits.
 .TP
-\fB\ -w\fR
+\fB\ \-w\fR
 Turn display warnings on.
 .TP
-\fB\ -z\fR
+\fB\ \-z\fR
 Turn off QA strange behavior. Currently works:
 .br
-- pseudodirective \fIend\fR used in file included by \fIicl\fR conclude current file and back
+\- pseudodirective \fIend\fR used in file included by \fIicl\fR conclude current file and back
 to previous file, not to main,
-- pseudodirectove \fIopt\fR are not skipped in file included by \fIicl\fR.
+\- pseudodirectove \fIopt\fR are not skipped in file included by \fIicl\fR.
 
 .SH QA INCOMPATIBILITIES
 
 ZooEY is a Quick Assembler descendant. As such it should work well with
-any code written natively with Quick Assembler. However when porting some
+any code written natively with Quick Assembler. However, when porting some
 code from original QA sources, you have to be aware that not all options
 of native OPT directive are supported. Those that work are generating
 binary headers and generating source printout. For details, look at pseudo
@@ -70,51 +69,51 @@
 
 .SH VALUES AND TYPES
 
-A numeric value is a number from 0 to $FFFF (0-65535).
+A numeric value is a number from 0 to $FFFF (0\-65535).
 It can be put down in any of the following ways, which
 defines how it is treated by the assembler:
 .RS 0
-.B - \fI:lda 2000,x\fR
+.B \- \fI:lda 2000,x\fR
 generates opcode of the mnemonic in specified addressing mode,
 .BR
 .br
-.B - \fI<$2000\fR
+.B \- \fI<$2000\fR
 generates LSB of the word,
 .BR
 .br
-.B - \fI>$2000\fR
+.B \- \fI>$2000\fR
 generates MSB of the word,
 .BR
 .br
-.B - \fI'A'\fR
+.B \- \fI'A'\fR
 generates an ATASCII/ASCII code of the value,
 .BR
 .br
-.B - \fI'A'*\fR
+.B \- \fI'A'*\fR
 generates an ATASCII/ASCII code of the value +128 (highest bit inverted),
 .BR
 .br
-.B - \fI"A"\fR
+.B \- \fI"A"\fR
 generates an internal code of the value,
 .BR
 .br
-.B - \fI"A"*\fR
+.B \- \fI"A"*\fR
 generates an internal code of the value +128 (highest bit inverted),
 .BR
 .br
-.B - \fI*\fR
-current PC (Program Counter) value. This is a 16-bit value,
+.B \- \fI*\fR
+current PC (Program Counter) value. This is a 16\-bit value,
 .BR
 .br
-.B - \fI$1010\fR
+.B \- \fI$1010\fR
 a hex representation of the value,
 .BR
 .br
-.B - \fI%1010\fR
+.B \- \fI%1010\fR
 a binary representation of the value,
 .BR
 .br
-.B - \fI1010\fR
+.B \- \fI1010\fR
 a decimal representation of the value.
 .BR
 .TP
@@ -128,8 +127,8 @@
 multiplication, division, modulo, division,
 .BR
 .br
-.B \fI+ -\fR
-addition, substraction,
+.B \fI+ \-\fR
+addition, subtraction,
 .BR
 .br
 .B \fI< >\fR
@@ -158,8 +157,8 @@
 
 .SH MACROS
 
-Macro must be enclosed in \fImac\fR and \fIenm\fR directives.
-And the macro arguments must start with \\ and
+A macro must be enclosed in \fImac\fR and \fIenm\fR directives.
+The macro arguments must start with \\ and
 be decimal numbers which correspond to macro argument
 sequence. To use a macro you just call its name and arguments
 like: macro_name arg1,arg...,argN.
@@ -181,12 +180,12 @@
 .br
 enm
 .PP
-.RS -7
+.RS \-7
 Using the macro:
 .br
 .RS 7
 blah $2000,$2001
-.RS -7
+.RS \-7
 .PP
 The above macro will be unrolled by assembler into:
 .br
@@ -202,7 +201,7 @@
 .RS 4
  .ifdef value
 .br
- .if codition
+ .if condition
 .br
  .elif condition
 .br
@@ -210,7 +209,7 @@
 .br
  .fi
 .br
-.RS -4
+.RS \-4
 where 'condition' is any arithmetic or logical argument, and 'value' is const symbol defined or not.
 .br
 An example:
@@ -225,26 +224,26 @@
 .br
 cmp 20
 .br
-beq *-2
-.RS -3
+beq *\-2
+.RS \-3
  .fi
 
 .SH ADDITIONAL DIRECTIVES
 
 Those two are automatic. I.e assembler recognizes the EOLs anyway.
-If, for some reason the assembler can't parse the EOLs, those directive can
+If, for some reason the assembler can't parse the EOLs, these directives can
 force it into a specified EOL mode.
 .RS 0
 .B \fI.atari\fR
-forces the assembler to assume that the sourcefile has atari EOLs (9B)
+forces the assembler to assume that the sourcefile has Atari EOLs (9B)
 .BR
 .br
 .B \fI.unix\fR
-forces the assembler to assume that the sourcefile has unix EOLs (0A)
+forces the assembler to assume that the sourcefile has Unix EOLs (0A)
 .BR
 .PP
 The assembling of unpublished (illegal) or extended (65C02) instructions.
-By default Zooey uses the op-code list of a generic vanilla MOS6502.
+By default Zooey uses the op\-code list of a generic vanilla MOS6502.
 If you want to extend the instruction set use the following:
 .RS 0
 .B \fI.65c02\fR
@@ -261,7 +260,7 @@
 .PP
 .B \fIbin 'fname'[,A[,B]]\fR
 includes contents of the file 'fname'.
-If A is present - readout starts at the offset A, if B is present,
+If A is present \- readout starts at the offset A, if B is present,
 B bytes of file are read in.
 .BR
 .PP
@@ -275,33 +274,33 @@
 .BR
 .RS 5
 .br
-.B - a
-- address - 16-bit value.
-You can write adresses in a row like this: 'dta a(1,2,3,4)',
+.B \- a
+\- address \- 16\-bit value.
+You can write addresses in a row like this: 'dta a(1,2,3,4)',
 .BR
 .br
-.B - b
-- byte - 8-bit value,
+.B \- b
+\- byte \- 8\-bit value,
 .BR
 .br
-.B - c
-- ATASCII/ASCII code(s) for given argument e.g. dta c'ABCD',
+.B \- c
+\- ATASCII/ASCII code(s) for given argument e.g. dta c'ABCD',
 .BR
 .br
-.B - d
-- Internal Antic Character code(s) for given argument,
+.B \- d
+\- Internal Antic Character code(s) for given argument,
 .BR
 .br
-.B - h
-- MSB of argument,
+.B \- h
+\- MSB of argument,
 .BR
 .br
-.B - l
-- LSB of argument,
+.B \- l
+\- LSB of argument,
 .BR
 .br
-.B - v
-- vector - 16bit value, relocatable.
+.B \- v
+\- vector \- 16bit value, relocatable.
 .BR
 .br
 \fINOTICE\fR: Relocatable values work only when declared indirectly
@@ -309,86 +308,86 @@
 .br
 Example:
 .br
-dta v($1000) - unrelocatable vector value (constant)
+dta v($1000) \- unrelocatable vector value (constant)
 .br
-dta v(*) - relocatable vector value
+dta v(*) \- relocatable vector value
 .br
-dta v(*+100) - relocatable, if inside a relocatable block.
-.RS -5
+dta v(*+100) \- relocatable, if inside a relocatable block.
+.RS \-5
 .PP
 .B \fImem A,B\fR
 define(reserve) memory block started at A and size B. Usefull only
-with \fI-m\fR option (memory checking).
+with \fI\-m\fR option (memory checking).
 .PP
 .B \fIopt\fR
-assembling options. You can use a number, p+ and p- as arguments.
+assembling options. You can use a number, p+ and p\- as arguments.
 .RS 5
 .br
-.B - a number
-is a value from 0 to 255 (compatible with QA opt -
+.B \- a number
+is a value from 0 to 255 (compatible with QA opt \-
 but not all bit setups are supported),
 .BR
 .br
-.B - p+, p-
+.B \- p+, p\-
 source printout on and off.
 .BR
 .br
-.B - h+, h-
+.B \- h+, h\-
 standard DOS header (FFFF) on and off.
-.RS -5
+.RS \-5
 .PP
 .B \fIorg\fR
 binary header block generation (interchangable with 'blk').
 The parameters are:
 .RS 5
 .br
-.B - addr
-- address (exactly like in QA),
+.B \- addr
+\- address (exactly like in QA),
 .BR
 .br
-.B - n,addr
-- headerless block, beginning with addr,
+.B \- n,addr
+\- headerless block, beginning with addr,
 .BR
 .br
-.B - d,addr<,addr2>
-- a generic DOS block with FFFF header.
-Source is assembled from addr. If addr2 is provided, the block addres is addr2.
+.B \- d,addr<,addr2>
+\- a generic DOS block with FFFF header.
+Source is assembled from addr. If addr2 is provided, the block address is addr2.
 .BR
 .br
-.B - e,[m|e],size
-- dummy block. Reserves a memory block in lowmem or xms.
+.B \- e,[m|e],size
+\- dummy block. Reserves a memory block in lowmem or xms.
 Does not contain data, only reserves address space of size 'size',
 .BR
 .br
-.B - s,addr
-- generic Sparta block with FAFF header. Symbols and jumps
+.B \- s,addr
+\- generic Sparta block with FAFF header. Symbols and jumps
 to 'r' type block are supported.
 After using the two, one must use 'u,a' and 'u,s' blocks
 (using the same rules as apply for 'r' type blocks),
 .BR
 .br
-.B - r,[m|e]
-- relocatable sparta block with FEFF header.
+.B \- r,[m|e]
+\- relocatable sparta block with FEFF header.
 After the last 'r' block, you must use 'u,a' block(s).
-And, if you used symbols - 'u,s' block(s),
+And, if you used symbols \- 'u,s' block(s),
 .BR
 .br
-.B - u,a
-- address update block (must follow 'r' block - see above),
+.B \- u,a
+\- address update block (must follow 'r' block \- see above),
 .BR
 .br
-.B - u,s
-- symbol update block (must follow 'r' block - see above),
+.B \- u,s
+\- symbol update block (must follow 'r' block \- see above),
 .BR
 .br
-.B - u,n,'name',addr
-- symbol declaration block. Defines symbol 'name' (max 8 chars) beginning at addr.
+.B \- u,n,'name',addr
+\- symbol declaration block. Defines symbol 'name' (max 8 chars) beginning at addr.
 .BR
 .PP
-.RS -5
+.RS \-5
 .B \fIsin A,B[,C]\fR
 generates a sine table with MAX of A and table length of B.
-The aplitude level is at 0 or C (if specified).
+The amplitude level is at 0 or C (if specified).
 .BR
 .PP
 .B \fIsmb\fR
@@ -419,7 +418,7 @@
 .PP
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111\-1307  USA
 
 .SH AUTHORS
 .TP
@@ -430,12 +429,12 @@
 Testing and documentation.
 
 .SH REPORTING BUGS
-Report bugs to <zooey-devel@lists.sourceforge.net>.
+Report bugs to <zooey\-devel@lists.sourceforge.net>.
 
 .SH EXIT CODES
 0 assembly OK,
 .br
-1 warnigs (if displayed),
+1 warnings (if displayed),
 .br
 2 errors,
 .br