ftohex.1 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .
  4. .nr rst2man-indent-level 0
  5. .
  6. .de1 rstReportMargin
  7. \\$1 \\n[an-margin]
  8. level \\n[rst2man-indent-level]
  9. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  10. -
  11. \\n[rst2man-indent0]
  12. \\n[rst2man-indent1]
  13. \\n[rst2man-indent2]
  14. ..
  15. .de1 INDENT
  16. .\" .rstReportMargin pre:
  17. . RS \\$1
  18. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  19. . nr rst2man-indent-level +1
  20. .\" .rstReportMargin post:
  21. ..
  22. .de UNINDENT
  23. . RE
  24. .\" indent \\n[an-margin]
  25. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  26. .nr rst2man-indent-level -1
  27. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  28. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  29. ..
  30. .TH "FTOHEX" 1 "2022-09-29" "2.20.14.1" "SlackBuilds.org"
  31. .SH NAME
  32. ftohex \- convert dasm output files to intel hex format
  33. .\" RST source for ftohex(1) man page. Convert with:
  34. .
  35. .\" rst2man.py ftohex.rst > ftohex.1
  36. .
  37. .\" rst2man.py comes from the SBo development/docutils package.
  38. .
  39. .SH SYNOPSIS
  40. .sp
  41. ftohex \fIformat\fP \fIinfile\fP [\fIoutfile\fP]
  42. .SH DESCRIPTION
  43. .sp
  44. \fBftohex\fP converts a binary file produced by \fBdasm\fP(1) to an Intel
  45. \&.HEX file, which may be useful as input to an EPROM programmer.
  46. .sp
  47. \fIformat\fP is required, and must match the \fB\-f\fP option given to
  48. \fBdasm\fP to produce the file. Format \fI3\fP is a raw binary image, which
  49. need not have been produced by \fBdasm\fP\&. Format \fI1\fP is \fBdasm\fP\(aqs default,
  50. if no \fB\-f\fP was given.
  51. .sp
  52. \fIinfile\fP is required; there\(aqs no option to read from \fBstdin\fP, but you
  53. might try \fB/dev/stdin\fP if that\(aqs supported on your OS.
  54. .sp
  55. If \fIoutfile\fP is given, .HEX output will be written to it. Otherwise, the output
  56. is written to \fBstdout\fP\&.
  57. .SH EXAMPLE
  58. .INDENT 0.0
  59. .INDENT 3.5
  60. .sp
  61. .nf
  62. .ft C
  63. dasm example.asm \-f2 \-oexample.out
  64. ftohex 2 example.out example.hex
  65. .ft P
  66. .fi
  67. .UNINDENT
  68. .UNINDENT
  69. .SH COPYRIGHT
  70. .sp
  71. See the file /usr/doc/dasm\-2.20.14.1/LICENSE for license information.
  72. .SH AUTHORS
  73. .sp
  74. \fBftohex\fP is written and maintained by the DASM team and its contributors.
  75. .sp
  76. This man page written for the SlackBuilds.org project
  77. by B. Watson, and is licensed under the WTFPL.
  78. .SH SEE ALSO
  79. .sp
  80. \fBdasm\fP(1)
  81. .\" Generated by docutils manpage writer.
  82. .