[Prev][Next][Index][Thread]
Re: Background Color
Mat Hostetter wrote:
> It would be extremely difficult for us to fix, since the VESA VBE
> video driver standard provides no way to set the border color. The
> old-style VGA technique of setting the border color doesn't work in
> SVGA video modes.
Hey, coulnd't you just ( assuming you guys and gals code in C ) :
union REGS regs;
regs.x.ax = 0x1010;
regs.x.bh = <BORDER COLOR ENTRY NUMBER>;
regs.x.dh = 0; // Red
regs.x.ch = 0; // Green
regs.x.cl = 0; // Blue
int86(0x10, ®s,®s);
This would set a pallet entry for the VGA/SVGA 256 color modes.
Off haand I don't know what the pallet number for the boreder color is,
but if you think this would work, I'll dig it (the pallet number) up.
--
Adam 'Troll' Strohl
D i g i t a l S p a r k
--------------------------------------------------------------
Freelance PC, MacOS, UNIX, C, Hardware, Software, and Web Guy!
--------------------------------------------------------------
Home http://www.cpublish.com/~astrohl/Home/
Internet mailto:troll@valley.net
--------------------------------------------------------------
Member HTML Writer's Guild
References: