Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bellcore!uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas From: forgeas@swinjm.UUCP (Jean-Michel Forgeas) Newsgroups: comp.sys.amiga.tech Subject: Re: Help with DrawImage + Message-ID: <187aedde.ARN0b38@swinjm.UUCP> Date: 6 Jan 91 13:57:50 GMT References: <18789829.ARN020d@aquarium.buffalo.ny.us> Reply-To: forgeas@swinjm.UUCP (Jean-Michel Forgeas) Followup-To: comp.sys.amiga.tech Organization: The Software Winery Lines: 34 In article <18789829.ARN020d@aquarium.buffalo.ny.us>, David R. Tyler writes: > Hello all! > [...] > 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)... Are you sure your PlanePick value does represent the exact number of planes stored in your image data ? > struct Image hex = > { > 0,0 - leftedge, topedge > 32,9,2 - width, height, depth > HEXA,7,0, - ImageData, PlanePick, PlaneOnOff > NULL - NextImage > }; Your PlanePick value of 7 (00000111) means that HEXA has 3 planes... > my image data is enough for 2 planes, but when i change depth to 1, and ...but HEXA has only 2 planes. So the third plane to be drawn is the memory following the second plane. Who knows what it is ? This can be one of your problems, but I think you have others and I need a piece of your code to understand more. -- \___/ Jean-Michel Forgeas \-/ cbmvax!cbmehq!cbmfra!swinjm!forgeas | The Software Winery -^- And, where is the universe ?