.\" 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 "A8XD" 1 "2024-06-29" "0.2.1" "Urchlay's Atari 8-bit Tools" .SH NAME a8xd \- Atari ASCII aware hex dump .SH SYNOPSIS .sp \fIa8xd\fP [\fB\-i\fP] [\fB\-m\fP] [\fB\-v\fP] [\fIinfile\fP] .SH DESCRIPTION .sp \fBa8xd\fP is a hex dump utility, similar to \fBxxd\fP(1), but it understands and prints ATASCII characters rather than ASCII. .sp The ATASCII codes are converted to UTF\-8, in the same way as \fBa8cat\fP(1). Codes with the high bit set are displayed in inverse video, using ANSI/VT\-100 escape sequences. .sp By default, the output is colorized: .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .IP \(bu 2 Normal characters are green. This includes alphanumerics, spaces, and punctuation. .IP \(bu 2 Codes \fB$00\fP (null, or ATASCII heart) and \fB$9B\fP (EOL) are red. .IP \(bu 2 Control characters are yellow. This includes codes \fB$01\fP to \fB$1F\fP, (control + letters, escape, punctuation, and arrow keys), \fB$60\fP, \fB$7B\fP, \fB$7D\fP (clear screen), \fB$7E\fP (backspace), and \fB$7F\fP (tab). .UNINDENT .UNINDENT .UNINDENT .sp The colors and inverse rendering apply to both the ATASCII and hex bytes. .sp Without \fIinfile\fP, or if \fIinfile\fP is \fB\-\fP, \fBa8xd\fP reads from standard input. .SH OPTIONS .sp Options marked with \fB*\fP are not yet implemented. .INDENT 0.0 .TP .B \-i Print XL/XE International Character Set conversions instead of ATASCII. .UNINDENT .INDENT 0.0 .TP .B \-l \fIlen\fP Stop after dumping \fIlen\fP bytes. \fIlen\fP may be given in decimal or hex (with leading \fI0x\fP or \fI$\fP). .UNINDENT .INDENT 0.0 .TP .B \-m Monochrome mode. Disables color, but ATASCII characters with the high bit set are still displayed in inverse. .UNINDENT .INDENT 0.0 .TP .B \-o \fIoffset\fP Add \fIoffset\fP to displayed file position. \fIoffset\fP can be given in decimal or hex (with leading \fI0x\fP or \fI$\fP). Negative offsets are allowed, but they will be printed as very large positive numbers in the output (this matches \fBxxd\fP\(aqs behaviour). .TP .B \-s \fI[\-]seek\fP Start at \fIseek\fP bytes. Without \fI\-\fP, this is an absolute offset. With \fI\-\fP, it\(aqs relative to the end of the file. The \fI\-\fP option won\(aqt work when reading from standard input. \fIseek\fP may be given in decimal or hex (with leading \fI0x\fP or \fI$\fP). .UNINDENT .INDENT 0.0 .TP .B \-u Use uppercase letters for hex digits; the default is lowercase. .TP .B \-v Verbose. Shows various debug messages that are probably only useful if you\(aqre hacking on \fBa8xd\fP\&. .UNINDENT .INDENT 0.0 .TP .B \fB\-\-\fP End of options; the nex argument is the filename. Use this if you\(aqre trying to work with files whose names begin with \fI\-\fP\&. .TP .B \fB\-h\fP, \fB\-\-help\fP Show built\-in help and exit. .TP .B \fB\-\-version\fP Show version number and exit. .UNINDENT .SH NOTES .sp \fBa8xd\fP supports a useful subset of \fBxxd\fP(1) options. The main things missing are: .INDENT 0.0 .IP \(bu 2 \fB\-r\fP (revert). .IP \(bu 2 \fB\-include\fP (output as C include) and all options related to it. .IP \(bu 2 \fB\-g\fP (grouping; \fBa8xd\fP always uses a group size of 1 byte). .IP \(bu 2 \fB\-E\fP (EBCDIC mode). .IP \(bu 2 \fB\-p\fP (PostScript/continuous dump). .IP \(bu 2 \fB\-cols\fP (\fBa8xd\fP only supports 16 column dumps). .IP \(bu 2 \fB\-b\fP (bits mode). .UNINDENT .sp Another difference is that \fBa8xd\fP doesn\(aqt support files larger than 2GB. This won\(aqt be a problem for Atari 8\-bit\-related files! .SH COPYRIGHT .sp WTFPL. See \fI\%http://www.wtfpl.net/txt/copying/\fP for details. .SH AUTHOR .INDENT 0.0 .IP B. 3 Watson <\fI\%urchlay@slackware.uk\fP>; Urchlay on irc.libera.chat \fI##atari\fP\&. .UNINDENT .SH SEE ALSO .sp \fBa8eol\fP(1), \fBa8utf8\fP(1), \fBatr2xfd\fP(1), \fBatrsize\fP(1), \fBaxe\fP(1), \fBblob2c\fP(1), \fBblob2xex\fP(1), \fBcart2xex\fP(1), \fBcxrefbas\fP(1), \fBdasm2atasm\fP(1), \fBdumpbas\fP(1), \fBf2toxex\fP(1), \fBfenders\fP(1), \fBlistbas\fP(1), \fBprotbas\fP(1), \fBrenumbas\fP(1), \fBrom2cart\fP(1), \fBunmac65\fP(1), \fBunprotbas\fP(1), \fBvxrefbas\fP(1), \fBxexamine\fP(1), \fBxexcat\fP(1), \fBxexsplit\fP(1), \fBxfd2atr\fP(1), \fBxex\fP(5), \fBatascii\fP(7). .sp Any good Atari 8\-bit book: \fIDe Re Atari\fP, \fIThe Atari BASIC Reference Manual\fP, the \fIOS Users\(aq Guide\fP, \fIMapping the Atari\fP, etc. .\" Generated by docutils manpage writer. .