home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15927 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.1 KB

  1. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!pitt.edu!amigaman
  2. From: amigaman+@pitt.edu (Russell A Howard)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Programming an Overscan screen under 2.04
  5. Message-ID: <9755@blue.cis.pitt.edu.UUCP>
  6. Date: 17 Nov 92 01:41:42 GMT
  7. Sender: news+@pitt.edu
  8. Organization: University of Pittsburgh
  9. Lines: 36
  10.  
  11.  
  12.     I'm tcurrently working on a project and want to use a 640 X 480
  13. overscan screen.  If I open a 640 X 480 screen with OpenScreenTags and
  14. specify "SA_Overscan" to be STANDARD it opens the screen ok.  Then I open a
  15. 640 X 480 window.  I then bli a bitmap onto the window which is 640 X 400.  
  16. This is where the problem occurs...  The image is only 640X400, so the bottom
  17. of the window should be clear, but it's not.  The image that I blit into the
  18. upper part of the screen appears again right after the correct image except
  19. the colors for the image are wrong.   Example:
  20.  
  21. +------------------------------+
  22. | XXXXXXXXXXXXXXXXXXXXXXXXXXXX |
  23. | XXXXXXXXXXXXXXXXXXXXXXXXXXXX |
  24. | XXXXXXXXXXXXXXXXXXXXXXXXXXXX |
  25. | XXXXXXXXXXXXXXXXXXXXXXXXXXXX |  
  26. | XXXXXXXXXXXXXXXXXXXXXXXXXXXX |  correct full image
  27. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
  28. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |  It displays the image again until it runs out
  29. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |  of screen, but the palette is messed up.  It
  30. +------------------------------+  uses the same colors but the grey areas are
  31.                                   the green color etc...
  32.  
  33. Has anyone else had a problem like this.
  34.  
  35. Also, on a related note,  my workbench gets messed up if I go into the
  36. Overscan preferences editor and drag the box to its full width and height for
  37. the standard overscan setting on my 3000.  I make the box 704X480.  Then, if
  38. I drag the Workbench screen down 2 pixels, the screen screws up and starts 
  39. displaying garbage. If I move it down another pixel, it clears up.  It is
  40. only the WorkBench screen that is effected though.  I had DPIV open in front of
  41. the WB screen and when the WB screen screwed up, DPIV was fine.  WHat does
  42. -- 
  43. --
  44. Russ Howard
  45. Internet:  amigaman+@pitt.edu
  46. BIX:       russhoward
  47.