#													#
# Alex Kidd (set 2) driver							#
#													#

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

GAMENAME    " Alex Kidd (set 2) "
DIRECTORY   ALEXKIDD
CPSTYPE     SYSTEM16
DATE		1986

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

0x00000000 0x0003FFFF CODE
0x003f0000 0x003fFFFF EXTRARAM2
0x00c40000 0x00c40FFF EXTRARAM
0x00FF0000 0x00FFFFFF ONBOARDRAM
	
[dataReadRegions]

0x00000000 0x0003FFFF CODE
0x003f0000 0x003fFFFF EXTRARAM2
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00410FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c40000 0x00c40FFF EXTRARAM
0x00c41000 0x00c4FFFF IORAM
0x00FF0000 0x00FFFFFF ONBOARDRAM


[dataWriteRegions]

0x003f0000 0x003fFFFF EXTRARAM2
0x00400000 0x0040FFFF TILERAM
0x00410000 0x00410FFF TEXTRAM
0x00440000 0x00440FFF SPRITERAM
0x00840000 0x00840FFF PALETTERAM
0x00c40000 0x00c40FFF EXTRARAM
0x00FF0000 0x00FFFFFF ONBOARDRAM

#                                         #
# Protection                              #
#                                         #
[protection]


#                      #
# Graphics information #
#                      #
[graphics]

[chars]
ROMSIZE 0x18000
MERGE 10431.95 10432.94 10433.93 0x8000 0x00000

[sprites]
BANKS		5
BANKSIZE	0x10000	
ROMSIZE		0x50000
BANKTABLE	0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3
MERGE 10441.11 10437.10	0x08000 0x00000 
MERGE 10442.18 10438.17	0x08000 0x10000 
MERGE 10443.24 10439.23	0x08000 0x20000 
MERGE 10444.30 10440.29	0x08000 0x30000 
MERGE 10441.11 10437.10	0x08000 0x40000 


#                     #
# program information #
#                     #
[program]
MERGE 10447.43 10445.26	0x10000 0x00000
MERGE 10448.42 10446.25	0x10000 0x20000

[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				0x0ffa
reg_bg_scrolly				0x0f26
reg_fg_scrollx				0x0ff8
reg_fg_scrolly				0x0f24
reg_fg_pages				0x0E9e
reg_bg_pages				0x0E9c
reg_scroll_x_shift			0x140
reg_scroll_y_shift			0x100
sprxoffset					0xbc


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


[End]
[verifyRoms]
[End]
