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 preceded 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.64
40 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
41 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 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 Scott Finneran E‐Mail: scottfinneran@yahoo.com.au
50 Peter Miller E‐Mail: pmiller@opensource.org.au
51
52
53
54Reference Manual SRecord srec_spectrum(5)