Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Denver Mods 7/26/84) 6/24/83; site drutx.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!drutx!chuck From: chuck@drutx.UUCP (MillerCA) Newsgroups: net.micro.pc Subject: change colors in dos Message-ID: <2768@drutx.UUCP> Date: Tue, 14-May-85 15:31:19 EDT Article-I.D.: drutx.2768 Posted: Tue May 14 15:31:19 1985 Date-Received: Wed, 15-May-85 01:55:25 EDT Organization: AT&T Information Systems Laboratories, Denver Lines: 87 <<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>> > > I have a Zenith 150 and was wondering if anyone knew of an easy way > to change the color of the letters on the screen while in MS-DOS (2.11). > > I would like to look at green characters for awhile instead of white. > > I do have ANSI.SYS installed but can't figure out how to use it > to change the color (If you can do it with that at all) > > Any help is greatly appreciated. > > Nick. > > > -- > > Nick Mason > NOSC San Diego , CA > > ihnp4 \ > akgua \ > decvax ------------------!sdcsvax!noscvax!mason > dcdwest / > ucbvax / %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% REF: PC Tech Journal Mar 1985 Page 36 a command to change foreground and background colors do the following: ------------------------------------------------------------ A>debug color.com { ignore the message FILE NOT FOUND } -rcx :20 -e 100 2b c0 1e 50 b8 03 00 cd 10 b8 00 06 b9 00 00 ba -e 110 50 20 b7 $? cd 10 b4 02 ba 00 00 b7 00 cd 10 cb -w writing 20 bytes -q ----------------------------------------------------------- where : $ is replaced with a color for background (0-7) ? is replaced with a color for foreground (0-f) Color codes can be found in the IBM Basic manual ########################################################### black 0 blue 2 green 4 cyan 6 red 8 magenta a brown c white e gray 1 lite blue 3 lite green 5 lite cyan 7 lite red 9 lite magenta b yellow d lite white f I have commands like red.com ,green.com and blue.com which I use in AUTOEXEC.BAT files to remind me of different DOS configurations. ------------------------------------------------------------ e.g. red background yellow foreground called RED ------------------------------------------------------------ debug red.com { ignore the message FILE NOT FOUND } -rcx :20 -e 100 2b c0 1e 50 b8 03 00 cd 10 b8 00 06 b9 00 00 ba -e 110 50 20 b7 8d cd 10 b4 02 ba 00 00 b7 00 cd 10 cb -w writing 20 bytes -q ____________________________________________________________ hope this helps you from the convoluted mind of: chuck miller (DR x4741) DR31-F25 ...drutx!chuck