summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-10-20 00:28:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-10-20 00:28:33 -0400
commit159c69c1de8d796ac52593f09a27f5c24ed58e6d (patch)
tree591f2f225559185b7046d1872139bb8fea71a54f
parent778e19f7ff6fae8447d9cad971d5d444c338dcf0 (diff)
MT 07452 (nw)
-rw-r--r--src/mame/drivers/eprom.cpp14
-rw-r--r--src/mame/includes/eprom.h1
2 files changed, 3 insertions, 12 deletions
diff --git a/src/mame/drivers/eprom.cpp b/src/mame/drivers/eprom.cpp
index 612a9831165..96171d3cde2 100644
--- a/src/mame/drivers/eprom.cpp
+++ b/src/mame/drivers/eprom.cpp
@@ -69,14 +69,6 @@ void eprom_state::machine_reset()
*
*************************************/
-READ16_MEMBER(eprom_state::special_port1_r)
-{
- int result = ioport("260010")->read();
- result ^= 0x0010;
- return result;
-}
-
-
READ8_MEMBER(eprom_state::adc_r)
{
if (!m_adc.found())
@@ -147,7 +139,7 @@ void eprom_state::main_map(address_map &map)
map(0x16cc00, 0x16cc01).w(FUNC(eprom_state::sync_w<true>));
map(0x1f0000, 0x1fffff).w("eeprom", FUNC(eeprom_parallel_28xx_device::unlock_write16));
map(0x260000, 0x26000f).portr("260000");
- map(0x260010, 0x26001f).r(FUNC(eprom_state::special_port1_r));
+ map(0x260010, 0x26001f).portr("260010");
map(0x260020, 0x260027).mirror(0x8).r(FUNC(eprom_state::adc_r)).umask16(0x00ff);
map(0x260031, 0x260031).r(m_jsa, FUNC(atari_jsa_base_device::main_response_r));
map(0x2e0000, 0x2e0001).w("watchdog", FUNC(watchdog_timer_device::reset16_w));
@@ -173,7 +165,7 @@ void eprom_state::guts_map(address_map &map)
map(0x16cc00, 0x16cc01).w(FUNC(eprom_state::sync_w<true>));
map(0x1f0000, 0x1fffff).w("eeprom", FUNC(eeprom_parallel_28xx_device::unlock_write16));
map(0x260000, 0x26000f).portr("260000");
- map(0x260010, 0x26001f).r(FUNC(eprom_state::special_port1_r));
+ map(0x260010, 0x26001f).portr("260010");
map(0x260020, 0x260027).mirror(0x8).r(FUNC(eprom_state::adc_r)).umask16(0x00ff);
map(0x260031, 0x260031).r(m_jsa, FUNC(atari_jsa_ii_device::main_response_r));
map(0x2e0000, 0x2e0001).w("watchdog", FUNC(watchdog_timer_device::reset16_w));
@@ -204,7 +196,7 @@ void eprom_state::extra_map(address_map &map)
map(0x160000, 0x16ffff).ram().share("share1");
map(0x16cc00, 0x16cc01).w(FUNC(eprom_state::sync_w<false>));
map(0x260000, 0x26000f).portr("260000");
- map(0x260010, 0x26001f).r(FUNC(eprom_state::special_port1_r));
+ map(0x260010, 0x26001f).portr("260010");
map(0x260020, 0x260027).mirror(0x8).r(FUNC(eprom_state::adc_r)).umask16(0x00ff);
map(0x260031, 0x260031).r(m_jsa, FUNC(atari_jsa_base_device::main_response_r));
map(0x360000, 0x360001).w(FUNC(eprom_state::video_int_ack_w));
diff --git a/src/mame/includes/eprom.h b/src/mame/includes/eprom.h
index 202b1367a7c..5d85c395e2d 100644
--- a/src/mame/includes/eprom.h
+++ b/src/mame/includes/eprom.h
@@ -42,7 +42,6 @@ protected:
virtual void machine_reset() override;
virtual void update_interrupts() override;
virtual void scanline_update(screen_device &screen, int scanline) override;
- DECLARE_READ16_MEMBER(special_port1_r);
DECLARE_READ8_MEMBER(adc_r);
DECLARE_WRITE16_MEMBER(eprom_latch_w);
template<bool maincpu> DECLARE_WRITE16_MEMBER(sync_w);