home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.96 / text3406.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  1.1 KB  |  34 lines

  1. Mat Hostetter wrote:
  2. > It would be extremely difficult for us to fix, since the VESA VBE
  3. > video driver standard provides no way to set the border color.  The
  4. > old-style VGA technique of setting the border color doesn't work in
  5. > SVGA video modes.
  6.  
  7. Hey, coulnd't you just ( assuming you guys and gals code in C ) :
  8.  
  9. union REGS regs;
  10.  
  11. regs.x.ax = 0x1010;
  12. regs.x.bh = <BORDER COLOR ENTRY NUMBER>;
  13. regs.x.dh = 0;    // Red
  14. regs.x.ch = 0;    // Green
  15. regs.x.cl = 0;    // Blue
  16. int86(0x10, ®s,®s);
  17.  
  18. This would set a pallet entry for the VGA/SVGA 256 color modes.
  19.  
  20. Off haand I don't know what the pallet number for the boreder color is, 
  21. but if you think this would work, I'll dig it (the pallet number) up.
  22.  
  23. -- 
  24. Adam 'Troll' Strohl
  25. D  i  g  i  t  a  l  S  p  a  r  k
  26. --------------------------------------------------------------
  27. Freelance PC, MacOS, UNIX, C, Hardware, Software, and Web Guy!
  28. --------------------------------------------------------------
  29. Home http://www.cpublish.com/~astrohl/Home/
  30. Internet mailto:troll@valley.net
  31. --------------------------------------------------------------
  32. Member HTML Writer's Guild
  33.  
  34.