#													#
# E-Swat (Bootleg) driver							#
#													#

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

GAMENAME    " E-Swat (Bootleg) "
DIRECTORY   ESWATBL
CPSTYPE     SYSTEM16
DATE		1989

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

0x00000000 0x000FFFFF CODE
0x003e0000 0x003eFFFF EXTRARAM2
0x00c80000 0x00c8FFFF EXTRARAM
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x000FFFFF CODE
0x003e0000 0x003eFFFF 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]

0x003e0000 0x003eFFFF EXTRARAM2
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00418FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c80000 0x00c8FFFF EXTRARAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0xC0000
MERGE ic19.bin ic20.bin ic21.bin  0x40000 0x00000

[sprites]
BANKS		8
BANKSIZE	0x040000	
ROMSIZE		0x200000
BANKTABLE	0x00 0x02 0x08 0x0a 0x10 0x12 0x18 0x1a 0x04 0x06 0x0c 0x0e 0x14 0x16 0x1c 0x1e
MERGE ic12.bin ic9.bin 	0x40000 0x000000 
MERGE ic13.bin ic10.bin 0x40000 0x080000 
MERGE ic14.bin ic11.bin 0x40000 0x100000 

#                     #
# program information #
#                     #
[program]
MERGE 	eswat_c.rom eswat_f.rom 0x10000 0x00000
MERGE 	eswat_b.rom eswat_e.rom 0x10000 0x20000
MERGE	eswat_a.rom eswat_d.rom	0x08000 0x40000

[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				0x8018
reg_bg_scrolly				0x8001
reg_fg_scrollx				0x8008
reg_fg_scrolly				0x8011
reg_fg_pages				0x8020
reg_bg_pages				0x8028
reg_scroll_x_shift			0x140
reg_scroll_y_shift			0x100
sprxoffset					0x40


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


[End]
[verifyRoms]
[End]
