psfs2mda(1)
π psfs2mda π
okay bestie, welcome to psfs2mda from the PSF Tools girlies β¨ this one's whole job? extract the font from a dump of the IBM PC MDA ROM π
β¨ SYNOPSIS β¨
psfs2mda [--compaq] [--comment=text] INPUT14 INPUT8 [INPUT8_ALT]
OUTPUTFILE
πΈ DESCRIPTION πΈ
so basically, psfs2mda takes two or three PSF-format screen fonts and β¨generatesβ¨ an MDA character ROM image out of them. the file that pops out the other side is literally ready to become a brand new character ROM for an original IBM CGA or MDA β or, if you pass the --compaq option, for a Compaq CGA. iconic, honestly. π
you must hand it either two or three input files, no cap. here's the lineup, in order:
- the first file is the one used for the 14-pixel font π
- the second file is the one used for the 8-pixel font π¦
- the third file, if it's there, is the one used for the alternative (thin) 8-pixel font
aaaaand if that third file is not present? no worries bestie, psfs2mda will just try to use characters 256-511 of the second file instead π«Ά and if that second file only has 256 characters total, then the alternative 8-pixel font just ends up being the same as the main 8-pixel font. crisis averted π
π¨ real talk moment π¨ β the physical ROM chip used in an IBM MDA or CGA is a 9264, and its pinout differs from the normal 27xx range. do not forget this, i'm begging π
π OPTIONS π
--compaqβ output a ROM image suitable for the Compaq Portable/Deskpro CGA, rather than the IBM MDA/CGA. that's it, that's the vibe π--comment=messageβ when you're outputting in Compaq format, it's possible to embed a message (usually a copyright message) in the unused bytes of the ROM β¨ this option sets the message to include. sneak it in there π
π SEE ALSO π
go read your sisters, they're slaying too π§
π¦ AUTHOR π¦
John Elliott <seasip.webmaster@gmail.com>. π
and that's the whole page, bestie!! this was Version 1.1.3, dated 28 April, 2026 β periodt, go make some ROMs ππ
π¦ where this page comes from
- nixpkgs unstable: psftools 1.1.3
- ubuntu stonking: psftools 1.1.3-1
- Copyright (c) 2008 John Elliott
- Copyright (C) 2005, 2007 John Elliott
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms