trunk/src/emu/cpu/ie15/ie15.c
| r23848 | r23849 | |
| 27 | 27 | // ie15_device - constructor |
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | ie15_device::ie15_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 30 | | : cpu_device(mconfig, IE15, "ie15", tag, owner, clock, "ie15", __FILE__), |
| 30 | : cpu_device(mconfig, IE15, "ie15", tag, owner, clock, "ie15_cpu", __FILE__), |
| 31 | 31 | m_program_config("program", ENDIANNESS_LITTLE, 8, 14), |
| 32 | 32 | m_io_config("io", ENDIANNESS_LITTLE, 8, 8), |
| 33 | 33 | m_program(0), |
trunk/src/emu/cpu/avr8/avr8.c
| r23848 | r23849 | |
| 327 | 327 | //------------------------------------------------- |
| 328 | 328 | |
| 329 | 329 | atmega88_device::atmega88_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 330 | | : avr8_device(mconfig, tag, owner, clock, ATMEGA88, 0x0fff, ADDRESS_MAP_NAME(avr8_internal_map), "atmega88", __FILE__) |
| 330 | : avr8_device(mconfig, "ATMEGA88", tag, owner, clock, ATMEGA88, 0x0fff, ADDRESS_MAP_NAME(avr8_internal_map), "atmega88", __FILE__) |
| 331 | 331 | { |
| 332 | 332 | } |
| 333 | 333 | |
| r23848 | r23849 | |
| 336 | 336 | //------------------------------------------------- |
| 337 | 337 | |
| 338 | 338 | atmega644_device::atmega644_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 339 | | : avr8_device(mconfig, tag, owner, clock, ATMEGA644, 0xffff, ADDRESS_MAP_NAME(avr8_internal_map), "atmega644", __FILE__) |
| 339 | : avr8_device(mconfig, "ATMEGA644", tag, owner, clock, ATMEGA644, 0xffff, ADDRESS_MAP_NAME(avr8_internal_map), "atmega644", __FILE__) |
| 340 | 340 | { |
| 341 | 341 | } |
| 342 | 342 | |
| r23848 | r23849 | |
| 344 | 344 | // avr8_device - constructor |
| 345 | 345 | //------------------------------------------------- |
| 346 | 346 | |
| 347 | | avr8_device::avr8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const device_type type, UINT32 addr_mask, address_map_constructor internal_map, const char *shortname, const char *source) |
| 348 | | : cpu_device(mconfig, type, "AVR8", tag, owner, clock, shortname, source), |
| 347 | avr8_device::avr8_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, const device_type type, UINT32 addr_mask, address_map_constructor internal_map, const char *shortname, const char *source) |
| 348 | : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source), |
| 349 | 349 | m_program_config("program", ENDIANNESS_LITTLE, 8, 22), |
| 350 | 350 | m_data_config("data", ENDIANNESS_LITTLE, 8, 16, 0, internal_map), |
| 351 | 351 | m_io_config("io", ENDIANNESS_LITTLE, 8, 2), |
trunk/src/emu/cpu/avr8/avr8.h
| r23848 | r23849 | |
| 85 | 85 | DECLARE_READ8_MEMBER( regs_r ); |
| 86 | 86 | |
| 87 | 87 | protected: |
| 88 | | avr8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const device_type type, UINT32 address_mask, address_map_constructor internal_map, const char *shortname, const char *source); |
| 88 | avr8_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, const device_type type, UINT32 address_mask, address_map_constructor internal_map, const char *shortname, const char *source); |
| 89 | 89 | |
| 90 | 90 | // device-level overrides |
| 91 | 91 | virtual void device_start(); |
trunk/src/emu/cpu/ssem/ssem.c
| r23848 | r23849 | |
| 81 | 81 | //------------------------------------------------- |
| 82 | 82 | |
| 83 | 83 | ssem_device::ssem_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 84 | | : cpu_device(mconfig, SSEMCPU, "SSEMCPU", tag, owner, clock, "ssem", __FILE__), |
| 84 | : cpu_device(mconfig, SSEMCPU, "SSEMCPU", tag, owner, clock, "ssem_cpu", __FILE__), |
| 85 | 85 | m_program_config("program", ENDIANNESS_LITTLE, 8, 16), |
| 86 | 86 | m_pc(1), |
| 87 | 87 | m_shifted_pc(1<<2), |
trunk/src/emu/cpu/lr35902/lr35902.c
| r23848 | r23849 | |
| 54 | 54 | |
| 55 | 55 | |
| 56 | 56 | lr35902_cpu_device::lr35902_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 57 | | : cpu_device(mconfig, LR35902, "LR35902", tag, owner, clock, "lr35902", __FILE__) |
| 57 | : cpu_device(mconfig, LR35902, "LR35902 CPU", tag, owner, clock, "lr35902", __FILE__) |
| 58 | 58 | , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0) |
| 59 | 59 | , m_A(0) |
| 60 | 60 | , m_F(0) |
trunk/src/emu/cpu/apexc/apexc.c
| r23848 | r23849 | |
| 336 | 336 | |
| 337 | 337 | |
| 338 | 338 | apexc_cpu_device::apexc_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 339 | | : cpu_device(mconfig, APEXC, "APEXC", tag, owner, clock, "apexc", __FILE__) |
| 339 | : cpu_device(mconfig, APEXC, "APEXC", tag, owner, clock, "apexc_cpu", __FILE__) |
| 340 | 340 | , m_program_config("program", ENDIANNESS_BIG, 32, 15, 0) |
| 341 | 341 | , m_io_config("io", ENDIANNESS_BIG, 8, 1, 0) |
| 342 | 342 | { |