srec_dec_binary(5)
π NAME π
Meet srec_dec_binary(5), bestie β the DEC Binary (XXDP) file format page from the File Formats Manual. This was used on the PDP 11 series machines, and itβs giving old-school binary realness. β¨
π DESCRIPTION π
So the DEC Binary (XXDP) format was used on the PDP 11 series machines. This is a binary format, and it is not readable or editable with a text editor β do not try to open it in a text editor and expect cute little lines of text, okay? π
The file consists of records of the form:
ββββββββ¬βββββββββ¬ββββββββββ¬βββββββββββββ¬βββββββββββ
β type β length β address β ...data... β checksum β
ββββββββ΄βββββββββ΄ββββββββββ΄βββββββββββββ΄βββββββββββ
The fields are defined as follows:
typeβ two byte little-endian value. Must always be1. No cap, it just has to be1.lengthβ two byte little-endian value. This is the number of bytes in the data, plus6.addressβ two byte little-endian value. This is the load address of the data.dataβ the data is simple raw bytes. There are(length-6)of them.checksumβ the checksum is a single byte. It is the negative of the simple sum of all the header and data bytes.
If the record length is exactly 6 (i.e. no data), this is the execution start address record, indicating the transfer address. π
In addition there may be NUL padding characters between records. It is common for records to be padded so that they start on even byte boundaries. In the days of paper tape, it was common for the file to have many leading NULs, to generate blank leader on the tape. ποΈ
π Size Multiplier π
In general, raw binary data will expand in size by approximately 1.03 times when represented with this format. Tiny glow-up, honestly. π
π 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
β¨ kisses from the Reference Manual / SRecord crew, page srec_dec_binary(5), version 1.65 β and the date moment on deck is the copyrightβs 1998..., so there it is, periodt ππ
π¦ 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) 2001, 2004, 2006-2009, 2011 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