[comp.sys.amiga.programmer] Help with copperlist needed

dmathies@cernvax.cern.ch ( ) (06/18/91)

Help ... for once i've decided to stop my 'blast the system and poke the hard-
ware' bad programming habits and i'm now stuck for a silly thingy ...

I want to include a bunch of copper instruction to make some color effects in
a screen view viewport copper list ...

i guess i should use InitUcopperList,Cmove,Cwait and Cbump but how ???

is something like that correct :

		lea		myownucoplist,a0
		moveq	#instnum,d0
		jsr		InitUcoplist(a6)	; a6 contains gfxbase
		move.w	#register,d0
		move.w	#data,d1
		jsr		Cmove(a6)
		jsr		Cbump(a6)
		move.w	#vpos,d0
		move.w	#hpos,d1
		jsr		Cwait(a6)
		jsr		Cbump(a6)
		etc .. etc ..
		move.w	#10000,d0
		move.w	#255,d1
		jsr		Cwait(a6)
		jsr		Cbump(a6)

		and then

		move.l	a0,MyScreen->MyViewPort->Ucoplist
		        
		and then call mrgcop to get it ok ????

	Please someone help me or i will go back to my wild poking ...
                     
	any reply welcome at CREMMER@CERNVM.CERN.CH because i don't have access
to the news so often ...

					thanks alot,cheers.

Signature Signature Signature ... only the concept matters ...