aboutsummaryrefslogtreecommitdiff
path: root/development/dasm/ftohex.1
blob: 85aff49ac214e52cc52996e66e9cea5f93a4d85a (plain)
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
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "FTOHEX" 1 "2022-09-29" "2.20.14.1" "SlackBuilds.org"
.SH NAME
ftohex \- convert dasm output files to intel hex format
.\" RST source for ftohex(1) man page. Convert with:
.
.\" rst2man.py ftohex.rst > ftohex.1
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
ftohex \fIformat\fP \fIinfile\fP [\fIoutfile\fP]
.SH DESCRIPTION
.sp
\fBftohex\fP converts a binary file produced by \fBdasm\fP(1) to an Intel
\&.HEX file, which may be useful as input to an EPROM programmer.
.sp
\fIformat\fP is required, and must match the \fB\-f\fP option given to
\fBdasm\fP to produce the file. Format \fI3\fP is a raw binary image, which
need not have been produced by \fBdasm\fP\&. Format \fI1\fP is \fBdasm\fP\(aqs default,
if no \fB\-f\fP was given.
.sp
\fIinfile\fP is required; there\(aqs no option to read from \fBstdin\fP, but you
might try \fB/dev/stdin\fP if that\(aqs supported on your OS.
.sp
If \fIoutfile\fP is given, .HEX output will be written to it. Otherwise, the output
is written to \fBstdout\fP\&.
.SH EXAMPLE
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
dasm example.asm \-f2 \-oexample.out
ftohex 2 example.out example.hex
.ft P
.fi
.UNINDENT
.UNINDENT
.SH COPYRIGHT
.sp
See the file /usr/doc/dasm\-2.20.14.1/LICENSE for license information.
.SH AUTHORS
.sp
\fBftohex\fP is written and maintained by the DASM team and its contributors.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
\fBdasm\fP(1)
.\" Generated by docutils manpage writer.
.