aboutsummaryrefslogtreecommitdiff
path: root/development/dasm/ftohex.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-09-30 22:09:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-01 09:01:16 +0700
commiteb759e589721fd3aeffb8d62d7480c1740895cdb (patch)
treec6e38574c9ab69fd937184ad3fbe7c0c0741b59e /development/dasm/ftohex.rst
parent74b641bef7b7958306b9c0e878d4870b7bc194b8 (diff)
development/dasm: Added (assembler for 6502 & other 8-bit CPUs)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/dasm/ftohex.rst')
-rw-r--r--development/dasm/ftohex.rst67
1 files changed, 67 insertions, 0 deletions
diff --git a/development/dasm/ftohex.rst b/development/dasm/ftohex.rst
new file mode 100644
index 0000000000000..e0519963c0de1
--- /dev/null
+++ b/development/dasm/ftohex.rst
@@ -0,0 +1,67 @@
+.. RST source for ftohex(1) man page. Convert with:
+.. rst2man.py ftohex.rst > ftohex.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 2.20.14.1
+.. |date| date::
+
+======
+ftohex
+======
+
+---------------------------------------------
+convert dasm output files to intel hex format
+---------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+ftohex *format* *infile* [*outfile*]
+
+DESCRIPTION
+===========
+
+**ftohex** converts a binary file produced by **dasm**\(1) to an Intel
+.HEX file, which may be useful as input to an EPROM programmer.
+
+*format* is required, and must match the **-f** option given to
+**dasm** to produce the file. Format *3* is a raw binary image, which
+need not have been produced by **dasm**. Format *1* is **dasm**'s default,
+if no **-f** was given.
+
+*infile* is required; there's no option to read from **stdin**, but you
+might try **/dev/stdin** if that's supported on your OS.
+
+If *outfile* is given, .HEX output will be written to it. Otherwise, the output
+is written to **stdout**.
+
+EXAMPLE
+=======
+
+::
+
+ dasm example.asm -f2 -oexample.out
+ ftohex 2 example.out example.hex
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/dasm-|version|/LICENSE for license information.
+
+AUTHORS
+=======
+
+**ftohex** is written and maintained by the DASM team and its contributors.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**dasm**\(1)