diff options
Diffstat (limited to 'src/mame/drivers/wico.cpp')
-rw-r--r-- | src/mame/drivers/wico.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/wico.cpp b/src/mame/drivers/wico.cpp index 1ed154b7c08..71377155aaa 100644 --- a/src/mame/drivers/wico.cpp +++ b/src/mame/drivers/wico.cpp @@ -98,9 +98,9 @@ void wico_state::hcpu_map(address_map &map) { map(0x0000, 0x07ff).ram().share("sharedram"); map(0x1fe0, 0x1fe0).w(FUNC(wico_state::muxld_w)); - //AM_RANGE(0x1fe1, 0x1fe1) AM_WRITE(store_w) + //map(0x1fe1, 0x1fe1).w(FUNC(wico_state::store_w)); map(0x1fe2, 0x1fe2).w(FUNC(wico_state::muxen_w)); - //AM_RANGE(0x1fe3, 0x1fe3) AM_WRITE(csols_w) + //map(0x1fe3, 0x1fe3).w(FUNC(wico_state::csols_w)); map(0x1fe4, 0x1fe4).noprw(); map(0x1fe5, 0x1fe5).w("sn76494", FUNC(sn76494_device::write)); map(0x1fe6, 0x1fe6).w(FUNC(wico_state::wdogcl_w)); @@ -109,9 +109,9 @@ void wico_state::hcpu_map(address_map &map) map(0x1fe9, 0x1fe9).w(FUNC(wico_state::dled1_w)); map(0x1fea, 0x1fea).r(FUNC(wico_state::gentmrcl_r)); map(0x1feb, 0x1feb).r(FUNC(wico_state::lampst_r)); - //AM_RANGE(0x1fec, 0x1fec) AM_READ(sast_r) - //AM_RANGE(0x1fed, 0x1fed) AM_READ(solst1_r) - //AM_RANGE(0x1fee, 0x1fee) AM_READ(solst0_r) + //map(0x1fec, 0x1fec).r(FUNC(wico_state::sast_r)); + //map(0x1fed, 0x1fed).r(FUNC(wico_state::solst1_r)); + //map(0x1fee, 0x1fee).r(FUNC(wico_state::solst0_r)); map(0x1fef, 0x1fef).r(FUNC(wico_state::switch_r)); map(0xf000, 0xffff).rom(); } @@ -120,8 +120,8 @@ void wico_state::hcpu_map(address_map &map) void wico_state::ccpu_map(address_map &map) { map(0x0000, 0x07ff).ram().share("sharedram"); // 2128 2k RAM - //AM_RANGE(0x1fe0, 0x1fe0) AM_WRITE(muxld_w) // to display module - //AM_RANGE(0x1fe1, 0x1fe1) AM_WRITE(store_w) // enable save to nvram + //map(0x1fe0, 0x1fe0).w(FUNC(wico_state::muxld_w)); // to display module + //map(0x1fe1, 0x1fe1).w(FUNC(wico_state::store_w)); // enable save to nvram map(0x1fe2, 0x1fe2).w(FUNC(wico_state::muxen_w)); // digit to display on diagnostic LED; d0=L will disable main displays map(0x1fe3, 0x1fe3).w(FUNC(wico_state::csols_w)); // solenoid column map(0x1fe4, 0x1fe4).w(FUNC(wico_state::msols_w)); // solenoid row @@ -131,11 +131,11 @@ void wico_state::ccpu_map(address_map &map) map(0x1fe8, 0x1fe8).w(FUNC(wico_state::dled0_w)); // turn off diagnostic LED map(0x1fe9, 0x1fe9).w(FUNC(wico_state::dled1_w)); // turn on diagnostic LED map(0x1fea, 0x1fea).r(FUNC(wico_state::gentmrcl_r)); // enable IRQ on ccpu - //AM_RANGE(0x1feb, 0x1feb) AM_READ(lampst_r) // lamps? - //AM_RANGE(0x1fec, 0x1fec) AM_READ(sast_r) // a pwron pulse to d0 L->H - //AM_RANGE(0x1fed, 0x1fed) AM_READ(solst1_r) // switches - //AM_RANGE(0x1fee, 0x1fee) AM_READ(solst0_r) // switches - //AM_RANGE(0x1fef, 0x1fef) AM_READ(switch_r) // switches + //map(0x1feb, 0x1feb).r(FUNC(wico_state::lampst_r)); // lamps? + //map(0x1fec, 0x1fec).r(FUNC(wico_state::sast_r)); // a pwron pulse to d0 L->H + //map(0x1fed, 0x1fed).r(FUNC(wico_state::solst1_r)); // switches + //map(0x1fee, 0x1fee).r(FUNC(wico_state::solst0_r)); // switches + //map(0x1fef, 0x1fef).r(FUNC(wico_state::switch_r)); // switches map(0x4000, 0x40ff).ram().share("nvram"); // X2212 4bit x 256 NVRAM, stores only when store_w is active map(0x8000, 0x9fff).rom(); map(0xe000, 0xffff).rom(); |