Previous 199869 Revisions Next

r17914 Sunday 16th September, 2012 at 01:34:33 UTC by hap
some meaningless AM_RAM_WRITE
[src/mame/drivers]naughtyb.c psychic5.c tsamurai.c vertigo.c

trunk/src/mame/drivers/vertigo.c
r17913r17914
2727 *
2828 *************************************/
2929
30READ16_MEMBER(vertigo_state::vertigo_pit8254_lsb_r){ device_t * device = machine().device("pit8254"); return pit8253_r( device, offset ); }
31WRITE16_MEMBER(vertigo_state::vertigo_pit8254_lsb_w){ device_t * device = machine().device("pit8254"); if (ACCESSING_BITS_0_7) pit8253_w(device, offset, data); }
30READ16_MEMBER(vertigo_state::vertigo_pit8254_lsb_r)
31{
32   device_t * device = machine().device("pit8254");
3233
34   return pit8253_r( device, offset );
35}
36
37WRITE16_MEMBER(vertigo_state::vertigo_pit8254_lsb_w)
38{
39   device_t * device = machine().device("pit8254");
40
41   if (ACCESSING_BITS_0_7)
42      pit8253_w(device, offset, data);
43}
44
3345static ADDRESS_MAP_START( vertigo_map, AS_PROGRAM, 16, vertigo_state )
3446   AM_RANGE(0x000000, 0x000007) AM_ROM
3547   AM_RANGE(0x000008, 0x001fff) AM_RAM AM_MIRROR(0x010000)
r17913r17914
3951   AM_RANGE(0x004020, 0x00402f) AM_READ(vertigo_coin_r) AM_MIRROR(0x001000)
4052   AM_RANGE(0x004030, 0x00403f) AM_READ_PORT("GIO") AM_MIRROR(0x001000)
4153   AM_RANGE(0x004040, 0x00404f) AM_READ(vertigo_sio_r) AM_MIRROR(0x001000)
42   AM_RANGE(0x004050, 0x00405f) AM_RAM_WRITE(vertigo_audio_w) AM_MIRROR(0x001000)
54   AM_RANGE(0x004050, 0x00405f) AM_WRITE(vertigo_audio_w) AM_MIRROR(0x001000)
4355   AM_RANGE(0x004060, 0x00406f) AM_WRITE(vertigo_motor_w) AM_MIRROR(0x001000)
4456   AM_RANGE(0x004070, 0x00407f) AM_WRITE(vertigo_wsot_w) AM_MIRROR(0x001000)
4557   AM_RANGE(0x006000, 0x006007) AM_READWRITE(vertigo_pit8254_lsb_r, vertigo_pit8254_lsb_w)
trunk/src/mame/drivers/psychic5.c
r17913r17914
410410   AM_RANGE(0x8000, 0xbfff) AM_RAMBANK("bank1")
411411   AM_RANGE(0xc000, 0xdfff) AM_READWRITE(psychic5_paged_ram_r, psychic5_paged_ram_w)
412412   AM_RANGE(0xe000, 0xefff) AM_RAM
413   AM_RANGE(0xf000, 0xf000) AM_RAM_WRITE(soundlatch_byte_w)
413   AM_RANGE(0xf000, 0xf000) AM_WRITE(soundlatch_byte_w)
414414   AM_RANGE(0xf001, 0xf001) AM_READNOP AM_WRITE(psychic5_coin_counter_w)
415415   AM_RANGE(0xf002, 0xf002) AM_READWRITE(psychic5_bankselect_r, psychic5_bankselect_w)
416416   AM_RANGE(0xf003, 0xf003) AM_READWRITE(psychic5_vram_page_select_r, psychic5_vram_page_select_w)
trunk/src/mame/drivers/tsamurai.c
r17913r17914
325325   AM_RANGE(0xf801, 0xf801) AM_WRITENOP /* vreg? always 0 */
326326   AM_RANGE(0xf803, 0xf803) AM_WRITENOP /* vreg? always 0 */
327327   AM_RANGE(0xfc00, 0xfc00) AM_RAM /* vreg? always 0 */
328   AM_RANGE(0xfc01, 0xfc01) AM_RAM_WRITE(nmi_enable_w)
329   AM_RANGE(0xfc02, 0xfc03) AM_RAM_WRITE(tsamurai_coin_counter_w)
330   AM_RANGE(0xfc04, 0xfc04) AM_RAM_WRITE(tsamurai_textbank1_w)
328   AM_RANGE(0xfc01, 0xfc01) AM_WRITE(nmi_enable_w)
329   AM_RANGE(0xfc02, 0xfc03) AM_WRITE(tsamurai_coin_counter_w)
330   AM_RANGE(0xfc04, 0xfc04) AM_WRITE(tsamurai_textbank1_w)
331331ADDRESS_MAP_END
332332
333333static ADDRESS_MAP_START( sound_vsgongf_map, AS_PROGRAM, 8, tsamurai_state )
trunk/src/mame/drivers/naughtyb.c
r17913r17914
248248   AM_RANGE(0x4000, 0x7fff) AM_RAM
249249   AM_RANGE(0x8000, 0x87ff) AM_RAM AM_SHARE("videoram")
250250   AM_RANGE(0x8800, 0x8fff) AM_RAM AM_SHARE("videoram2")
251   AM_RANGE(0x9000, 0x97ff) AM_RAM_WRITE(naughtyb_videoreg_w)
251   AM_RANGE(0x9000, 0x97ff) AM_WRITE(naughtyb_videoreg_w)
252252   AM_RANGE(0x9800, 0x9fff) AM_RAM AM_SHARE("scrollreg")
253253   AM_RANGE(0xa000, 0xa7ff) AM_DEVWRITE_LEGACY("cust", pleiads_sound_control_a_w)
254254   AM_RANGE(0xa800, 0xafff) AM_DEVWRITE_LEGACY("cust", pleiads_sound_control_b_w)
r17913r17914
261261   AM_RANGE(0x4000, 0x7fff) AM_RAM
262262   AM_RANGE(0x8000, 0x87ff) AM_RAM AM_SHARE("videoram")
263263   AM_RANGE(0x8800, 0x8fff) AM_RAM AM_SHARE("videoram2")
264   AM_RANGE(0x9000, 0x97ff) AM_RAM_WRITE(popflame_videoreg_w)
264   AM_RANGE(0x9000, 0x97ff) AM_WRITE(popflame_videoreg_w)
265265   AM_RANGE(0x9800, 0x9fff) AM_RAM AM_SHARE("scrollreg")
266266   AM_RANGE(0xa000, 0xa7ff) AM_DEVWRITE_LEGACY("cust", pleiads_sound_control_a_w)
267267   AM_RANGE(0xa800, 0xafff) AM_DEVWRITE_LEGACY("cust", pleiads_sound_control_b_w)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team