home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7498 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.9 KB  |  41 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!bruny.cc.utas.edu.au!u910826
  3. From: u910826@bruny.cc.utas.edu.au (Louis        siuoL)
  4. Subject: Re: Writing to the border?
  5. Message-ID: <u910826.724465588@bruny>
  6. Keywords: graphics, screen border
  7. Sender: news@newsroom.utas.edu.au
  8. Organization: University of Tasmania, Australia.
  9. References: <gilligan.723854577@cs1.bradley.edu>
  10. Date: Wed, 16 Dec 1992 00:26:28 GMT
  11. Lines: 28
  12.  
  13. gilligan@cs1.bradley.edu (Edward Henigin) writes:
  14.  
  15. >Now, I know that you can change the color of the border on the typical
  16. >monitor.
  17.  
  18. >I was wondering, however . . has anybody ever written individual pixels
  19. >in the border?  If so, one could expand the usable graphics area of
  20. >the screen . . . I assume it can't be done, otherwise it would have
  21. >been done by now, but I had to ask, just to get a *real* answer
  22. >instead of living with my assumptions.
  23.  
  24. >--
  25. >|ed -- gilligan@camelot.bradley.edu                                          |
  26. >|   -- gilligan@cs1.bradley.edu     | If you want a friend, feed any animal. |
  27. >|    Are you deviant?  Probably.    |           -Jane's Addiction            |
  28.  
  29. There are ways of kinda writing individual *rows* of pixels in the border of the vga screen by "emmulating" the copper on an Amiga. 
  30. If you change colour 0 ( the background colour) **REALLY FAST** ie. while you are still in horizontal retrace you can  cycle the palette so fast that every
  31. *scanline* down the screen is a different colour, including the border.
  32. If you are in a low res mode like 320x240x256 or even in a 16 colour mode at 
  33. low res then each pixel is 2 scanlines so you can change the background
  34. colour every half a pixel. Wait for DEA's forthcoming demo for an example
  35. of the above.
  36. --
  37. Louis Solomon - a student at The University of Tasmania
  38.       e-mail: u910826@bruny.cc.utas.edu.au
  39.  
  40. "If wishes were fishes, we'd all cast nets" - Dune
  41.