srec_cosmac(5)
π srec_cosmac(5) β RCA Cosmac Elf file format π
okay bestie, this is the File Formats Manual page for srec_cosmac, and it's literally all about the RCA Cosmac Elf file format β¨
π NAME π
srec_cosmac β RCA Cosmac Elf file format
πΈ DESCRIPTION πΈ
This file is built out of one or more RCA Cosmac Elf monitor commands, also known as the IDIOT/4 monitor. And the only allowed command in here? The change memory command (!M) β that's the whole guest list, no cap periodt.
The general shape of the !M command is:
!Maaaa dd ... dd
The !M command writes data bytes (each dd is a character pair) into successive memory locations, starting at address aaaa. Spaces between data bytes are ignored β literally, don't stress them.
Using the comma (,) line-continuation character resumes from the next address in sequence:
!Maaaa dd ... dd, dd ... dd
Using the semicolon (;) line-continuation character takes an address on the next line:
!Maaaa dd ... dd; aaaa dd ... dd
It is also possible to have the semicolon immediately after the command:
!M; aaaa dd ... dd
All of these forms may be used in combination. Yes, mix and match, bestie π
π Size Multiplier π
In general, binary data will expand in size by approximately 2.0 times when represented with this format. So yeah, highkey it gets bigger β vibe check acknowledged πΈ
β¨ EXAMPLE β¨
Here is an example Cosmac file. It contains the data βHello, World[rq] to be loaded at address 0x1000.
!M1000 48656C6C6F2C20576F726C640A
π COPYRIGHT π
srec_cat version 1.65
Copyright (C) 1998... Peter Miller
The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use the 'srec_cat -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_cat -VERSion License' command.
π«Ά MAINTAINER π«Ά
- Scott Finneran β
EβMail: scottfinneran@yahoo.com.au - Peter Miller β
EβMail: pmiller@opensource.org.au
okay that's the whole page, bestie: Reference Manual Β· SRecord Β· srec_cosmac(5) β mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- Copyright (C) 2003, 2006-2009 Peter Miller
- Copyright (C) 1998, 2006-2009, 2014 Peter Miller
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms