srec_logisim.5(5)
πΈ NAME πΈ
srec_logisim β format Logisim EPROM load files. Yep bestie, youβre reading srec_logisim.5, section 5, from the File Formats Manual. Pull up a chair π
β¨ DESCRIPTION β¨
Okay so the file format used for image files is intentionally simple. Why? Because that lets you write a program, like an assembler, that generates memory images which can then be loaded into memory. Iconic behavior, honestly β¨
Example time: imagine a 256-byte memory whose first five bytes are 2, 3, 0, 20, and -1, and all subsequent values are 0. The image would be this text file:
v2.0 raw
02 03 00 14 ff
The first line identifies the file format used (currently, there is only one file format recognized π). Subsequent values list the values in hexadecimal, starting from address 0; you can place several such values on the same line. Logisim will assume that any values unlisted in the file are zero.
The image file can use run-length encoding. For example, rather than list the value 00 sixteen times in a row, the file can include 16*00 rather than repeat 00 sixteen times. Notice that the number of repetitions is written in base 10. Files produced by Logisim will use run-length encoding for runs of at least four values. Slay for compression π
π Size Multiplier π
In general, binary data will expand in size by approximately 2.95 times when represented with this format. Math girl summer π
π Commentary π
This format is particularly deficient. Not to be dramatic, but:
- There is no way for changing address in-flight. And therefore the format canβt have holes in the data.
- There are no checksums, or any other error checking.
- There is no provision for a comment header, as distinct to the β
v2.0 rawβ magic number. - There is no provision for an execution start adddress (yes, thatβs the spelling on the page, and Iβm preserving the lore π).
π SEE ALSO π
Β©οΈ COPYRIGHT Β©οΈ
srec_logisim.5 version 1.65 Copyright (C) 1998... Peter Miller
The srec_logisim.5 program comes with ABSOLUTELY NO WARRANTY; for details use the 'srec_logisim.5 -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_logisim.5 -VERSion License' command.
π«Ά MAINTAINER π«Ά
- Scott Finneran β E-Mail:
scottfinneran@yahoo.com.au - Peter Miller β E-Mail:
pmiller@opensource.org.au
XOXO from the Reference Manual π SRecord π srec_logisim.5(5) β version 1.65, and the footer didnβt hand us a date so weβre not inventing one, bestie π«Άβ¨
π¦ 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) 2013 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