#													#
# Shadow dancer driver									#
#													#

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

GAMENAME    " Shadow dancer "
DIRECTORY   SHDANCER
CPSTYPE     SYSTEM18
DATE		1989

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

0x00000000 0x000fFFFF CODE
0x00400000 0x0040FFFF TILERAM
0x00c00000 0x00c0FFFF EXTRARAM
0x00c40000 0x00c40FFF EXTRARAM2
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x000fFFFF CODE
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00410FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c00000 0x00c0FFFF EXTRARAM
0x00c40000 0x00c40FFF EXTRARAM2
0x00e40000 0x00e4FFFF IORAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

[dataWriteRegions]

0x00400000 0x0040FFFF TILERAM
0x00410000 0x00410FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c00000 0x00c0FFFF EXTRARAM
0x00c40000 0x00c40FFF EXTRARAM2
0x00e40000 0x00e4FFFF IORAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0xC0000
MERGE SHDANCER.B1 SHDANCER.B2 SHDANCER.B3 0x40000 0x00000

[sprites]
BANKS		8
BANKSIZE	0x040000	
ROMSIZE		0x200000
BANKTABLE	0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 0x12 0x14 0x16 0x18 0x1A 0x1C 0x1E
MERGE SHDANCER.A11 SHDANCER.B11 0x40000 0x000000 
MERGE SHDANCER.A10 SHDANCER.B10 0x40000 0x080000 
MERGE SHDANCER.A9  SHDANCER.B9  0x40000 0x100000 
MERGE SHDANCER.A8  SHDANCER.B8  0x40000 0x180000 


#                     #
# program information #
#                     #
[program]
MERGE SHDANCER.A6 SHDANCER.A5	0x40000 0x00000

[patch]

[patchend]
#                        #
# The game configuration #
#                        #
[configuration]
reg_p1ctrl					0x0000
reg_p2ctrl					0x0002
reg_sw1						0x000a
reg_sw2						0x000c
reg_gamecf					0x0008
spritelistEndWidthMarker	0x8000
reg_fg_scrollx				0x0E98
reg_fg_scrolly				0x0E90
reg_bg_scrollx				0x0E9a
reg_bg_scrolly				0x0E92
reg_fg_pages				0x0E80
reg_bg_pages				0x0E82
reg_scroll_x_shift			0x140
reg_scroll_y_shift			0x100
sprxoffset					0xbc


[z80]
TOTAL 0x60000
LOAD8 epr12127.a10 0x20000 0x000000
LOAD8 shdancer.b4 0x40000 0x020000


[End]
[verifyRoms]
[End]
