View Single Post
Old 27 October 2019, 16:27   #13
ross
Per aspera ad astra

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 49
Posts: 2,370
In the first part of IRQ3/VBI handler (before video line $18!) I would check the choice condition for the sub-list and write the NULL or COPJMP2 value at 'switch:'

Copper list:

Code:
COP1_start:
	dc.w $00e0,$0000
	.. general setup

	dc.w $1807,$fffe        ;<---
	dc.w $0120,$0000
	-- sprites setup
	
	;some copper list stuff
	dc.w $0180,$0000
	dc.w $0182,$0000
	dc.w $0184,$0000
	dc.w $0186,$0000
	dc.w $0188,$0000
	dc.w $018a,$0000
	dc.w $018c,$0000
	dc.w $018e,$0000

switch: dc.w $008a,$0000   	;or $01fe,$0000 (NULL)

	dc.w $0190,$0000
	dc.w $0192,$0000
	dc.w $0194,$0000
	dc.w $0196,$0000
	dc.w $0198,$0000
	dc.w $019a,$0000
	dc.w $019c,$0000
	dc.w $019e,$0000

jumpAdress:
        ;here we jump to
	dc.w $3d0f,$fffe
	dc.w $0100,$4200
EDIT: in fact I could leave what I had written the first time, it wasn't the OP's request but equally interesting

Last edited by ross; 27 October 2019 at 16:55. Reason: sorry for the first post...
ross is offline  
 
Page generated in 0.04166 seconds with 11 queries