Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!cs.umu.se!dvljrt From: dvljrt@cs.umu.se (Joakim Rosqvist) Newsgroups: comp.sys.amiga.programmer Subject: Re: Copper list help requested Keywords: copper Message-ID: <1991May7.154923.20565@cs.umu.se> Date: 7 May 91 15:49:23 GMT References: <1991May7.034044.26814@nntp-server.caltech.edu> Sender: news@cs.umu.se (News Administrator) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 18 In article <1991May7.034044.26814@nntp-server.caltech.edu> nygardm@nntp-server.caltech.edu (Michael T. Nygard) writes: >I've been trying to go through the Copper list examples in the Hardware >Reference Manual, but I can't make them work. Here's the deal. > >I'm looking at page 24-5, and the sample copper list. I wrote a bit of >wrapper code to just startup, load the copper list, and start it. (It's not >very friendly...takes over the machine... busy waits, but hey! I'm just >starting in assembly!) I know the wrapper code runs OK, but I run into trouble >with the copper list itself. > >The example needs real bitplanes. I'd like to use the active view, but I can't >seem to get a bitplane pointer (GfxBase->ActiView->ViewPort->RasInfo->BitMap-> >Planes is NULL somewhere along the line.) > Try to go via IntuitionBase->ActiveScreen Then, 192 bytes in, are the bitplane pointers! /$DR.HEX$