;--------------------------------------------------------------
; Copperlist del efecto.
; El truco es usar un ddfstrt distinto al que le corresponderia ($38)
; y ajustar el modulo con ese +2 en lugar del +4.
; Explicar mejor que luego se olvidan las cosas y me ha costado un web 
; sacarlo.
;--------------------------------------------------------------
BTF2_CopperList:
	dc.w	DiWStrt,$2981,DiWStop,$29C1,DdfStrt,$0030,DdfStop,$00D0
	dc.w	BplCon1,$0000,BplCon2,$0000,BplCon3,0,AgaFMode,0
	dc.w	BplCon0,0<<12+$200

;-------------------------------------------------------------
; ZOna superior. Hasta la linea $65
;-------------------------------------------------------------
	dc.w	$4531,$fffe
Roller1	ds.w	ROLSIZE
	dc.w	COLOR00,$0000	

;-------------------------------------------------------------
; Zona animacion jeep. Desde $65 hasta $EB
;-------------------------------------------------------------
	dc.w    $5507,$fffe 	;,Color00,$0f00
	dc.w	BplCon0,BTF2_Calle_NumPlanosImagen<<12+$200

BTF2_Copper_BitplanesCalle:
	dc.w	Bpl1Pth,$0000,Bpl1Ptl,$0000
	dc.w	Bpl2Pth,$0000,Bpl2Ptl,$0000
	dc.w	Bpl3Pth,$0000,Bpl3Ptl,$0000
	dc.w	Bpl4Pth,$0000,Bpl4Ptl,$0000
	dc.w	Bpl5Pth,$0000,Bpl5Ptl,$0000

BTF2_Scroll_Calle:
	dc.w	BplCon1,$00FF,BplCon2,$0000
	dc.w	Bpl1Mod,BTF2_ZonaCalle_Bitplane_Width*(BTF2_Calle_NumPlanosImagen-1)+2
	dc.w	Bpl2Mod,BTF2_ZonaCalle_Bitplane_Width*(BTF2_Calle_NumPlanosImagen-1)+2

BTF2_Copper_PaletaCalle:
	incbin  "CF0:IntroBirraRutinas/BackToFuture/Data/Rec_Jeep/calle320x134x5.pal"

;-------------------------------------------------------------
; Zona inferior. Desde $EB
;-------------------------------------------------------------
	dc.w    $DB07,$fffe,Color00,$0000,Color01,$00f0
	dc.w	BplCon0,1<<12+$200
	dc.w	BplCon1,$0000,BplCon2,$0000,DdfStrt,$0038,DdfStop,$00D0
BTF2_Copper_BitplanesInferior:
	dc.w	Bpl1Pth,$0000,Bpl1Ptl,$0000
	dc.w	Bpl1Mod,0,Bpl2Mod,0
	dc.w    $DC07,$fffe
Roller2	ds.w	ROLSIZE
	dc.w	COLOR00,$0000	



BTF2_Fin_Copper:
	DC.W	$FFFF,$FFFE
	cnop 0,4

;--------------------------------------------------------------
; Doble buffer para mejorar frame rate
;--------------------------------------------------------------
BTF2_Calle_Buffer: 
	dc.l 	buffer_general_1,buffer_general_2
	;dc.l BTF2_Calle_Buffer1,BTF2_Calle_Buffer2

;BTF2_Calle_Buffer1:
;	dcb.b 	BTF2_ZonaCalle_Bitplane_Width*BTF2_ZonaCalle_Bitplane_Height*BTF2_Calle_NumPlanosImagen+512,0 		;320x134x5 planos en modo blitter
;	even

;BTF2_Calle_Buffer2:
;	dcb.b 	BTF2_ZonaCalle_Bitplane_Width*BTF2_ZonaCalle_Bitplane_Height*BTF2_Calle_NumPlanosImagen+512,0 		;320x134x5 planos en modo blitter
;	even

;--------------------------------------------------------------
; Fondo del efecto
;--------------------------------------------------------------
BTF2_Calle_Imagen:
	incbin	"CF0:IntroBirraRutinas/BackToFuture/Data/Rec_Jeep/calle320x134x5.rawb"
	even

BTF2_Calle_Tiles:
	dc.b 	0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,-1
	even

;--------------------------------------------------------------
; Bobs + Mascaras de los personales
;--------------------------------------------------------------
BTF2_Jeep01_Planes:
	incbin	"CF0:IntroBirraRutinas/BackToFuture/Data/Rec_Jeep/Jeep01_256x92.rawb"
	even

BTF2_Jeep01_Mask:
	incbin	"CF0:IntroBirraRutinas/BackToFuture/Data/Rec_Jeep/Jeep01_256x92.maskb"
	even

BTF2_Jeep02_Planes:
	incbin	"CF0:IntroBirraRutinas/BackToFuture/Data/Rec_Jeep/Jeep02_256x92.rawb"
	even

BTF2_Jeep02_Mask:
	incbin	"CF0:IntroBirraRutinas/BackToFuture/Data/Rec_Jeep/Jeep02_256x92.maskb"
	even

BTF2_Jeep_Frames: dc.l BTF2_Jeep02_Planes,BTF2_Jeep01_Planes
BTF2_Jeep_Mascaras: dc.l BTF2_Jeep02_Mask,BTF2_Jeep01_Mask

;------------------------------------------------------------------------------------------------------------------------------------------------

BTF2_Buffer_Jeep: dc.l BTF2_Buffer_Jeep_A,BTF2_Buffer_Jeep_N

BTF2_Buffer_Jeep_A:
	dcb.b 	(BTF2_Ancho_Jeep*2)*BTF2_Calle_NumPlanosImagen*BTF2_Altura_Jeep,0
	even

BTF2_Buffer_Jeep_N:
	dcb.b 	(BTF2_Ancho_Jeep*2)*BTF2_Calle_NumPlanosImagen*BTF2_Altura_Jeep,0
	even

BTF2_Espacio_Inferior:
	dcb.b 	44*1*80,$0
	even

BTF2_Espacio_Inferior2:
	dcb.b 	44*1*80,$0
	even
