#													#
# Alien Storm (bootleg) driver						#
#													#

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

GAMENAME    " Alien Storm (bootleg) "
DIRECTORY   ASTORMBL
PARENT		ASTORM
CPSTYPE     SYSTEM18
DATE		1990

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

0x00000000 0x000fFFFF CODE
0x00100000 0x0010FFFF TILERAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x000fFFFF CODE
0x00100000 0x0010FFFF TILERAM
0x00110000 0x00110FFF TEXTRAM
0x00140000 0x00140FFF PALETTERAM
0x00200000 0x00200FFF SPRITERAM
0x00a00000 0x00a0FFFF IORAM
0x00c00000 0x00c0FFFF EXTRARAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

[dataWriteRegions]

0x00100000 0x0010FFFF TILERAM
0x00110000 0x00110FFF TEXTRAM
0x00140000 0x00140FFF PALETTERAM
0x00200000 0x00200FFF SPRITERAM
0x00a00000 0x00a0FFFF IORAM
0x00c00000 0x00c0FFFF EXTRARAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0xC0000
MERGE epr13073.bin epr13074.bin epr13075.bin 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 astorm.a11   mpr13082.bin	0x40000 0x000000 
MERGE mpr13088.bin mpr13081.bin 0x40000 0x080000 
MERGE mpr13087.bin mpr13080.bin 0x40000 0x100000 
MERGE epr13086.bin epr13079.bin 0x40000 0x180000 


#                     #
# program information #
#                     #
[program]
MERGE astorm.a6 astorm.A5	0x40000 0x00000

[patch]
 0x2D6f 0x32
 0x2D6e 0x3c
 0x2D71 0x80
 0x2D70 0x00
 0x2D73 0x33
 0x2D72 0xc1

 0x2ea3 0x30
 0x2ea2 0x38
 0x2ea5 0xec
 0x2ea4 0xf6
 0x2ea7 0x30
 0x2ea6 0x80

 0x2e5d 0x30
 0x2e5c 0x38
 0x2e5f 0xec
 0x2e5e 0xe2
 0x2e61 0xc0
 0x2e60 0x7c

 
[patchend]
#                        #
# The game configuration #
#                        #
[configuration]
reg_p1ctrl					0x1002
reg_p2ctrl					0x1004
reg_sw1						0x0000
reg_sw2						0x0002
reg_gamecf					0x1006
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					0x40


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


[End]
[verifyRoms]
[End]
