🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help with DrawImage +

#7895
From: Peter Kittel GERMANY
Date: Mon, 07 Jan 1991 10:02
16 lines
1361 bytes
In article <18789829.ARN020d@aquarium.buffalo.ny.us> dave@aquarium.buffalo.ny.us writes:
>  but, when i changed to a CUSTOMSCREEN (it was on the WBSCREEN)
>  with 3 planes (8 colours), i get garbage when i attempt to
>  drawimage into the last color (color 7)...
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The value 7 for planepick doesn't mean that you draw "into color 7",
but that you draw into bitplanes 1 to 3. The value 7 is the three
lowest bits set, and each bit stands for one bitplane.
If you only have data for two bitplanes (as your depth parameter
says), then indeed garbage will occur for the third plane.
To check this out, try to set planepick to 3, which will limit
the planes to 2.

-- 
Best regards, Dr. Peter Kittel  // E-Mail to  \\  Only my personal opinions... 
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
Technical Details
Message-ID: <681@cbmger.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bagate!cbmvax!cbmehq!cbmger!peterk
References: <18789829.ARN020d@aquarium.buffalo.ny.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bagate!cbmvax!cbmehq!cbmger!peterk
From: peterk@cbmger.UUCP (Peter Kittel GERMANY)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help with DrawImage +
Keywords: images confusion help
Message-ID: <681@cbmger.UUCP>
Date: 7 Jan 91 10:02:55 GMT
References: <18789829.ARN020d@aquarium.buffalo.ny.us>
Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY)
Organization: Commodore Bueromaschinen GmbH, West Germany
Lines: 16