#													#
# Flash Point (bootleg) driver								#
#													#

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

GAMENAME    " Flash Point (bootleg) "
DIRECTORY   FPOINTBL
CPSTYPE     SYSTEM16
DATE		1989

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

0x00000000 0x0003FFFF CODE
0x00c40000 0x00c4FFFF EXTRARAM
0x00418000 0x0041803F EXTRARAM2
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x0003FFFF CODE
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00410FFF TEXTRAM
0x00418000 0x0041803F EXTRARAM2
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c40000 0x00c40FFF EXTRARAM
0x00c41000 0x00c4FFFF IORAM
0x00c80000 0x00c8FFFF EXTRARAM3
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM


[dataWriteRegions]

0x00400000 0x0040FFFF TILERAM
0x00410000 0x00410FFF TEXTRAM
0x00418000 0x0041803F EXTRARAM2
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c40000 0x00c4FFFF EXTRARAM
0x00c80000 0x00c8FFFF EXTRARAM3
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0x30000
MERGE flpoint.006 flpoint.005 flpoint.004 0x10000 0x00000

[sprites]
BANKS		1
BANKSIZE	0x20000	
ROMSIZE		0x20000
BANKTABLE	 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MERGE		opr12597.bin opr12596.bin	0x10000 0x00000 


#                     #
# program information #
#                     #
[program]
MERGE  flpoint.003 flpoint.002 0x10000 0x00000

[patch]

0x455 0x33
0x454 0xf8
0x457 0xe0
0x456 0xe2

0x8ce9 0x16
0x8ce8 0x66

0x17687 0x00

0x7bed 0x04

0x7ea9 0x61
0x7ea8 0x00
0x7eab 0x84
0x7eaa 0x16
0x2c1 0xe7
0x2c0 0x48
0x2c3 0xe7
0x2c2 0x49
0x2c5 0x04
0x2c4 0x40
0x2c7 0x00
0x2c6 0x10
0x2c9 0x4e
0x2c8 0x75

[patchend]
#                        #
# The game configuration #
#                        #
[configuration]
reg_p1ctrl					0x0002
reg_p2ctrl					0x0006
reg_sw1						0x1002
reg_sw2						0x1000
reg_gamecf					0x0000
spritelistEndWidthMarker	0xFFFF
reg_fg_scrolly				0x0E90
reg_bg_scrolly				0x0e92
reg_fg_scrollx				0x0e98
reg_bg_scrollx				0x0e9a 
reg_fg_pages				0x0e80
reg_bg_pages				0x0e82
reg_scroll_x_shift			0x140
reg_scroll_y_shift			0x100
sprxoffset					0xbc


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


[End]
[verifyRoms]
[End]
