srec_ppx(5)
π srec_ppx β Stag Prom Programmer hexadecimal format π
okay bestie, gather round, because this one is a vibe. It's section 5 of the File Formats Manual, it's called srec_ppx, and it's literally the native hexadecimal format of the Stag Prom Programmer. yes, that Stag. we love a retro icon. β¨
πΈ DESCRIPTION πΈ
So this is the native hexadecimal format of the Stag Prom Programmer, no cap. That's the whole assignment. Let's get into the deets. π«Ά
β¨ Format β¨
- The file must start with an asterisk
'*'sitting on a line all by itself. main character energy, it gets its own line. β - Every line has a 16-bit address, followed by 8-bit bytes. cute. tiny. iconic.
- The end is indicated by
'$S'followed by a 16-bit checksum of the data bytes, written as 4 hex digits. that's the goodbye text, iykyk. π
π Command Line Option π
You tell srec_cat you want this format with the -PPX command line option. that's it, that's the switch. slay. π
π¦ Size Multiplier π¦
ngl, this one hurts a little: in general, binary data will expand in size by approximately 3 times when represented with this format. and it gets worse if you use shorter lines. π so yeah, it's giving "chunky." budget accordingly bestie. π
π EXAMPLE π
Here's an example PPX file. It contains the data "Hello, World" to be loaded at byte address 0x0000 β but remember, the file contents are always multiples of four bytes. (yes, even when your data isn't. the format said what it said. π)
*
0000 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21 0A $S0473
literally a whole "Hello, World" in hex. obsessed. π₯
π SEE ALSO π
http://matthieu.benoit.free.fr/pdf/pp39.pdfhttps://web.archive.org/web/20110417235840/http://www.stag.co.uk/
go read the lore, bestie. the archive link is giving time capsule. π§
π COPYRIGHT π
srec_cat version 1.65 β Copyright (C) 1998... Peter Miller
β οΈ okay important one: thesrec_catprogram comes with ABSOLUTELY NO WARRANTY; for details use the'srec_cat -VERSion License'command.
It's free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_cat -VERSion License' command. read the license bestie, it's the responsible thing. π
πΊ MAINTAINER πΊ
- Scott Finneran β E-Mail:
scottfinneran@yahoo.com.au - Peter Miller β E-Mail:
pmiller@opensource.org.au
anyway that's the whole page, bestie β Reference Manual, SRecord, srec_ppx(5), srec_cat version 1.65. go forth and hex. πβ¨πΈπ¦π
π¦ 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) 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