There is usually no cure. Try running in a Windows DOS box and adjust the font size to get as much screen space as you can.
There is little incentive to cure these old programs.
I rely on an old ms-dos program that does my job. However, on my toshiba satelite 3000-x4 laptop, when I set the command prompt to full-screen, I get a massive black border around my program. This also happens in bios setup and in recovery console. I have found out about text expansion mode, but there is no option in my bios. A toshiba couldn't give me help either. If anyone knows any solutions, I would be grateful if you could tell me. Thanks