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