#													#
# Dynamite Dux (Bootleg) driver									#
#													#

#                      #
# The name of the game #
#                      #
[general]

GAMENAME    " Dynamite Dux (Bootleg) "
DIRECTORY   DDUXBL
CPSTYPE     SYSTEM16
DATE		1988

#                 #
# The memory map  #
#                 #
[cpu1]
[programRegions]

0x00000000 0x000FFFFF CODE
0x003F0000 0x003FFFFF EXTRARAM2
0x00c80000 0x00c8FFFF EXTRARAM
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x000FFFFF CODE
0x003F0000 0x003FFFFF EXTRARAM2
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00418FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c41000 0x00c4FFFF IORAM
0x00c80000 0x00c8FFFF EXTRARAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM


[dataWriteRegions]

0x003F0000 0x003FFFFF EXTRARAM2
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00418FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c80000 0x00c8FFFF EXTRARAM
0x00c41000 0x00c4FFFF IORAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0x30000
MERGE dduxb14.bin dduxb15.bin dduxb16.bin  0x10000 0x00000

[sprites]
BANKS		0x10
BANKSIZE	0x008000	
ROMSIZE		0x080000
BANKTABLE	0 0 0 0 0 0 0 0x06 0 0 0 0x04 0 0x02 0 0
MERGE dduxb06.bin dduxb10.bin 0x10000 0x00000
MERGE dduxb07.bin dduxb11.bin 0x10000 0x20000
MERGE dduxb08.bin dduxb12.bin 0x10000 0x40000
MERGE dduxb09.bin dduxb13.bin 0x10000 0x60000

#                     #
# program information #
#                     #
[program]
MERGE dduxb03.bin dduxb05.bin 0x20000 0x00000
MERGE dduxb02.bin dduxb04.bin 0x20000 0x80000

[patch]

[patchend]
#                        #
# The game configuration #
#                        #
[configuration]
reg_p1ctrl					0x0002
reg_p2ctrl					0x0006
reg_sw1						0x1002
reg_sw2						0x1000
reg_gamecf					0x0000
spritelistEndWidthMarker	0xFFFF
reg_bg_scrollx				0x5008
reg_bg_scrolly				0x5000
reg_fg_scrollx				0x5018
reg_fg_scrolly				0x5010
reg_fg_pages				0x5126
reg_bg_pages				0x5122
reg_scroll_x_shift			0x140
reg_scroll_y_shift			0x100
sprxoffset					0x48

[z80]
TOTAL 0x8000
LOAD8 epr12127.a10 0x8000 0x000000


[End]
[verifyRoms]
[End]
