#													#
# Golden Axe driver									#
#													#

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

GAMENAME    " Golden Axe "
DIRECTORY   GOLDNAXE
CPSTYPE     SYSTEM16
DATE		1989

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

0x00000000 0x000fFFFF CODE
0x001f0000 0x001fFFFF EXTRARAM2
0x00c40000 0x00c4FFFF EXTRARAM
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x000fFFFF CODE
0x00100000 0x0010FFFF TILERAM
0x00110000 0x00110FFF TEXTRAM
0x00140000 0x00140FFF PALETTERAM
0x001f0000 0x001fFFFF EXTRARAM2
0x00200000 0x00200FFF SPRITERAM
0x00c40000 0x00c4FFFF EXTRARAM
0x00c41000 0x00c4FFFF IORAM
0x00FE0000 0x00FEFFFF Z80COM
0x00ffecd0 0x00ffecd1 GAPLAYERS
0x00ffec96 0x00ffec97 GAIOSERVICE
0x00FF0000 0x00FFFFFF ONBOARDRAM


[dataWriteRegions]

0x00100000 0x0010FFFF TILERAM
0x00110000 0x00110FFF TEXTRAM
0x00140000 0x00140FFF PALETTERAM
0x001f0000 0x001fFFFF EXTRARAM2
0x00200000 0x00200FFF SPRITERAM
0x00c40000 0x00c4FFFF EXTRARAM
0x00FE0000 0x00FEFFFF Z80COM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0x60000
MERGE epr12385 epr12386 epr12387  0x20000 0x00000

[sprites]
BANKS		8
BANKSIZE	0x040000	
ROMSIZE		0x200000
BANKTABLE	0x00 0x02 0x08 0x0A 0x10 0x12 0x00 0x00 0x04 0x06 0x0C 0x0E 0x14 0x16 0x00 0x00
MERGE		mpr12379.b4 mpr12378.b1 0x40000 0x00000 
MERGE		mpr12381.b5 mpr12380.b2 0x40000 0x80000
MERGE		mpr12383.b6 mpr12382.b3 0x40000 0x100000


#                     #
# program information #
#                     #
[program]
MERGE epr12523.a7 epr12522.a5	0x20000 0x00000
MERGE epr12521.a8 epr12519.a6	0x20000 0x80000

[patch]
0x3CB2 0x75
0x3CB3 0x4E

[patchend]
#                        #
# The game configuration #
#                        #
[configuration]
reg_p1ctrl					0x0002
reg_p2ctrl					0x0006
reg_sw1						0x1002
reg_sw2						0x1000
reg_gamecf					0x0000
spritelistEndWidthMarker	0xFFFF
reg_fg_scrollx				0x0E98
reg_bg_scrollx				0x0E9a
reg_bg_scrolly				0x0E92
reg_fg_scrolly				0x0E90
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]
