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

NAME

6       srec_cosmac - RCA Cosmac Elf file format
7

DESCRIPTION

9       This  file  takes  the  form of one or more RCA Cosmac Elf monitor com‐
10       mands, also known as the IDIOT/4 monitor.  Only the change memory  com‐
11       mand (!M) is allowed.
12
13       The general form of the !M command takes the form
14              !Maaaa dd ... dd
15       The  !M  command writes data byte bytes (represented by character pairs
16       dd) into successive memory locations, started at address aaaa.   Spaces
17       between data bytes are ignored.
18
19       Using  the  comma (,) line continuation character resumes from the next
20       address in sequence.
21              !Maaaa dd ... dd, dd ... dd
22
23       Using the semicolon (;) line continuation character takes an address on
24       the next line
25              !Maaaa dd ... dd; aaaa dd ... dd
26
27       It  is  also  possible to have the semicolon immediately after the com‐
28       mand.
29              !M; aaaa dd ... dd
30
31       All of these forms may be used in combination.
32
33   Size Multiplier
34       In general, binary data will expand in size by approximately 2.0  times
35       when represented with this format.
36

EXAMPLE

38       Here is an example Cosmac file.  It contains the data “Hello, World[rq]
39       to be loaded at address 0x1000.
40              !M1000 48656C6C6F2C20576F726C640A
41
43       srec_cat version 1.64
44       Copyright (C) 1998, 1999, 2000, 2001, 2002,  2003,  2004,  2005,  2006,
45       2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Peter Miller
46
47       The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use
48       the 'srec_cat -VERSion License' command.  This is free software and you
49       are  welcome  to  redistribute it under certain conditions; for details
50       use the 'srec_cat -VERSion License' command.
51

MAINTAINER

53       Scott Finneran   E‐Mail:   scottfinneran@yahoo.com.au
54       Peter Miller     E‐Mail:   pmiller@opensource.org.au
55
56
57
58Reference Manual                    SRecord                     srec_cosmac(5)
Impressum