1srec_spectrum(5) File Formats Manual srec_spectrum(5)
2
3
4
6 srec_spectrum - Spectrum file format
7
9 In this format, bytes are recorded as ASCII code with binary digits
10 represented by 1s and 0s. Each byte is preceeded by a decimal address.
11
12 The file ends with a Control‐C character (0x03).
13
14 Size Multiplier
15 In general, binary data will expand in sized by approximately 14 times
16 when represented with this format (or 15 times on DOS or Windows).
17
19 Here is an example Spectrum file. It contains the data “Hello,
20 World[rq] to be loaded at address 0x0.
21 ^B
22 0000 01001000
23 0001 01100101
24 0002 01101100
25 0003 01101100
26 0004 01101111
27 0005 00101100
28 0006 00100000
29 0007 01010111
30 0008 01101111
31 0009 01110010
32 0010 01101100
33 0011 01100100
34 0012 00100001
35 0013 00001010
36 ^C
37
39 srec_cat version 1.55
40 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
41 2007, 2008, 2009, 2010 Peter Miller
42
43 The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use
44 the 'srec_cat -VERSion License' command. This is free software and you
45 are welcome to redistribute it under certain conditions; for details
46 use the 'srec_cat -VERSion License' command.
47
49 Peter Miller E‐Mail: pmiller@opensource.org.au
50 /\/\* WWW: http://miller.emu.id.au/pmiller/
51
52
53
54Reference Manual SRecord srec_spectrum(5)