How can I change the fore and background color of a program for DOS? Not console, just plain old DOS? I have searched the forums. but only found out how to do it using windows.h.

I really need to be able to do it in a 16-bit dos program, and can't find out how anywhere.

like with using something like printf, or cout. And then how to change the whole BG color?

Thanks A LOT