MKROM(1)

πŸ“¦ version 1.0.4, in nixos 26.05, nixpkgs unstable

πŸŽ€ mkrom β€” the ROM-stuffing bestie πŸŽ€

okay so real talk, this is mkrom(1) from the manual pages, and it's literally the tool that writes individual files into a ROM image. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

mkrom OUTPUT LENGTH FILES...

three things, bestie: where it goes, how big it is, and what goes in it. periodt.


πŸ’– DESCRIPTION πŸ’–

so FILES is a list of pairs, right? and each pair is a filename and an offset, joined together with a colon. the offset is literally the position where that input file gets dropped inside the OUTPUT file. iykyk. 🫢

then LENGTH decides how big OUTPUT is gonna be β€” like, the whole final size, no cap. before any of your input files get copied in, the whole thing is filled with 0xFF octets. every single byte. it's giving blank canvas but make it hex. ✨


🌸 EXAMPLES 🌸

mkrom example.rom 0x4000 temp1.bin:0x0 temp2.bin:0x200

so this one creates a 16KiB large ROM image out of two input files β€” one placed at offset 0 and the other at offset 512. cute, right? two little files living their best lives in one ROM. πŸ¦‹


πŸ‘‘ AUTHORS πŸ‘‘

maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open source contributors. iconic behavior tbh. πŸ’œ

if you wanna know more about mkrom development, the link is right here: https://github.com/KnightOS/mkrom β€” go be nosy, it's encouraged. πŸ”₯


okay final sign-off: this page is from the MKROM(1) manual, dated 01/01/1980 β€” yeah, the date is a whole mood, don't come for it 😭 β€” and it's the MKROM(1) source/version you're reading. slay, bye! πŸŒˆπŸ’–
πŸ“¦ where this page comes from