Click to See Complete Forum and Search --> : change prompt color in 6.22???


tehloxely
January 6th, 2005, 07:10 PM
Hey guys I just recently got a hold of the 3 floppy DOS 6.22 and I want to change my prompt color and background color and I can't remember how to do that. So if anyone could help me out that would be great of you.

thanks


-teh

shamus
January 6th, 2005, 07:40 PM
Welcome to Windrivers teh ( there's an inside joke there...nevermind )
been awhile for me to remember but here's a good source :http://www.computerhope.com/cooltrik.htm

Atodini
January 6th, 2005, 08:29 PM
Or you could try here:

http://www.vfrazee.com/ms-dos/6.22/help/

John

Platypus
January 7th, 2005, 07:35 AM
You can use ANSI.SYS, but that's clumsy & slows the display down so I suppose you want the DEBUG hack for COMMAND.COM.

It can be found here:

http://www.textfiles.com/magazines/RRR/rrr199306.txt

(Remember the addresses will be different for each version of DOS. It can also be used as a rather nasty trick to make someone's display constantly flash...)

"DEBUG \COMMAND.COM
-RCX
CX BAE5

-S 100 L BAE5 CD 10
22CC:432B
22CC:4337
22CC:435F
22CC:436C
22CC:4370
22CC:4376
-U 4300
-
- Enter U a few times
-
-U
22CC:4366 B406 MOV AH,06
22CC:4368 B707 MOV BH,07
22CC:436A 32DB XOR BL,BL
-Q

What you're looking for is the MOV BH,07 instruction.
Remember to hit ENTER twice after the RCX instruction. Note that
the address above for the MOV you're looking for is 4368. Add 1 to
that address (whatever you come up with) and then do the following:
DEBUG \COMMAND.COM
-D 4369 L1
22CC:4369 07
-Q

You should see 07, otherwise go back and search again. When
you've found the correct address, then do the following:
DEBUG COMMAND.COM
-E 4369
22CC:4369 07.
-W
Writing 0BAFB bytes
-Q

After you do the E instruction, debug will return the address
with the "07."; now you select the colors you want and enter them
after the period. The first number is the background, the second
is foreground. Don't enter a number larger than 7 for the first
number or your screen will blink. Here's the list of colors:
Black - 0 Grey - 8
Blue - 1 Bright Blue - 9
Green - 2 Bright Green - A
Cyan - 3 Bright Cyan - B
Red - 4 Bright Red - C
Magenta - 5 Bright Magenta - D
Brown - 6 Yellow - E
White - 7 Bright White - F

You may want to change where you start searching from. In my
own personal case, the address was 4A52. But the important thing
to look for is MOV BH,07 instruction.
Of course, you might want to format a disk with the system
files on it so you don't screw up your COMMAND.COM."

bassix
February 10th, 2005, 12:35 PM
yes i konw. once there was CLRS (COLOR SCREEN)!

i ve lost this tool. it was gereat to change the color of dos-prompt.

does anyone have it?

greez
bassix