Previous 199869 Revisions Next

r17824 Wednesday 12th September, 2012 at 09:27:10 UTC by hap
added dpoker meters
[src/mame/drivers]mcr.c
[src/mame/includes]mcr.h

trunk/src/mame/includes/mcr.h
r17823r17824
6262   DECLARE_WRITE8_MEMBER(dpoker_p2c_w);
6363   DECLARE_WRITE8_MEMBER(dpoker_p30_w);
6464   DECLARE_WRITE8_MEMBER(dpoker_p34_w);
65   DECLARE_WRITE8_MEMBER(dpoker_p3c_w);
6566   DECLARE_READ8_MEMBER(kick_ip1_r);
6667   DECLARE_WRITE8_MEMBER(wacko_op4_w);
6768   DECLARE_READ8_MEMBER(wacko_ip1_r);
trunk/src/mame/drivers/mcr.c
r17823r17824
465465   dpoker_output_34 = data;
466466}
467467
468WRITE8_MEMBER(mcr_state::dpoker_p3c_w)
469{
470   // meters?
471}
468472
469473
474
470475/*************************************
471476 *
472477 *  Wacko I/O ports
r17823r17824
27922797
27932798   machine().device<midway_ssio_device>("ssio")->set_custom_input(0, 0x8e, read8_delegate(FUNC(mcr_state::dpoker_ip0_r),this));
27942799
2795   machine().device("maincpu")->memory().space(AS_IO)->install_read_port(0x24, 0x24, "P24");
2796   machine().device("maincpu")->memory().space(AS_IO)->install_read_port(0x28, 0x28, "P28");
2797   machine().device("maincpu")->memory().space(AS_IO)->install_read_port(0x2c, 0x2c, "P2C");
2800   // meter ram, is it battery backed?
2801   machine().device("maincpu")->memory().space(AS_PROGRAM)->install_ram(0x8000, 0x81ff, 0, 0x0200);
27982802
2799   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x2c, 0x2c, write8_delegate(FUNC(mcr_state::dpoker_p2c_w),this));
2800   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x30, 0x30, write8_delegate(FUNC(mcr_state::dpoker_p30_w),this));
2801   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x34, 0x34, write8_delegate(FUNC(mcr_state::dpoker_p34_w),this));
2803   // extra I/O
2804   machine().device("maincpu")->memory().space(AS_IO)->install_read_port(0x24, 0x24, 0, 0x03, "P24");
2805   machine().device("maincpu")->memory().space(AS_IO)->install_read_port(0x28, 0x28, 0, 0x03, "P28");
2806   machine().device("maincpu")->memory().space(AS_IO)->install_read_port(0x2c, 0x2c, 0, 0x03, "P2C");
2807
2808   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x2c, 0x2c, 0, 0x03, write8_delegate(FUNC(mcr_state::dpoker_p2c_w),this));
2809   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x30, 0x30, 0, 0x03, write8_delegate(FUNC(mcr_state::dpoker_p30_w),this));
2810   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x34, 0x34, 0, 0x03, write8_delegate(FUNC(mcr_state::dpoker_p34_w),this));
2811   machine().device("maincpu")->memory().space(AS_IO)->install_write_handler(0x3c, 0x3c, 0, 0x03, write8_delegate(FUNC(mcr_state::dpoker_p3c_w),this));
28022812   
28032813   dpoker_coin_status = 0;
28042814   dpoker_output_34 = 0;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team