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

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