View Single Post
Old 04 December 2018, 23:42   #9
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,479
Quote:
Originally Posted by mcgeezer View Post
Thanks Ross, that's pretty much what I calculated as well.

Here's my copper init routine... Just slightly different i guess.

Code:
;
; INIT_COPPER
; 
; Initialize the Copper list
;
INIT_COPPER1:
	move.l	MEMCHK2_COPPER1,a1
	move.l	a1,d4

	move.w	#BPLCON4,(a1)+
	move.w	#$0011,(a1)+

	move.w	#FMODE,(a1)+
	move.w	#5,(a1)+

	move.w	#DIWSTRT,(a1)+	; 
	move.w	#$2cbe,(a1)+	; 	; 
	move.w	#DIWSTOP,(a1)+	; 
	IFNE	DEBUG_BORDER_ENABLE
	move.w	#$ffd2,(a1)+	;  	; 1b2 - be = f4 (244) pixels (debpt =$ec)
	ELSE
	move.w	#$ffb2,(a1)+	;  	; 1b2 - be = f4 (244) pixels (debpt =$ec)
	ENDC

	move.w	#DDFSTRT,(a1)+	; 
	move.w	#$0038,(a1)+	; 3c
	move.w	#DDFSTOP,(a1)+  ; 
	move.w	#$00d0,(a1)+	; a4

; Initialise Normal Sprite DMA
	bsr	INIT_COPPER_SPRITES
Yes, your values are a bit 'strange', but I can be wrong, I make some test and report.
ross is offline  
 
Page generated in 0.04396 seconds with 10 queries