hex2cmd(1)

πŸ’– hex2cmd β€” bestie edition πŸ’–

okay so you found the hex2cmd(1) page, the General Commands Manual one, and honestly? it's giving tiny but mighty ✨


🌸 NAME 🌸

hex2cmd β€” literally just here to convert Intel hex format into TRS-80 CMD format. that's the whole job. she's a specialist πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

hex2cmd [infile]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, bestie πŸ“

hex2cmd reads the infile you hand it β€” or, if you don't hand it anything at all, it just reads from standard input like the chill little icon she is β€” and that input is in Intel hex format. (iykyk, it's also known as S-record format, same vibe, two names πŸ’œ)

then she writes a TRS-80 CMD file out to standard output. boom. done. no cap πŸ”₯

now the ✨special✨ part, so listen up:

  • if an S-record asks for 0 bytes to be loaded at address A, that sets the transfer address (aka the entry point) of the CMD file to A πŸ‘‘
  • otherwise? the CMD file gets no transfer address at all. she simply doesn't have one. and that's fine πŸ™ˆ

🌈 AUTHOR 🌈

hex2cmd was written by Timothy Mann. legend behaviour, fr fr 🫢


⭐ SEE ALSO ⭐

  • xtrs(1) β€” go read it bestie
  • The LDOS Quarterly, April 1, 1982 (Vol 1, No 4) β€” this one has the actual documentation of the TRS-80 DOS CMD file format, so if you wanna know what's inside the file she's building, that's your source πŸ“š

and that's the whole page!! slay πŸ’– this was the hex2cmd(1) page from the xtrs manual, dated 2008-06-26 β€” mwah, go convert something, bestie πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from