home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / atari / st / tech / 5574 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.9 KB

  1. Path: sparky!uunet!news.tek.com!ogicse!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!elfhaven.ersys.edmonton.ab.ca!mforget
  2. From: mforget@elfhaven.ersys.edmonton.ab.ca (Michel Forget)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Raster Copy [for window scrolling]
  5. Summary: Please help me with window scrolling/raster copies.
  6. Keywords: raster-copy, window, scroll, fast
  7. Message-ID: <H.KtV1EXXhvs6@elfhaven.ersys.edmonton.ab.ca>
  8. Date: 10 Nov 92 06:43:50 GMT
  9. Article-I.D.: elfhaven.H.KtV1EXXhvs6
  10. Reply-To: mforget@elfhaven.ersys.edmonton.ab.ca
  11. Organization: Electric Storm
  12. Lines: 30
  13. X-Software: HERMES GUS 1.00 Rev. Jan 16 1992
  14.  
  15. Hi!
  16.  
  17. I am having a problem with a program I am writing.  I need to display
  18. a text file inside a window.  Now, the actual process of setting up and
  19. writing the information to the window is not a problem.
  20.  
  21. Scrolling the window (fast) is the problem.
  22.  
  23. The only method I know of (that I have been able to use) is to redraw the
  24. entire window when a scroll was needed.  This is, to say the very least,
  25. extremely slow.  I know that there are faster ways to do this, one of
  26. which would seem to be a raster copy.  After all, would it not be faster
  27. to simply move the last twenty lines up two lines, and then draw the
  28. new information at the bottom of the window?
  29.  
  30. In short (long?) I would be grateful to anyone who could share with me the
  31. secrets of window scrolling.  The faster, the better.  To keep things legal,
  32. though, I imagine only VDI calls should be used.
  33.  
  34. I have also heard that the speed of output to the window can be increased
  35. by aligning the window on a sixteen bit boundary?  How would this be done?
  36.  
  37.  
  38. -- 
  39. <<  -----------------------------------------  >>
  40. <<    mforget@elfhaven.ersys.edmonton.ab.ca    >>
  41. <<  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  >>
  42. <<               Michel Forget                 >>
  43. <<   The Key:  Spirit over mind over matter.   >>
  44. <<  -----------------------------------------  >>
  45.