summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm510/sm511.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-03-14 22:07:33 +0100
committer hap <happppp@users.noreply.github.com>2022-03-14 22:07:44 +0100
commitf1f36c9ba013607e3afe396c23894957770c6838 (patch)
tree6e01c4f53a7a9fc23f212c230617d2a8b14ddadc /src/devices/cpu/sm510/sm511.cpp
parentca467d4cdb531611bb1c0d0b34626ac772847601 (diff)
sm590: added i/o ports
Diffstat (limited to 'src/devices/cpu/sm510/sm511.cpp')
-rw-r--r--src/devices/cpu/sm510/sm511.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/sm510/sm511.cpp b/src/devices/cpu/sm510/sm511.cpp
index 9ac8e36699e..c3a0e04d4c8 100644
--- a/src/devices/cpu/sm510/sm511.cpp
+++ b/src/devices/cpu/sm510/sm511.cpp
@@ -54,14 +54,14 @@ std::unique_ptr<util::disasm_interface> sm511_device::create_disassembler()
// device definitions
-sm511_device::sm511_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
- sm511_device(mconfig, SM511, tag, owner, clock, 2 /* stack levels */, 12 /* prg width */, address_map_constructor(FUNC(sm511_device::program_4k), this), 7 /* data width */, address_map_constructor(FUNC(sm511_device::data_96_32x4), this))
-{ }
-
sm511_device::sm511_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int stack_levels, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data) :
sm510_base_device(mconfig, type, tag, owner, clock, stack_levels, prgwidth, program, datawidth, data)
{ }
+sm511_device::sm511_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+ sm511_device(mconfig, SM511, tag, owner, clock, 2 /* stack levels */, 12 /* prg width */, address_map_constructor(FUNC(sm511_device::program_4k), this), 7 /* data width */, address_map_constructor(FUNC(sm511_device::data_96_32x4), this))
+{ }
+
sm512_device::sm512_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
sm511_device(mconfig, SM512, tag, owner, clock, 2, 12, address_map_constructor(FUNC(sm512_device::program_4k), this), 7, address_map_constructor(FUNC(sm512_device::data_80_48x4), this))
{ }