Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jarthur!nntp-server.caltech.edu!nygardm From: nygardm@nntp-server.caltech.edu (Michael T. Nygard) Newsgroups: comp.sys.amiga.programmer Subject: Copper list help requested Summary: Copper lists in HRM don't work Keywords: copper Message-ID: <1991May7.034044.26814@nntp-server.caltech.edu> Date: 7 May 91 03:40:44 GMT Organization: California Institute of Technology, Pasadena Lines: 25 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.) Next, I think the list as shown is wrong. The register offsets should be shifted left by one bit, shouldn't they? I'd appreciate it if some wizard out there could point me in the right direction or, even better, mail me a code sample! Many profuse thanks, and all that. -- -------- Mike Nygard nygardm@coil.cco.caltech.edu