home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18343 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.9 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!elroy.jpl.nasa.gov!swrinde!gatech!rutgers!cbmvax!cbmehq!cbmfra!lionet
  2. From: lionet@lionfl.adsp.sub.org (Francois Lionet)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: LoadView(0) and sprites: bug in kickstart?
  5. Message-ID: <rp+fs*C82@lionfl.adsp.sub.org>
  6. Date: 7 Jan 93 12:43:07 GMT
  7. References: <1993Jan4.013803.5167@news.uit.no>
  8. Reply-To: lionet@lionfl.adsp.sub.org (Francois Lionet)
  9. Organization: Not an organization
  10. Lines: 33
  11. X-Newsreader: Arn V1.00 alpha rel2
  12.  
  13. In article <1993Jan4.013803.5167@news.uit.no>, Boerge Noest writes:
  14.  
  15. > Now, I LoadView(0) and thought all was ok until a friend of mine tested it
  16. > on his 4000 and said 'seriously slim sprite of yours'. He use a superhires
  17. > pointer and my sprite was displayed in superhires too.
  18.  
  19. I had exactly the same problem with AMOS. The solution is simple (that's 
  20. why it took me a long time to find!).
  21.  
  22. Just before taking over the hardware (well, branching your copper list), and 
  23. BEFORE calling LoadView(0), open a simple, lowres screen, using OpenScreen from
  24. intuition. This will force the lowres screen in front of intuition screen,
  25. change the resolution of the monitor, and force the sprites back to normal.
  26. Then performs two WaitTOF, time for Intuition to correctly update the
  27. sprites.
  28. Limit the bitmaps to 1 bitplane, and as small as possible to avoid loss of
  29. memory. But after all, any AA machine have got 2 megs minimum.
  30.  
  31. Now you can do your LoadView(0) + WaitTOF + WaitTOF as recommended
  32. by Commodore. It works fine even in the trickyest resolutions like
  33. DBLPal or DBLNtsc...
  34.  
  35. Upon quitting you software, just reload the default view and then
  36. close your small screen.
  37.  
  38. > Thanks.
  39. My pleasure.
  40. --
  41.                     "The words of AMOS: proclaim free-will and publish!" 
  42.                     (Old Testament, AMOS 4.5)
  43. Francois Lionet           
  44. cbmvax!cbmehq!cbmfra!lionfl!lionet
  45. lionet@lionfl.adsp.sub.org
  46.