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

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