rwmira01@ULKYVX.BITNET (Rob Miracle) (04/13/89)
I am trying to set the border color on my MCGA card (which is supposedly CGA
compatible according to IBM). I am using the following C program to set the
color via BIOS Video Interrupt Function 0x0B; Select Pallet/Set Overscan Color.
#include <dos.h>
main() {
union REGS regs;
regs.h.ah = 0x0b; /* Function */
regs.h.bh = 0; /* Select Pallet 0, or in text mode, overscan color */
regs.h.bl = 2; /* Color */
int86(0x10,®s,®s);
}
Now that information is correct according to:
Peter Norton, Programmer's Guide to the IBM PC
Richard Wilton, Programmer's Guide to IBM PC Video Systems???
Any ideas? Suggestions (other than to give up)?
Thanks in advance,
Rob Miracle | Bitnet : RWMIRA01@ULKYVX CIS: 74216,3134
Programmer/Analyst-II | INTERNET : rwmira01%ulkyvx.bitnet@cunyvm.cuny.edu
University of Louisville | UUCP : ...psuvax1!ulkyvx.bitnet!rwmira01
ee-sno@wasatch.utah.edu (Niel Orcutt) (04/14/89)
I don't think that the real VGA has a settable border color; some clones, like the one I have, do, if they are set to CGA emulation mode.