Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!reed!percival!baer From: baer@percival.UUCP (Ken Baer) Newsgroups: comp.sys.amiga Subject: BltBitMap() problems. Message-ID: <1081@percival.UUCP> Date: 7 Feb 88 06:51:15 GMT Organization: Percy's UNIX, Portland, OR. Lines: 28 Keywords: Help! < Line Eater Kibbles-n-Bits > I have been having some trouble getting the BltBitMap() function to work properly. I am trying to do a simple copy from one bitmap to another of the same size (both allocated in ChipRam). The function returns 0, which means that it hasn't copied any of the bitplanes. The following code should illustrate what I'm trying to do. struct BitMap *bitmap1, *oldbitmap1; struct ViewPort vp1; WORD blitnum; .... blitnum = BltBitMap(bitmap1, 0, 0, oldbitmap1, 0, 0, vp1->DWidth, vp1->DHeight, 0xc0, 0xff, NULL); .... I have also tried this with a TempA allocated. I have also inserted a WaitBlit() and OwnBlitter(), DisownBlitter(). I must be making some blaring error somewhere. All I want to do is copy a full bitmap, nothing fancy. Any suggestions or pointers :-) will be greatly appreciated. Thanks in Advance. -- -Ken Baer. // Amiga: The PC that CAN walk and chew gum at the same time. \X/ USENET - ...tektronix!reed!percival!baer OR baer@percival.UUCP "The Few, The Proud, The Criminally Insane - Oberlin Computer Science" - me.