1srec_formatted_binary(5) File Formats Manual srec_formatted_binary(5)
2
3
4
6 srec_formatted_binary - Formatted Binary file format
7
9 This is the PDP-11 paper tape format, described in the DEC-11-GGPC-D
10 PDP-11 "Paper Tape Software Programming Handbook" 1972.
11
12 The file startes with a charcter sequence which appears as an arrow
13 when punched on 8-hole paper tape.
14 0x08, 0x1C, 0x2A, 0x49, 0x08, 0x00
15
16 Then follows a byte count, encoded big-endian in the low 4 bits of the
17 next 4 bytes. The high bits should be zero.
18
19 Then follows a 0xFF byte.
20
21 The data follows, as many bytes as specified in the header.
22
23 The trailer consists of the following bytes:
24 0x00, 0x00,
25 and then a 2-byte checksum (big-endian).
26
27 The alternate header sequence
28 0x08, 0x1C, 0x3E, 0x6B, 0x08, 0x00
29 is followed by an 8-nibble big-endian byte count.
30
31 Size Multiplier
32 In general, binary data will expand in sized very little when repreā
33 sented with this format.
34
36 Here is a hex dump of a formatted binary file containing the data
37 "Hello, World!".
38 0000: 08 1C 2A 49 08 00 00 00 ..*I....
39 0008: 00 0E FF 48 65 6C 6C 6F ...Hello
40 0010: 2C 20 57 6F 72 6C 64 21 , World!
41 0018: 0A 00 00 04 73 ....s
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
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_formatted_binary(5)