1srec_dec_binary(5)            File Formats Manual           srec_dec_binary(5)
2
3
4

NAME

6       srec_dec_binary - DEC Binary (XXDP) file format
7

DESCRIPTION

9       The  DEC  Binary  (XXDP) format was used on the PDP 11 series machines.
10       This is a binary format, and is not readable or editable  with  a  text
11       editor.  The file consists of records of the form
12
13                  ┌─────┬────────┬─────────┬────────────┬──────────┐
14                  │type │ length │ address │ ...data... │ checksum │
15       The field a└r─e──d─e─f┴i─n─e─d──a─s──f┴o─l─l─o─w─s─:───┴────────────┴──────────┘
16
17       type    Two byte little-endian value.  Must always be 1.
18
19       length  Two  byte  little-endian value.  This is the number of bytes in
20               the data, plus six.
21
22       address Two byte little-endian value.  This is the load address of  the
23               data.
24
25       data    The data is simple raw bytes.  There are (length-6) of them.
26
27       checksum
28               The checcksum is a single byte.  It is the negative of the sim‐
29               ple summ of all the header and data bytes.
30
31       If the record length is exactly 6 (i.e. no data),  this  is  the  start
32       address record, indicating the transfer address.
33
34       In addition there may be NUL padding characters between records.  It is
35       common for records to be padded so that they start on even byte  bound‐
36       aries.   In  the days of paper tape, it was common for the file to have
37       many leading NULs, to generate blank leader on the tape.
38
39   Size Multiplier
40       In general, raw binary data will expand in sized by approximately  1.03
41       times when represented with this format.
42
44       srec_cat version 1.35
45       Copyright  (C)  1998,  1999,  2000, 2001, 2002, 2003, 2004, 2005, 2006,
46       2007 Peter Miller
47
48       The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use
49       the 'srec_cat -VERSion License' command.  This is free software and you
50       are welcome to redistribute it under certain  conditions;  for  details
51       use the 'srec_cat -VERSion License' command.
52

AUTHOR

54       Peter Miller   E-Mail:   millerp@canb.auug.org.au
55       /\/\*             WWW:   http://www.canb.auug.org.au/~millerp/
56
57
58
59Reference Manual                    SRecord                 srec_dec_binary(5)
Impressum