home *** CD-ROM | disk | FTP | other *** search
-
- XD (1) BDS C Users' Group XD (1)
-
-
-
- NAME NAME
- xd - dump file in ascii, hex byte or hex word format
-
- SYNOPSIS SYNOPSIS
- xd xd [-wba] filename
-
- DESCRIPTION DESCRIPTION
- __ Xd is a program to dump a file to the console in one or more
- of three formats: ascii data, hex (2 digits/byte) or word
- (standard 8080 format, assuming low byte first).
-
- The following options are available:
- w - dump in word format (hex)
- b - dump in byte format (hex)
- a - dump as ascii
- The default option is -ba.
-
- In ascii, the following conventions are used to print special
- characters:
- control chars - ^ followed by uppercase char
- high bit (0x80) on - | followed by the character in the
- low 7 bits
- ctl char & 0x80 on - $ followed by uppercase character
- del (0x7f) - ^ followed by space
- 0xff - $ followed by space
-
- CAVEATS CAVEATS
- This program was tested with v1.50 of the BDS C compiler
- under CP/M 2.2. It should work with other versions of BDS C
- and CP/M, but has not been tested.
-
- EXAMPLES EXAMPLES
- xd sample.c dumps file "sample.c" to the console, in both
- ascii & hex format
- xd -w test.dat dumps file "test.dat" to the console in hex
- word format only
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -1-
-
- g conventions are used to print special
- chara