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

  1.     id m0uXNp5-0007u9a; Sat, 22 Jun 96 02:13 MDT
  2. Sender: owner-executor
  3. Received: from ardi.com by ftp.ardi.com
  4.     (Smail3.1.29.1 #3) id m0uXNoW-0007u7n; Sat, 22 Jun 96 02:13 MDT
  5. Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!newshost.lanl.gov!ncar!csn!nntp-xfer-1.csn.net!magnus.acs.ohio-state.edu!math.ohio-state.edu!uwm.edu!news.cse.psu.edu!news.ecn.bgu.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!usenet.eel.ufl.edu!news-feed-1.peachnet.edu!paperboy.wellfleet.com!news3.near.net!sol.caps.maine.edu!dartvax.dartmouth.edu!usenet
  6. From: Adam Strohl <troll@valley.net>
  7. Newsgroups: comp.emulators.mac.executor
  8. Subject: Re: Background Color
  9. Date: Fri, 21 Jun 1996 14:00:12 -0400
  10. Organization: Freelance Web\UNIX Guy
  11. Lines: 32
  12. Message-ID: <31CAE32C.3D07@valley.net>
  13. References: <960620135341_418225764@emout13.mail.aol.com> <m0uWoXP-00027ZC@beaut.ardi.com>
  14. NNTP-Posting-Host: v2-p-138.valley.net
  15. Mime-Version: 1.0
  16. Content-Type: text/plain; charset=us-ascii
  17. Content-Transfer-Encoding: 7bit
  18. X-Mailer: Mozilla 2.02 (Win95; I)
  19. To: executor@ardi.com
  20. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  21. Sender: owner-executor@ardi.com
  22. Precedence: bulk
  23.  
  24. Mat Hostetter wrote:
  25. > It would be extremely difficult for us to fix, since the VESA VBE
  26. > video driver standard provides no way to set the border color.  The
  27. > old-style VGA technique of setting the border color doesn't work in
  28. > SVGA video modes.
  29.  
  30. Hey, coulnd't you just ( assuming you guys and gals code in C ) :
  31.  
  32. union REGS regs;
  33.  
  34. regs.x.ax = 0x1010;
  35. regs.x.bh = <BORDER COLOR ENTRY NUMBER>;
  36. regs.x.dh = 0;    // Red
  37. regs.x.ch = 0;    // Green
  38. regs.x.cl = 0;    // Blue
  39. int86(0x10, ®s,®s);
  40.  
  41. This would set a pallet entry for the VGA/SVGA 256 color modes.
  42.  
  43. Off haand I don't know what the pallet number for the boreder color is, 
  44. but if you think this would work, I'll dig it (the pallet number) up.
  45.  
  46. -- 
  47. Adam 'Troll' Strohl
  48. D  i  g  i  t  a  l  S  p  a  r  k
  49. --------------------------------------------------------------
  50. Freelance PC, MacOS, UNIX, C, Hardware, Software, and Web Guy!
  51. --------------------------------------------------------------
  52. Home http://www.cpublish.com/~astrohl/Home/
  53. Internet mailto:troll@valley.net
  54. --------------------------------------------------------------
  55. Member HTML Writer's Guild
  56.  
  57.