diff options
Diffstat (limited to 'src/devices/bus/ti99/peb/memex.cpp')
-rw-r--r-- | src/devices/bus/ti99/peb/memex.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/ti99/peb/memex.cpp b/src/devices/bus/ti99/peb/memex.cpp index 1d770a9b224..3a3116d262d 100644 --- a/src/devices/bus/ti99/peb/memex.cpp +++ b/src/devices/bus/ti99/peb/memex.cpp @@ -101,7 +101,7 @@ READ8Z_MEMBER( geneve_memex_device::readz ) /* Memory write */ -WRITE8_MEMBER( geneve_memex_device::write ) +void geneve_memex_device::write(offs_t offset, uint8_t data) { /* If not Genmod, add the upper two address bits 10 */ if (!m_genmod) offset |= 0x100000; @@ -152,11 +152,12 @@ INPUT_PORTS_START( memex ) PORT_DIPSETTING( MDIP8, "Lock out pages FC-FF") INPUT_PORTS_END -MACHINE_CONFIG_START(geneve_memex_device::device_add_mconfig) +void geneve_memex_device::device_add_mconfig(machine_config &config) +{ RAM(config, m_ram, 0); m_ram->set_default_size("2M"); m_ram->set_default_value(0); -MACHINE_CONFIG_END +} ioport_constructor geneve_memex_device::device_input_ports() const { |