home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text7487.txt < prev    next >
Encoding:
Internet Message Format  |  1996-07-25  |  1.6 KB

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