summaryrefslogtreecommitdiffstats
path: root/development/dis6502/manpage.diff
blob: 0004c82a5baa0310ced92b942e97bc5e72f9b4c3 (about) (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
diff --git a/dis6502.1 b/dis6502.1
index 5234264..a0d9ea3 100644
--- a/dis6502.1
+++ b/dis6502.1
@@ -1,14 +1,34 @@
-.TH DIS6502 1 "12 SEP 2003"
-.UC 4
+.TH DIS6502 1 "16 MAY 2023" "0.15+2857fc3_20180311" "SlackBuilds.org"
 .SH NAME
 dis6502 \- Disassemble 6502 object code
 .SH SYNOPSIS
 .I dis6502
 [
-.I \-b 
+.B \-r \fIaddress\fP
+|
+.B \-b
+|
+.B \-l
+|
+.B \-c
 ]
 [
-.I -p \fIpfile\fP 
+.B \-a
+]
+[
+.B \-p \fIpfile\fP
+]
+[
+.B \-e \fIaddress\fP
+]
+[
+.B \-v \fIaddress\fP
+]
+[
+.B \-7
+]
+[
+.B \-P
 ]
 .I file
 .LP
@@ -24,41 +44,49 @@ process.  The output includes a cross reference.
 The disassembly process is a two pass operation:  First the program
 flow is traced starting with the init and run parameters in the file
 headers.  The dump routine then prints out the information.
-.PP
-The command line options are:
+.SH OPTIONS
 .TP
-.I \-r \fIaddress\fP
+.B \-r \fIaddress\fP
 Raw binary input file, with the first byte of the file being associated with
 the specified address.
 .TP
-.I \-b
+.B \-b
 Atari boot format input file.
 .TP
-.I \-l
+.B \-l
 Atari load format input file.
 .TP
-.I \-c
+.B \-c
 Commodore format input file.
 .TP
-.I \-p \fIpfile\fP 
+.B \-a
+Assembly output.
+.TP
+.B \-p \fIpfile\fP
 Read in the predefine file \fIpfile\fP.
 Up to 20 \fI-p\fP options may be included.
 .TP
-.I \-v \fIaddress\fP
+.B \-e \fIaddress\fP
+Use an alternate entry point address.
+.TP
+.B \-v \fIaddress\fP
 Use an alternate address for the reset and interrupt vectors.
 .TP
-.I \-7
+.B \-7
 Mask off MSB of character data.
-.PP
-Lines in pfile consist of:
+.TP
+.B \-P
+Decode Apple ProDOS MLI calls.
+.SH PREDEFINE FILES
+Lines in \fIpfile\fP consist of:
 .PP
 name .eq address
 .PP
  .stop address
 .PP
  .trace address
-.PP 
-.I Address 
+.PP
+.I Address
 may be a decimal number or
 may be a hexadecimal number (the first character of the number
 should be "$").  For example, "$21b5" is
@@ -66,12 +94,11 @@ the hexadecimal number 21b5.
 .I Name
 is a sequence of numbers and characters starting with a
 letter.
-.I .trace 
+.I .trace
 causes
-the trace process to continue at the address given.  
+the trace process to continue at the address given.
 .I .stop
 causes the
 trace process to stop at the address given.
 .SH AUTHORS
 Robert Bond, Udi Finkelstein, and Eric Smith
-.SH BUGS