Previous 199869 Revisions Next

r41639 Saturday 7th November, 2015 at 15:40:45 UTC by Miodrag Milanović
nec: propagated source file location (nw)
[src/devices/cpu/nec]nec.c nec.h v53.c

trunk/src/devices/cpu/nec/nec.c
r250150r250151
122122
123123
124124
125nec_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__)
125nec_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)
127127   , m_program_config("program", ENDIANNESS_LITTLE, is_16bit ? 16 : 8, 20, 0)
128128   , m_io_config("io", ENDIANNESS_LITTLE, is_16bit ? 16 : 8, 16, 0)
129129   , m_fetch_xor(fetch_xor)
r250150r250151
135135
136136
137137v20_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)
139139{
140140}
141141
142142
143143v30_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)
145145{
146146}
147147
r250150r250151
150150 * complete guess below, nbbatman will not work
151151 * properly without. */
152152v33_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)
154154{
155155}
156156
157157
158158v33a_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)
160160{
161161}
162162
trunk/src/devices/cpu/nec/nec.h
r250150r250151
2323{
2424public:
2525   // construction/destruction
26   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);
26   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);
2727
2828protected:
2929   // device-level overrides
trunk/src/devices/cpu/nec/v53.c
r250150r250151
527527
528528
529529v53_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),
531531   m_io_space_config( "io", ENDIANNESS_LITTLE, 16, 16, 0, ADDRESS_MAP_NAME( v53_internal_port_map ) ),
532532   m_v53tcu(*this, "pit"),
533533   m_v53dmau(*this, "upd71071dma"),


Previous 199869 Revisions Next


© 1997-2024 The MAME Team