diff options
Diffstat (limited to 'src/devices/cpu/tms1000/tms1100.h')
-rw-r--r-- | src/devices/cpu/tms1000/tms1100.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/devices/cpu/tms1000/tms1100.h b/src/devices/cpu/tms1000/tms1100.h index be0b6a70f10..26a3ffbc578 100644 --- a/src/devices/cpu/tms1000/tms1100.h +++ b/src/devices/cpu/tms1000/tms1100.h @@ -6,8 +6,10 @@ */ -#ifndef _TMS1100_H_ -#define _TMS1100_H_ +#ifndef MAME_CPU_TMS1000_TMS1100_H +#define MAME_CPU_TMS1000_TMS1100_H + +#pragma once #include "tms1000.h" @@ -16,9 +18,10 @@ class tms1100_cpu_device : public tms1000_cpu_device { public: tms1100_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); - tms1100_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, u32 clock, u8 o_pins, u8 r_pins, u8 pc_bits, u8 byte_bits, u8 x_bits, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data, const char *shortname, const char *source); protected: + tms1100_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u8 o_pins, u8 r_pins, u8 pc_bits, u8 byte_bits, u8 x_bits, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data); + // overrides virtual void device_reset() override; @@ -47,10 +50,9 @@ public: }; -extern const device_type TMS1100; -extern const device_type TMS1170; -extern const device_type TMS1300; -extern const device_type TMS1370; - +DECLARE_DEVICE_TYPE(TMS1100, tms1100_cpu_device) +DECLARE_DEVICE_TYPE(TMS1170, tms1170_cpu_device) +DECLARE_DEVICE_TYPE(TMS1300, tms1300_cpu_device) +DECLARE_DEVICE_TYPE(TMS1370, tms1370_cpu_device) -#endif /* _TMS1100_H_ */ +#endif // MAME_CPU_TMS1000_TMS1100_H |