Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rocky!rokicki From: rokicki@rocky.STANFORD.EDU (Tomas Rokicki) Newsgroups: comp.sys.amiga Subject: More idiosyncracies Message-ID: <794@rocky.STANFORD.EDU> Date: Thu, 3-Dec-87 05:40:50 EST Article-I.D.: rocky.794 Posted: Thu Dec 3 05:40:50 1987 Date-Received: Mon, 7-Dec-87 05:39:20 EST Organization: Stanford University Computer Science Department Lines: 24 One more for you hackers out there. If an OFF_SPRITE is executed after a sprite data DMA fetch is made (as will happen with the following calls: WaitTOF() ; OFF_SPRITE ; when you have the pointer at the bottom of the screen) then the machine will continue to display that horizontal line of the sprite. (I'm sure you've seen this in various display programs.) A simple way to fix this is to clear out all of the registers custom.spr[0].ctl = 0 ; custom.spr[1].ctl = 0 ; custom.spr[2].ctl = 0 ; custom.spr[3].ctl = 0 ; custom.spr[4].ctl = 0 ; custom.spr[5].ctl = 0 ; custom.spr[6].ctl = 0 ; custom.spr[7].ctl = 0 ; Is there a better way? (I don't have a window open, and even if I did, I wouldn't want to Activate() it, so don't tell me to use SetPointer().) -tom