summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/econet/e01.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/econet/e01.cpp')
-rw-r--r--src/devices/bus/econet/e01.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/bus/econet/e01.cpp b/src/devices/bus/econet/e01.cpp
index 0e2d723d4a2..e46ac49e379 100644
--- a/src/devices/bus/econet/e01.cpp
+++ b/src/devices/bus/econet/e01.cpp
@@ -230,7 +230,7 @@ void econet_e01_device::e01_mem(address_map &map)
map(0xfc20, 0xfc23).mirror(0x00c0).rw(MC6854_TAG, FUNC(mc6854_device::read), FUNC(mc6854_device::write));
map(0xfc24, 0xfc24).mirror(0x00c3).rw(FUNC(econet_e01_device::network_irq_disable_r), FUNC(econet_e01_device::network_irq_disable_w));
map(0xfc28, 0xfc28).mirror(0x00c3).rw(FUNC(econet_e01_device::network_irq_enable_r), FUNC(econet_e01_device::network_irq_enable_w));
- map(0xfc2c, 0xfc2c).mirror(0x00c3).portr("FLAP");
+ map(0xfc2c, 0xfc2c).mirror(0x00c3).portr(m_flap);
map(0xfc30, 0xfc30).mirror(0x00c0).rw(FUNC(econet_e01_device::hdc_data_r), FUNC(econet_e01_device::hdc_data_w));
map(0xfc31, 0xfc31).mirror(0x00c0).r("scsi_ctrl_in", FUNC(input_buffer_device::read));
map(0xfc32, 0xfc32).mirror(0x00c0).w(FUNC(econet_e01_device::hdc_select_w));
@@ -245,7 +245,7 @@ void econet_e01_device::e01_mem(address_map &map)
void econet_e01_device::device_add_mconfig(machine_config &config)
{
// basic machine hardware
- M65C02(config, m_maincpu, XTAL(8'000'000)/4); // Rockwell R65C102P3
+ R65C102(config, m_maincpu, XTAL(8'000'000)); // Rockwell R65C102P3
m_maincpu->set_addrmap(AS_PROGRAM, &econet_e01_device::e01_mem);
MC146818(config, m_rtc, 32.768_kHz_XTAL);
@@ -404,6 +404,7 @@ econet_e01_device::econet_e01_device(const machine_config &mconfig, device_type
, m_floppy(*this, WD2793_TAG":%u", 0U)
, m_rom(*this, R65C102_TAG)
, m_centronics(*this, CENTRONICS_TAG)
+ , m_flap(*this, "FLAP")
, m_led(*this, "led_0")
, m_adlc_ie(0)
, m_hdc_ie(0)