home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12744 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.8 KB

  1. Path: sparky!uunet!iphasew!igor!fensende!mcuddy
  2. From: mcuddy@fensende.Rational.COM (Mike Cuddy)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Double buffering and flicker..
  5. Summary: WaitBOVP is bad, but WaitTOF flickers?
  6. Keywords: WaitBOVP() and WaitTOF()...
  7. Message-ID: <mcuddy.714894318@fensende>
  8. Date: 27 Aug 92 05:45:18 GMT
  9. Sender: news@Rational.COM
  10. Lines: 26
  11.  
  12. I've got some double buffer routines that I'm putting the final touches
  13. on, but I can't seem to grok what's wrong with the page-flip routine:
  14. In short, I'm using 'view-swapping' (i.e.: two copper lists, one view, and
  15. LoadView()), and just before I do the LoadView(), I do a WaitTOF().  
  16. Unfortunately, when I do this, the double buffering flickers like mad!
  17. (The graphics can't be seen while they're being drawn, so I know I'm
  18. drawing on the right page...)
  19.  
  20. The catch is, when I use WaitBOVP() with the last ViewPort in my view, 
  21. everything works fine. But, according to the RKM, WaitBOVP() busy waits, 
  22. and that's bad. (I'm trying to be system friendly!)
  23.  
  24. *HELP*
  25.  
  26. BTW: I'm on a 68040 based system (RCS FF40), and I thought that the extra
  27. speed might have something to do with it (trying to display more than 60FPS)
  28. but the tearing happens in 68K mode also.
  29.  
  30. --Mike Cuddy (mcuddy@rational.com, fensende!mcuddy@apple.com)
  31. To Anachreon in Heav'n/Where he sat in full glee/A few sons of harmony sent a 
  32. petition/That he them inspi-re and patron would be/When this answer arrived/
  33. from the jolly old Grecian/"Boys fiddle and flute,/no longer be mute,/
  34. I'll lend 'ye my name/And inspire ya' ta' boot/And besides I'll instruct 'ye/
  35. like me, to entwine/ the Myrtle of Venus with Bacchus' vine!
  36. -- sing to the tune of the star spangled banner... (these are the orig words,
  37. yes folks, our national anthem is a ``let's get drunk and F*** song'').
  38.