VOGONS


Change background colour

Topic actions

First post, by micmac

User metadata
Rank Newbie
Rank
Newbie

I have installed Dosbox on a win8.1 machine which works nicely but I am used to a white background with black text. I do not use games but have a lot of files in DOS and will continue to do so. Therefore I need the colours "inverted" which I used to do on my original DOS machine. Help!

Reply 1 of 2, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Please post Dosbox questions in the dosbox forums, I moved this post.

Color change, something something ansi. Not sure 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 2, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

ANSI codes will work for the shell and console text in general, but there are limitations.

Maybe use the CHGCOLOR program here: How to tweak CGA / EGA game palettes easily :)
Running it in DOSBox with with "chgcolor 0:7 7:0" will reverse the normal text colors, or "chgcolor 0:255 7:0" if you want an intense white background.