srec_formatted_binary(5)
π NAME π
Okay bestie, buckle up: this is srec_formatted_binary(5), and yes, it's a File Formats Manual page. The whole vibe is the Formatted Binary file format. Slay. β¨
π DESCRIPTION π
So this is the PDP-11 paper tape format, described in the DEC-11-GGPC-D PDP-11 "Paper Tape Software Programming Handbook" from 1972. Iconic old-school energy, ngl. π«Ά
The file starts with a character sequence that appears as an arrow when punched on 8-hole paper tape:
0x08, 0x1C, 0x2A, 0x49, 0x08, 0x00
Then comes a byte count, encoded big-endian in the low 4 bits of the next 4 bytes. The high bits should be zero. π
Then follows a 0xFF byte.
The data follows, as many bytes as specified in the header. Literally as many as the header says. π
The trailer consists of these bytes:
0x00, 0x00,
and then a 2-byte checksum (big-endian).
The alternate header sequence
0x08, 0x1C, 0x3E, 0x6B, 0x08, 0x00
is followed by an 8-nibble big-endian byte count. Not me knowing both header sequences, iykyk. π¦
πΈ Size Multiplier πΈ
In general, binary data will expand in sized very little when represented with this format. That's what the page says, bestie β keep it exactly like that. π
π₯ EXAMPLE π₯
Here is a hex dump of a formatted binary file containing the data "Hello, World!". Look at her. Main character hex dump. π
0000: 08 1C 2A 49 08 00 00 00 ..*I....
0008: 00 0E FF 48 65 6C 6C 6F ...Hello
0010: 2C 20 57 6F 72 6C 64 21 , World!
0018: 0A 00 00 04 73 ....s
π 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. Fr fr, read the license, bestie. π
π§ MAINTAINER π§
- Scott Finneran β
E-Mail: scottfinneran@yahoo.com.au - Peter Miller β
E-Mail: pmiller@opensource.org.au
Okay that's the page, bestie! The footer energy is Reference Manual Β· SRecord Β· srec_formatted_binary(5), and the source/version situation is srec_cat version 1.65, with that 1998... copyright date. Byeee π
β¨πΈ
π¦ 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, 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