Minor cleanups (nw)

This commit is contained in:
AJR 2016-09-22 13:48:06 -04:00
parent 79633cd3cb
commit f64f8c8eef
2 changed files with 2 additions and 9 deletions

View File

@ -205,7 +205,6 @@ static ADDRESS_MAP_START( megasys1Z_map, AS_PROGRAM, 16, megasys1_state )
AM_RANGE(0x080002, 0x080003) AM_READ_PORT("P1")
AM_RANGE(0x080004, 0x080005) AM_READ_PORT("P2")
AM_RANGE(0x080006, 0x080007) AM_READ_PORT("DSW")
AM_RANGE(0x084100, 0x084101) AM_READWRITE(sprite_flag_r, sprite_flag_w)
AM_RANGE(0x084200, 0x084205) AM_DEVWRITE("scroll0", megasys1_tilemap_device, scroll_w)
AM_RANGE(0x084208, 0x08420d) AM_DEVWRITE("scroll1", megasys1_tilemap_device, scroll_w)
AM_RANGE(0x084300, 0x084301) AM_WRITE(screen_flag_w)
@ -221,8 +220,9 @@ static ADDRESS_MAP_START( megasys1A_map, AS_PROGRAM, 16, megasys1_state )
ADDRESS_MAP_GLOBAL_MASK(0xfffff)
AM_RANGE(0x080008, 0x080009) AM_DEVREAD("soundlatch2", generic_latch_16_device, read) /* from sound cpu */
AM_RANGE(0x084000, 0x084001) AM_WRITE(active_layers_w)
AM_RANGE(0x084308, 0x084309) AM_WRITE(soundlatch_w)
AM_RANGE(0x084008, 0x08400d) AM_DEVWRITE("scroll2", megasys1_tilemap_device, scroll_w)
AM_RANGE(0x084100, 0x084101) AM_READWRITE(sprite_flag_r, sprite_flag_w)
AM_RANGE(0x084308, 0x084309) AM_WRITE(soundlatch_w)
AM_RANGE(0x098000, 0x09bfff) AM_RAM_DEVWRITE("scroll2", megasys1_tilemap_device, write) AM_SHARE("scroll2")
AM_IMPORT_FROM(megasys1Z_map)
ADDRESS_MAP_END

View File

@ -6,13 +6,6 @@
driver by Luca Elia (l.elia@tin.it)
This file contains definitions used across multiple megasys1
and non megasys1 Jaleco games:
* Scrolling layers handling
* Code decryption handling
***************************************************************************/
#include "machine/gen_latch.h"