Dec 192017
 
Turbo C source and com to demonstrate getting, changing, and restoring text screen colors. Useful for restoring the screen settings to their original colors.
File GETATRIB.ZIP from The Programmer’s Corner in
Category C Source Code
Turbo C source and com to demonstrate getting, changing, and restoring text screen colors. Useful for restoring the screen settings to their original colors.
File Name File Size Zip Size Zip Type
GETATRIB.DOC 762 387 deflated
GOCO.C 395 199 deflated
GOCO.COM 6108 3993 deflated
S_AT1.C 2418 832 deflated
S_AT1.COM 6834 4506 deflated

Download File GETATRIB.ZIP Here

Contents of the GETATRIB.DOC file


This archive contains a demonstration of how to use Turbo C to get video
text information. One of the reasons to do so is to restore the text
screen to the original colors. Alternative methods include using DOS
INT services (which also can be called from Turbo C). In other words,
there are lots of ways to do this- here is one. Use and improve it as
you like.
Ray

The files....
s_atr1.c Turbo C 2.0 code for the demonstration.
s_atr1.com The executable demonstration.
goco.c Turbo C 2.0 code to change the screen colors
via ansi.sys commands.
goco.com Executable code to change screen to 80 col color
with white text on a blue background.



 December 19, 2017  Add comments

Leave a Reply