🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #8357

Re: Multiple viewports

#8357
From: Leo 'Bols Ewhac' Schwab
Date: Sun, 27 Mar 1988 09:39
28 lines
1921 bytes
In article <2554@usceast.UUCP> baldwin@usceast.UUCP (Chuck Baldwin) writes:
>I am trying to perform a conceptually simple task, of showing two
>different views of a large bitmap by using two ViewPorts.  My code
>is not in obvious error, and I get bizarre but repeatable results.
>
	I'm assuming that you've got one viewport on top of another, sort of
like a dragged screen effect.

>[ Outlines his procedure... ]
>
>The problem is this ... the first ViewPort has graphics correctly
>rendered, but the second doesn't. In fact, the second ViewPort is black, which
>is not the currently defined background color.  It's as if the display 
>is not spewing electrons for the bottom half of the screen.
>
	Sounds like it's not making it to the second ViewPort.  I would check
to make sure that the ViewPort.{DxOffset,DyOffset} variables are set up
correctly.  You must leave at least on blank video line between the bottom
of one viewport, and the top of the next one.

	It's hard to say what's going on without looking at the relevant
code section; this is only my suspicion.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape	ihnp4!ptsfa -\
 \_ -_		Recumbent Bikes:	      dual ---> !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor
Technical Details
Message-ID: <5542@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!gatech!ncar!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!well!ewhac
References: <2554@usceast.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!gatech!ncar!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!well!ewhac
From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga
Subject: Re: Multiple viewports
Keywords: two viewports for every bitmap
Message-ID: <5542@well.UUCP>
Date: 27 Mar 88 09:39:17 GMT
References: <2554@usceast.UUCP>
Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
Organization: "I don't like pink....."
Lines: 28