trunk/src/devices/cpu/nec/nec.c
| r250150 | r250151 | |
| 122 | 122 | |
| 123 | 123 | |
| 124 | 124 | |
| 125 | | nec_common_device::nec_common_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, bool is_16bit, offs_t fetch_xor, UINT8 prefetch_size, UINT8 prefetch_cycles, UINT32 chip_type) |
| 126 | | : cpu_device(mconfig, type, name, tag, owner, clock, shortname, __FILE__) |
| 125 | nec_common_device::nec_common_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, bool is_16bit, offs_t fetch_xor, UINT8 prefetch_size, UINT8 prefetch_cycles, UINT32 chip_type) |
| 126 | : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) |
| 127 | 127 | , m_program_config("program", ENDIANNESS_LITTLE, is_16bit ? 16 : 8, 20, 0) |
| 128 | 128 | , m_io_config("io", ENDIANNESS_LITTLE, is_16bit ? 16 : 8, 16, 0) |
| 129 | 129 | , m_fetch_xor(fetch_xor) |
| r250150 | r250151 | |
| 135 | 135 | |
| 136 | 136 | |
| 137 | 137 | v20_device::v20_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 138 | | : nec_common_device(mconfig, V20, "V20", tag, owner, clock, "v20", false, 0, 4, 4, V20_TYPE) |
| 138 | : nec_common_device(mconfig, V20, "V20", tag, owner, clock, "v20", __FILE__, false, 0, 4, 4, V20_TYPE) |
| 139 | 139 | { |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | |
| 143 | 143 | v30_device::v30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 144 | | : nec_common_device(mconfig, V30, "V30", tag, owner, clock, "v30", true, BYTE_XOR_LE(0), 6, 2, V30_TYPE) |
| 144 | : nec_common_device(mconfig, V30, "V30", tag, owner, clock, "v30", __FILE__, true, BYTE_XOR_LE(0), 6, 2, V30_TYPE) |
| 145 | 145 | { |
| 146 | 146 | } |
| 147 | 147 | |
| r250150 | r250151 | |
| 150 | 150 | * complete guess below, nbbatman will not work |
| 151 | 151 | * properly without. */ |
| 152 | 152 | v33_device::v33_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 153 | | : nec_common_device(mconfig, V33, "V33", tag, owner, clock, "v33", true, BYTE_XOR_LE(0), 6, 1, V33_TYPE) |
| 153 | : nec_common_device(mconfig, V33, "V33", tag, owner, clock, "v33", __FILE__, true, BYTE_XOR_LE(0), 6, 1, V33_TYPE) |
| 154 | 154 | { |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | |
| 158 | 158 | v33a_device::v33a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 159 | | : nec_common_device(mconfig, V33A, "V33A", tag, owner, clock, "v33A", true, BYTE_XOR_LE(0), 6, 1, V33_TYPE) |
| 159 | : nec_common_device(mconfig, V33A, "V33A", tag, owner, clock, "v33A", __FILE__, true, BYTE_XOR_LE(0), 6, 1, V33_TYPE) |
| 160 | 160 | { |
| 161 | 161 | } |
| 162 | 162 | |
trunk/src/devices/cpu/nec/v53.c
| r250150 | r250151 | |
| 527 | 527 | |
| 528 | 528 | |
| 529 | 529 | v53_base_device::v53_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, offs_t fetch_xor, UINT8 prefetch_size, UINT8 prefetch_cycles, UINT32 chip_type) |
| 530 | | : nec_common_device(mconfig, type, name, tag, owner, clock, shortname, true, fetch_xor, prefetch_size, prefetch_cycles, chip_type), |
| 530 | : nec_common_device(mconfig, type, name, tag, owner, clock, shortname, __FILE__, true, fetch_xor, prefetch_size, prefetch_cycles, chip_type), |
| 531 | 531 | m_io_space_config( "io", ENDIANNESS_LITTLE, 16, 16, 0, ADDRESS_MAP_NAME( v53_internal_port_map ) ), |
| 532 | 532 | m_v53tcu(*this, "pit"), |
| 533 | 533 | m_v53dmau(*this, "upd71071dma"), |