mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
citycon: Don't lose the sprites; add some RAM mirroring (nw)
This commit is contained in:
parent
c78ae13b20
commit
c85a07bb31
@ -35,9 +35,8 @@ READ8_MEMBER(citycon_state::citycon_irq_ack_r)
|
||||
static ADDRESS_MAP_START( citycon_map, AS_PROGRAM, 8, citycon_state )
|
||||
AM_RANGE(0x0000, 0x0fff) AM_RAM
|
||||
AM_RANGE(0x1000, 0x1fff) AM_RAM_WRITE(citycon_videoram_w) AM_SHARE("videoram")
|
||||
AM_RANGE(0x2000, 0x20ff) AM_RAM_WRITE(citycon_linecolor_w) AM_SHARE("linecolor")
|
||||
AM_RANGE(0x2800, 0x28ff) AM_RAM AM_SHARE("spriteram")
|
||||
AM_RANGE(0x2800, 0x2fff) AM_NOP //0x2900-0x2fff cleared at post but unused
|
||||
AM_RANGE(0x2000, 0x20ff) AM_RAM_WRITE(citycon_linecolor_w) AM_SHARE("linecolor") AM_MIRROR(0x0700)
|
||||
AM_RANGE(0x2800, 0x28ff) AM_RAM AM_SHARE("spriteram") AM_MIRROR(0x0700) //0x2900-0x2fff cleared at post but unused
|
||||
AM_RANGE(0x3000, 0x3000) AM_READ(citycon_in_r) AM_WRITE(citycon_background_w) /* player 1 & 2 inputs multiplexed */
|
||||
AM_RANGE(0x3001, 0x3001) AM_READ_PORT("DSW1") AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
|
||||
AM_RANGE(0x3002, 0x3002) AM_READ_PORT("DSW2") AM_DEVWRITE("soundlatch2", generic_latch_8_device, write)
|
||||
|
Loading…
Reference in New Issue
Block a user