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

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