kc2img(1)
π kc2img(1) β from the General Commands Manual π
okay bestie, sit down, hydrate, because we're about to talk about kc2img β section 1 of the general commands manual β and honestly? it's giving "small tool, big job" energy.
β¨ NAME β¨
kc2img β convert KC files to raw KC tape images π
no cap, that's the whole thing. it takes your fancy KC file and spits out a raw tape image. iconic behavior.
π¦ SYNOPSIS π¦
kc2img <infile> <outfile>
two args. infile goes in, outfile comes out. that's it. she's low maintenance. π
πΈ DESCRIPTION πΈ
so here's the tea, bestie. kc2img converts the following file types into raw KC tape images. and the way those files work? they contain the data bytes exactly as written by the KC tape routines, with the block number and checksum removed. so every single block gets saved as 128 bytes. no more, no less. periodt.
machine code files start with an 128 byte header (that's one whole block, bestie) and that header contains the filename, the load start address, the load end address, and optionally a start address β whose presence is flagged by a status byte. yes, a whole flag byte just to say "the start address is here or not." main character energy tbh.
basic files? they're simpler. they only have a 13 byte header with the filename and the filesize. tiny. compact. adorable. π
and now, the four file types she handles:
- files used by the KC emulator by Arne Fitzenreiter (usually named
.TAP) β yeah, the classic - files used by the GEMINI-SOFT KC emulator (usually named
.GPFfor machine code files and.GBFfor basic files) - BASIC files (usually named
.SSS) π - KC image files that contain the data written by the KC tape routines without block number and checksum (usually named
.KCCor.KCB, where the.KCBfiles are BASIC files with an autostart routine) π₯
so basically: .TAP, .GPF, .GBF, .SSS, .KCC, .KCB. six little extensions, one girl. she ate. π
β¨
π BUGS π
bestie. listen. Basic files are not handled properly. not me delivering bad news but here we are. π
just know it before you go blaming yourself, okay? it's not you. it's the basic files.
π SEE ALSO π
she doesn't work alone, she has a whole friend group π«Ά:
π AUTHOR π
this manual page was written by Torsten Paul <Torsten.Paul@gmx.de>, for the Debian GNU/Linux system β but, and I quote, may be used by others. so yeah, she's for everyone. π
and that's the whole page, bestie!! shoutout to kc2img(1) for being the raw tape image converter of our dreams, and to the Debian GNU/Linux system for housing her. go convert something. slay. β¨ππ
π¦ where this page comes from
- debian bookworm: kcemu 0.5.2+dfsg-1 Β· GPL-2.0-or-later
- ubuntu jammy: kcemu 0.5.1+git20141014+dfsg-2build2 Β· GPL-2.0-or-later
- ubuntu noble: kcemu 0.5.2+dfsg-2 Β· GPL-2.0-or-later
- ubuntu questing: kcemu 0.5.2+dfsg-2
- ubuntu resolute: kcemu 0.5.2+dfsg-2ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: kcemu 0.5.2+dfsg-2ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms