home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / apple2 / 27335 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  2.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!ub!csn!teal!bazyar
  2. From: bazyar@teal.csn.org (Jawaid Bazyar)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: Super Hi Res Stuff
  5. Message-ID: <bazyar.727680276@teal>
  6. Date: 22 Jan 93 05:24:36 GMT
  7. References: <C173t9.Lt3@news2.cis.umn.edu>
  8. Sender: news@csn.org (news)
  9. Organization: Colorado SuperNet, Inc.
  10. Lines: 34
  11. Nntp-Posting-Host: teal.csn.org
  12.  
  13. adri0001@student.tc.umn.edu (Wouldn't you like to know) writes:
  14.  
  15. >So, after that late-nite splub, I guess I'll get to my question.  I'm working 
  16. >with some animation now...finally!  I was having problems with a phantom 
  17. >bug before.  I needed to clear out the super-hi-res screen before I did
  18. >anything to it...the problem was that I was clearing out the SHR screen and
  19. >then flipping the SHR screen on...this was causing ghost pixels to get lit up
  20. >at the bottom of the screen but ONLY when I ran the program for the first time
  21. >after launching into GNO.  I go to GNO from Prosel, run my program, and the 
  22. >first time I do, the screen is a little messed on the bottom...but every
  23. >subsequent run after that works fine.
  24.  
  25.   You're trashing someone's allocated memory.  You shouldn't do that.
  26. MattIsm: People, _always_ use QuickDraw's QDStartUp to allocate screen
  27. memory and initialize the graphics subsystem for you.  If you don't,
  28. you interfere with the smoothlaunch mechanism that's in 6.0, and you
  29. annoy people like me who like their OS extensions (GNO) to be able
  30. to recognize when a program is taking over the screen.  There are
  31. much better ways to start up with a blank SHR screen than doing what you're
  32. doing.. but whether a blank SHR screen is even necessary is debatable.
  33.  
  34.   IMHO, I like programs that, if they must put up a splash screen,
  35. turn on QuickDraw, set the palettes to all black (during the
  36. vertical retrace, say, so you don't get tearing) and then fade in
  37. the picture.  Like AWGS does it.  It's nice and it's also guaranteed
  38. to be compatible with future revisions of GNO &/or Switch-It! that
  39. just might do some things that surprise you.
  40.  
  41.   So, how's it going Amrit? :-)
  42. -- 
  43.  Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
  44.  Procyon, Inc.              |   for the Apple IIgs!   
  45.  bazyar@cs.uiuc.edu         |   P.O Box 620334
  46.  --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649
  47.