Cestrius -
I agree with Dave's suggestion that the BIOS mis-detects the type
of monitor.
This can happen either due to bad pin contacts or due to an older
VGA card having problems with a plug-and-play monitor. Sometimes
a simple "MODE CO80" (as suggested by Dave) helps, but not
always.
In the latter case, you have to set the proper BIOS bits
according to the following program (if you don't have an
assembler/linker, drop me a mail and I send you SETCOLOR.COM
ready to run - it is only 27 bytes, but the list does not support
binary attachments):
;SETCOLOR.ASM Version 1.0
;
;Checks BIOS data byte 0040h:0089h (= Mode-Set Option Control):
;If bit 1 (= gray scale summing) or bit 2 (= mono display) is set,
;they are cleared, and video mode 3 is set.
CSEG SEGMENT PARA PUBLIC 'CODE'
ASSUME CS:CSEG,DS:NOTHING
ORG 100h
START: MOV AX,0040h ;make DS point to BIOS data segment
MOV DS,AX
MOV AL,BYTE PTR DS:[0089h] ;get Mode-Set Option Control
TEST AL,0110b ;test if bits 1 or 2 are set
JZ DONE ;if not, we are done
AND AL,011111001b ;else clear those bits
MOV BYTE PTR DS:[0089h],AL ;update BIOS data byte
MOV AX,3H ;AH=0 (= set mode), AL=3h (= mode 3)
INT 10H ;refresh video mode
DONE: MOV AX,4C00H ;fctn nbr "End process", return code 0
INT 21H
CSEG ENDS
END START
Hope this helps,
- Wolfgang Redtenbacher
-----------------------------------------------------------------
Redtenbacher Software Tel.: +49 7159 17046
Roemerstr. 11/1 Fax: +49 7159 17047
D-71272 Renningen e-mail: [EMAIL PROTECTED]
-----------------------------------------------------------------
To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.