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

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