Previous 199869 Revisions Next

r23847 Friday 21st June, 2013 at 19:22:25 UTC by Miodrag Milanović
did modern cpu cores as well (nw)
[src/emu]devcpu.h
[src/emu/cpu/adsp2100]adsp2100.c adsp2100.h
[src/emu/cpu/alph8201]alph8201.c alph8201.h
[src/emu/cpu/asap]asap.c
[src/emu/cpu/avr8]avr8.c avr8.h
[src/emu/cpu/cosmac]cosmac.c cosmac.h
[src/emu/cpu/dsp16]dsp16.c
[src/emu/cpu/dsp32]dsp32.c
[src/emu/cpu/e132xs]e132xs.c e132xs.h
[src/emu/cpu/es5510]es5510.c
[src/emu/cpu/esrip]esrip.c
[src/emu/cpu/h6280]h6280.c
[src/emu/cpu/hcd62121]hcd62121.c
[src/emu/cpu/hd61700]hd61700.c
[src/emu/cpu/i4004]i4004.c
[src/emu/cpu/i8008]i8008.c
[src/emu/cpu/ie15]ie15.c
[src/emu/cpu/lc8670]lc8670.c
[src/emu/cpu/lr35902]lr35902.c
[src/emu/cpu/m6805]m6805.c m6805.h
[src/emu/cpu/m6809]hd6309.c konami.c m6809.c m6809.h
[src/emu/cpu/mcs96]i8x9x.c i8xc196.c mcs96.c mcs96.h
[src/emu/cpu/mips]r3000.c r3000.h
[src/emu/cpu/psx]psx.c psx.h
[src/emu/cpu/sm8500]sm8500.c
[src/emu/cpu/ssem]ssem.c
[src/emu/cpu/tms0980]tms0980.c tms0980.h
[src/emu/cpu/tms57002]tms57002.c
[src/emu/cpu/tms9900]tms9900.c tms9900.h tms9980a.c tms9995.c
[src/emu/cpu/upd7725]upd7725.c upd7725.h
[src/emu/cpu/v30mz]v30mz.c

trunk/src/emu/devcpu.h
r23846r23847
378378
379379protected:
380380   // construction/destruction
381   cpu_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 = __FILE__);
381   cpu_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);
382382   virtual ~cpu_device();
383383};
384384
trunk/src/emu/cpu/asap/asap.c
r23846r23847
166166//-------------------------------------------------
167167
168168asap_device::asap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
169   : cpu_device(mconfig, ASAP, "ASAP", tag, owner, clock),
169   : cpu_device(mconfig, ASAP, "ASAP", tag, owner, clock, "asap", __FILE__),
170170      m_program_config("program", ENDIANNESS_LITTLE, 32, 32),
171171      m_pc(0),
172172      m_pflag(0),
trunk/src/emu/cpu/e132xs/e132xs.h
r23846r23847
211211public:
212212   // construction/destruction
213213   hyperstone_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock,
214                  const device_type type, UINT32 prg_data_width, UINT32 io_data_width, address_map_constructor internal_map);
214                  const device_type type, UINT32 prg_data_width, UINT32 io_data_width, address_map_constructor internal_map, const char *shortname, const char *source);
215215
216216   // public interfaces
217217
trunk/src/emu/cpu/e132xs/e132xs.c
r23846r23847
291291//-------------------------------------------------
292292
293293hyperstone_device::hyperstone_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock,
294                              const device_type type, UINT32 prg_data_width, UINT32 io_data_width, address_map_constructor internal_map)
295   : cpu_device(mconfig, type, name, tag, owner, clock),
294                              const device_type type, UINT32 prg_data_width, UINT32 io_data_width, address_map_constructor internal_map, const char *shortname, const char *source)
295   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
296296      m_program_config("program", ENDIANNESS_BIG, prg_data_width, 32, 0, internal_map),
297297      m_io_config("io", ENDIANNESS_BIG, io_data_width, 15),
298298      m_icount(0)
r23846r23847
308308//-------------------------------------------------
309309
310310e116t_device::e116t_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
311   : hyperstone_device(mconfig, "E1-16T", tag, owner, clock, E116T, 16, 16, ADDRESS_MAP_NAME(e116_4k_iram_map))
311   : hyperstone_device(mconfig, "E1-16T", tag, owner, clock, E116T, 16, 16, ADDRESS_MAP_NAME(e116_4k_iram_map), "e116t", __FILE__)
312312{
313313}
314314
r23846r23847
318318//-------------------------------------------------
319319
320320e116xt_device::e116xt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
321   : hyperstone_device(mconfig, "E1-16XT", tag, owner, clock, E116XT, 16, 16, ADDRESS_MAP_NAME(e116_8k_iram_map))
321   : hyperstone_device(mconfig, "E1-16XT", tag, owner, clock, E116XT, 16, 16, ADDRESS_MAP_NAME(e116_8k_iram_map), "e116xt", __FILE__)
322322{
323323}
324324
r23846r23847
328328//-------------------------------------------------
329329
330330e116xs_device::e116xs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
331   : hyperstone_device(mconfig, "E1-16XS", tag, owner, clock, E116XS, 16, 16, ADDRESS_MAP_NAME(e116_16k_iram_map))
331   : hyperstone_device(mconfig, "E1-16XS", tag, owner, clock, E116XS, 16, 16, ADDRESS_MAP_NAME(e116_16k_iram_map), "e116xs", __FILE__)
332332{
333333}
334334
r23846r23847
338338//-------------------------------------------------
339339
340340e116xsr_device::e116xsr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
341   : hyperstone_device(mconfig, "E1-16XSR", tag, owner, clock, E116XT, 16, 16, ADDRESS_MAP_NAME(e116_16k_iram_map))
341   : hyperstone_device(mconfig, "E1-16XSR", tag, owner, clock, E116XT, 16, 16, ADDRESS_MAP_NAME(e116_16k_iram_map), "e116xsr", __FILE__)
342342{
343343}
344344
r23846r23847
348348//-------------------------------------------------
349349
350350e132n_device::e132n_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
351   : hyperstone_device(mconfig, "E1-32N", tag, owner, clock, E132N, 32, 32, ADDRESS_MAP_NAME(e132_4k_iram_map))
351   : hyperstone_device(mconfig, "E1-32N", tag, owner, clock, E132N, 32, 32, ADDRESS_MAP_NAME(e132_4k_iram_map), "e132n", __FILE__)
352352{
353353}
354354
r23846r23847
358358//-------------------------------------------------
359359
360360e132t_device::e132t_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
361   : hyperstone_device(mconfig, "E1-32T", tag, owner, clock, E132T, 32, 32, ADDRESS_MAP_NAME(e132_4k_iram_map))
361   : hyperstone_device(mconfig, "E1-32T", tag, owner, clock, E132T, 32, 32, ADDRESS_MAP_NAME(e132_4k_iram_map), "e132t", __FILE__)
362362{
363363}
364364
r23846r23847
368368//-------------------------------------------------
369369
370370e132xn_device::e132xn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
371   : hyperstone_device(mconfig, "E1-32XN", tag, owner, clock, E132XN, 32, 32, ADDRESS_MAP_NAME(e132_8k_iram_map))
371   : hyperstone_device(mconfig, "E1-32XN", tag, owner, clock, E132XN, 32, 32, ADDRESS_MAP_NAME(e132_8k_iram_map), "e132xn", __FILE__)
372372{
373373}
374374
r23846r23847
378378//-------------------------------------------------
379379
380380e132xt_device::e132xt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
381   : hyperstone_device(mconfig, "E1-32XT", tag, owner, clock, E132XT, 32, 32, ADDRESS_MAP_NAME(e132_8k_iram_map))
381   : hyperstone_device(mconfig, "E1-32XT", tag, owner, clock, E132XT, 32, 32, ADDRESS_MAP_NAME(e132_8k_iram_map), "e132xt", __FILE__)
382382{
383383}
384384
r23846r23847
388388//-------------------------------------------------
389389
390390e132xs_device::e132xs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
391   : hyperstone_device(mconfig, "E1-32XS", tag, owner, clock, E132XS, 32, 32, ADDRESS_MAP_NAME(e132_16k_iram_map))
391   : hyperstone_device(mconfig, "E1-32XS", tag, owner, clock, E132XS, 32, 32, ADDRESS_MAP_NAME(e132_16k_iram_map), "e132xs", __FILE__)
392392{
393393}
394394
r23846r23847
398398//-------------------------------------------------
399399
400400e132xsr_device::e132xsr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
401   : hyperstone_device(mconfig, "E1-32XSR", tag, owner, clock, E132XSR, 32, 32, ADDRESS_MAP_NAME(e132_16k_iram_map))
401   : hyperstone_device(mconfig, "E1-32XSR", tag, owner, clock, E132XSR, 32, 32, ADDRESS_MAP_NAME(e132_16k_iram_map), "e132xsr", __FILE__)
402402{
403403}
404404
r23846r23847
408408//-------------------------------------------------
409409
410410gms30c2116_device::gms30c2116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
411   : hyperstone_device(mconfig, "GMS30C2116", tag, owner, clock, GMS30C2116, 16, 16, ADDRESS_MAP_NAME(e116_4k_iram_map))
411   : hyperstone_device(mconfig, "GMS30C2116", tag, owner, clock, GMS30C2116, 16, 16, ADDRESS_MAP_NAME(e116_4k_iram_map), "gms30c2116", __FILE__)
412412{
413413}
414414
r23846r23847
418418//-------------------------------------------------
419419
420420gms30c2132_device::gms30c2132_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
421   : hyperstone_device(mconfig, "GMS30C2132", tag, owner, clock, GMS30C2132, 32, 32, ADDRESS_MAP_NAME(e132_4k_iram_map))
421   : hyperstone_device(mconfig, "GMS30C2132", tag, owner, clock, GMS30C2132, 32, 32, ADDRESS_MAP_NAME(e132_4k_iram_map), "gms30c2132", __FILE__)
422422{
423423}
424424
r23846r23847
428428//-------------------------------------------------
429429
430430gms30c2216_device::gms30c2216_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
431   : hyperstone_device(mconfig, "GMS30C2216", tag, owner, clock, GMS30C2216, 16, 16, ADDRESS_MAP_NAME(e116_8k_iram_map))
431   : hyperstone_device(mconfig, "GMS30C2216", tag, owner, clock, GMS30C2216, 16, 16, ADDRESS_MAP_NAME(e116_8k_iram_map), "gms30c2216", __FILE__)
432432{
433433}
434434
r23846r23847
438438//-------------------------------------------------
439439
440440gms30c2232_device::gms30c2232_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
441   : hyperstone_device(mconfig, "GMS30C2232", tag, owner, clock, GMS30C2232, 32, 32, ADDRESS_MAP_NAME(e132_8k_iram_map))
441   : hyperstone_device(mconfig, "GMS30C2232", tag, owner, clock, GMS30C2232, 32, 32, ADDRESS_MAP_NAME(e132_8k_iram_map), "gms30c2232", __FILE__)
442442{
443443}
444444
trunk/src/emu/cpu/ie15/ie15.c
r23846r23847
2727//  ie15_device - constructor
2828//-------------------------------------------------
2929ie15_device::ie15_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
30   : cpu_device(mconfig, IE15, "ie15", tag, owner, clock),
30   : cpu_device(mconfig, IE15, "ie15", tag, owner, clock, "ie15", __FILE__),
3131      m_program_config("program", ENDIANNESS_LITTLE, 8, 14),
3232      m_io_config("io", ENDIANNESS_LITTLE, 8, 8),
3333      m_program(0),
trunk/src/emu/cpu/tms9900/tms9980a.c
r23846r23847
5959****************************************************************************/
6060
6161tms9980a_device::tms9980a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : tms99xx_device(mconfig, TMS9980A, "TMS9980A", tag, 8, 14, 11, owner, clock)
62   : tms99xx_device(mconfig, TMS9980A, "TMS9980A", tag, 8, 14, 11, owner, clock, "tms9980a", __FILE__)
6363{
6464}
6565
trunk/src/emu/cpu/tms9900/tms9995.c
r23846r23847
123123****************************************************************************/
124124
125125tms9995_device::tms9995_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
126   : cpu_device(mconfig, TMS9995, "TMS9995", tag, owner, clock),
126   : cpu_device(mconfig, TMS9995, "TMS9995", tag, owner, clock, "tms9995", __FILE__),
127127      m_state_any(0),
128128      PC(0),
129129      PC_debug(0),
trunk/src/emu/cpu/tms9900/tms9900.c
r23846r23847
126126    twice their number. Accordingly, the TMS9900 has a CRU bitmask 0x0fff.
127127****************************************************************************/
128128
129tms99xx_device::tms99xx_device(const machine_config &mconfig, device_type type,  const char *name, const char *tag, int databus_width, int prg_addr_bits, int cru_addr_bits, device_t *owner, UINT32 clock)
130   : cpu_device(mconfig, type, name, tag, owner, clock),
129tms99xx_device::tms99xx_device(const machine_config &mconfig, device_type type,  const char *name, const char *tag, int databus_width, int prg_addr_bits, int cru_addr_bits, device_t *owner, UINT32 clock, const char *shortname, const char *source)
130   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
131131      m_program_config("program", ENDIANNESS_BIG, databus_width, prg_addr_bits),
132132      m_io_config("cru", ENDIANNESS_BIG, 8, cru_addr_bits),
133133      m_prgspace(NULL),
r23846r23847
146146****************************************************************************/
147147
148148tms9900_device::tms9900_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
149   : tms99xx_device(mconfig, TMS9900, "TMS9900", tag, 16, 16, 12, owner, clock)
149   : tms99xx_device(mconfig, TMS9900, "TMS9900", tag, 16, 16, 12, owner, clock, "tms9900", __FILE__)
150150{
151151}
152152
trunk/src/emu/cpu/tms9900/tms9900.h
r23846r23847
127127public:
128128   tms99xx_device(const machine_config &mconfig, device_type type,  const char *name,
129129            const char *tag, int databus_width, int prg_addr_bits, int cru_addr_bits,
130            device_t *owner, UINT32 clock);
130            device_t *owner, UINT32 clock, const char *shortname, const char *source);
131131
132132   ~tms99xx_device();
133133
trunk/src/emu/cpu/hd61700/hd61700.c
r23846r23847
100100//-------------------------------------------------
101101
102102hd61700_cpu_device::hd61700_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
103   : cpu_device(mconfig, HD61700, "HD61700", tag, owner, clock),
103   : cpu_device(mconfig, HD61700, "HD61700", tag, owner, clock, "hd61700", __FILE__),
104104      m_program_config("program", ENDIANNESS_BIG, 16, 18, -1),
105105      m_ppc(0x0000),
106106      m_curpc(0x0000),
trunk/src/emu/cpu/dsp32/dsp32.c
r23846r23847
172172//-------------------------------------------------
173173
174174dsp32c_device::dsp32c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
175   : cpu_device(mconfig, DSP32C, "DSP32C", tag, owner, clock),
175   : cpu_device(mconfig, DSP32C, "DSP32C", tag, owner, clock, "dsp32c", __FILE__),
176176      m_program_config("program", ENDIANNESS_LITTLE, 32, 24),
177177      m_pin(0),
178178      m_pout(0),
trunk/src/emu/cpu/sm8500/sm8500.c
r23846r23847
3131
3232
3333sm8500_cpu_device::sm8500_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : cpu_device(mconfig, SM8500, "SM8500", tag, owner, clock)
34   : cpu_device(mconfig, SM8500, "SM8500", tag, owner, clock, "sm8500", __FILE__)
3535   , m_program_config("program", ENDIANNESS_BIG, 8, 16, 0)
3636   , m_dma_func(*this)
3737   , m_timer_func(*this)
trunk/src/emu/cpu/i4004/i4004.c
r23846r23847
2525
2626
2727i4004_cpu_device::i4004_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28   : cpu_device(mconfig, I4004, "Intel I4004", tag, owner, clock)
28   : cpu_device(mconfig, I4004, "Intel I4004", tag, owner, clock, "i4004", __FILE__)
2929   , m_program_config("program", ENDIANNESS_LITTLE, 8, 12, 0)
3030   , m_io_config("io", ENDIANNESS_LITTLE, 8, 6, 0)
3131   , m_data_config("data", ENDIANNESS_LITTLE, 8, 12, 0)
trunk/src/emu/cpu/tms57002/tms57002.c
r23846r23847
5050ADDRESS_MAP_END
5151
5252tms57002_device::tms57002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
53   : cpu_device(mconfig, TMS57002, "TMS57002", tag, owner, clock),
53   : cpu_device(mconfig, TMS57002, "TMS57002", tag, owner, clock, "tms57002", __FILE__),
5454      program_config("program", ENDIANNESS_LITTLE, 32, 8, -2, ADDRESS_MAP_NAME(internal_pgm)),
5555      data_config("data", ENDIANNESS_LITTLE, 8, 20)
5656{
trunk/src/emu/cpu/mcs96/i8x9x.c
r23846r23847
4141#include "i8x9x.h"
4242
4343i8x9x_device::i8x9x_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) :
44   mcs96_device(mconfig, type, name, tag, owner, clock, 8),
44   mcs96_device(mconfig, type, name, tag, owner, clock, 8, "i8x9x", __FILE__),
4545   io_config("io", ENDIANNESS_LITTLE, 16, 16, -1)
4646{
4747}
trunk/src/emu/cpu/mcs96/i8xc196.c
r23846r23847
4141#include "i8xc196.h"
4242
4343i8xc196_device::i8xc196_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) :
44   mcs96_device(mconfig, type, name, tag, owner, clock, 16)
44   mcs96_device(mconfig, type, name, tag, owner, clock, 16, shortname, source)
4545{
4646}
4747
trunk/src/emu/cpu/mcs96/mcs96.c
r23846r23847
4141#include "debugger.h"
4242#include "mcs96.h"
4343
44mcs96_device::mcs96_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int data_width) :
45   cpu_device(mconfig, type, name, tag, owner, clock),
44mcs96_device::mcs96_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int data_width, const char *shortname, const char *source) :
45   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
4646   program_config("program", ENDIANNESS_LITTLE, data_width, 16)
4747{
4848}
trunk/src/emu/cpu/mcs96/mcs96.h
r23846r23847
4242
4343class mcs96_device : public cpu_device {
4444public:
45   mcs96_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int data_width);
45   mcs96_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int data_width, const char *shortname, const char *source);
4646
4747   UINT64 get_cycle();
4848
trunk/src/emu/cpu/cosmac/cosmac.c
r23846r23847
269269//  cosmac_device - constructor
270270//-------------------------------------------------
271271
272cosmac_device::cosmac_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
273   : cpu_device(mconfig, type, name, tag, owner, clock),
272cosmac_device::cosmac_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)
273   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
274274      m_program_config("program", ENDIANNESS_LITTLE, 8, 16),
275275      m_io_config("io", ENDIANNESS_LITTLE, 8, 3),
276276      m_op(0),
r23846r23847
293293//-------------------------------------------------
294294
295295cdp1801_device::cdp1801_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
296   : cosmac_device(mconfig, CDP1801, "CDP1801", tag, owner, clock)
296   : cosmac_device(mconfig, CDP1801, "CDP1801", tag, owner, clock, "cdp1801", __FILE__)
297297{
298298}
299299
r23846r23847
303303//-------------------------------------------------
304304
305305cdp1802_device::cdp1802_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
306   : cosmac_device(mconfig, CDP1802, "CDP1802", tag, owner, clock)
306   : cosmac_device(mconfig, CDP1802, "CDP1802", tag, owner, clock, "cdp1802", __FILE__)
307307{
308308}
309309
trunk/src/emu/cpu/cosmac/cosmac.h
r23846r23847
182182{
183183public:
184184   // construction/destruction
185   cosmac_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
185   cosmac_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);
186186
187187   // public interfaces
188188   offs_t get_memory_address();
trunk/src/emu/cpu/i8008/i8008.c
r23846r23847
3434//  i8008_device - constructor
3535//-------------------------------------------------
3636i8008_device::i8008_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37   : cpu_device(mconfig, I8008, "i8008", tag, owner, clock),
37   : cpu_device(mconfig, I8008, "i8008", tag, owner, clock, "i8008", __FILE__),
3838      m_program_config("program", ENDIANNESS_LITTLE, 8, 14),
3939      m_io_config("io", ENDIANNESS_LITTLE, 8, 8),
4040      m_program(0),
trunk/src/emu/cpu/upd7725/upd7725.c
r23846r23847
2222const device_type UPD7725 = &device_creator<upd7725_device>;
2323const device_type UPD96050 = &device_creator<upd96050_device>;
2424
25necdsp_device::necdsp_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name)
26   : cpu_device(mconfig, type, name, tag, owner, clock),
25necdsp_device::necdsp_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name, const char *shortname, const char *source)
26   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
2727      m_program_config("program", ENDIANNESS_BIG, 32, abits, -2), // data bus width, address bus width, -2 means DWORD-addressable
2828      m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1),   // -1 for WORD-addressable
2929   m_irq(0),
r23846r23847
3535
3636
3737upd7725_device::upd7725_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
38   : necdsp_device(mconfig, UPD7725, tag, owner, clock, 11, 11, "uPD7725")
38   : necdsp_device(mconfig, UPD7725, tag, owner, clock, 11, 11, "uPD7725", "upd7725", __FILE__)
3939{
4040}
4141
4242upd96050_device::upd96050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   : necdsp_device(mconfig, UPD96050, tag, owner, clock, 14, 12, "uPD96050")
43   : necdsp_device(mconfig, UPD96050, tag, owner, clock, 14, 12, "uPD96050", "upd96050", __FILE__)
4444{
4545}
4646
trunk/src/emu/cpu/upd7725/upd7725.h
r23846r23847
5656{
5757protected:
5858   // construction/destruction
59   necdsp_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name);
59   necdsp_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name, const char *shortname, const char *source);
6060
6161public:
6262   UINT8 snesdsp_read(bool mode);
trunk/src/emu/cpu/avr8/avr8.h
r23846r23847
8585   DECLARE_READ8_MEMBER( regs_r );
8686
8787protected:
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);
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);
8989
9090   // device-level overrides
9191   virtual void device_start();
trunk/src/emu/cpu/avr8/avr8.c
r23846r23847
327327//-------------------------------------------------
328328
329329atmega88_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))
330   : avr8_device(mconfig, tag, owner, clock, ATMEGA88, 0x0fff, ADDRESS_MAP_NAME(avr8_internal_map), "atmega88", __FILE__)
331331{
332332}
333333
r23846r23847
336336//-------------------------------------------------
337337
338338atmega644_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))
339   : avr8_device(mconfig, tag, owner, clock, ATMEGA644, 0xffff, ADDRESS_MAP_NAME(avr8_internal_map), "atmega644", __FILE__)
340340{
341341}
342342
r23846r23847
344344//  avr8_device - constructor
345345//-------------------------------------------------
346346
347avr8_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)
348   : cpu_device(mconfig, type, "AVR8", tag, owner, clock),
347avr8_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),
349349      m_program_config("program", ENDIANNESS_LITTLE, 8, 22),
350350      m_data_config("data", ENDIANNESS_LITTLE, 8, 16, 0, internal_map),
351351      m_io_config("io", ENDIANNESS_LITTLE, 8, 2),
trunk/src/emu/cpu/tms0980/tms0980.h
r23846r23847
2828   // construction/destruction
2929   tms1xxx_cpu_device( const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock
3030                     , const UINT32* decode_table, UINT16 o_mask, UINT16 r_mask, UINT8 pc_size, UINT8 byte_size, UINT8 x_bits
31                     , int program_addrbus_width, address_map_constructor program, int data_addrbus_width, address_map_constructor data)
32      : cpu_device( mconfig, type, name, tag, owner, clock )
31                     , int program_addrbus_width, address_map_constructor program, int data_addrbus_width, address_map_constructor data, const char *shortname, const char *source)
32      : cpu_device( mconfig, type, name, tag, owner, clock, shortname, source)
3333      , m_program_config("program", ENDIANNESS_BIG, byte_size > 8 ? 16 : 8, program_addrbus_width, 0, program )
3434      , m_data_config("data", ENDIANNESS_BIG, 8, data_addrbus_width, 0, data )
3535      , m_o_mask( o_mask )
r23846r23847
144144{
145145public:
146146   tms1000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
147   tms1000_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask);
147   tms1000_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask, const char *shortname, const char *source);
148148
149149protected:
150150   // device_state_interface overrides
r23846r23847
179179{
180180public:
181181   tms1100_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
182   tms1100_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask);
182   tms1100_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask, const char *shortname, const char *source);
183183
184184protected:
185185   // device_state_interface overrides
trunk/src/emu/cpu/tms0980/tms0980.c
r23846r23847
10421042
10431043tms0980_cpu_device::tms0980_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10441044   : tms1xxx_cpu_device( mconfig, TMS0980, "TMS0980", tag, owner, clock, tms0980_decode, 0x00ff, 0x07ff, 7, 9, 4
1045                       , 12, ADDRESS_MAP_NAME( tms0980_internal_rom ), 7, ADDRESS_MAP_NAME( tms0980_internal_ram ) )
1045                       , 12, ADDRESS_MAP_NAME( tms0980_internal_rom ), 7, ADDRESS_MAP_NAME( tms0980_internal_ram ), "tms0980", __FILE__)
10461046{
10471047}
10481048
r23846r23847
10561056
10571057tms1000_cpu_device::tms1000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10581058   : tms1xxx_cpu_device( mconfig, TMS1000, "TMS1000", tag, owner, clock, tms1000_default_decode, 0x00ff, 0x07ff, 6, 8, 2
1059                       , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ) )
1059                       , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ), "tms1000", __FILE__)
10601060{
10611061}
10621062
10631063
1064tms1000_cpu_device::tms1000_cpu_device(const machine_config &mconfig, device_type type, const char*name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask)
1064tms1000_cpu_device::tms1000_cpu_device(const machine_config &mconfig, device_type type, const char*name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask, const char *shortname, const char *source)
10651065   : tms1xxx_cpu_device( mconfig, type, name, tag, owner, clock, tms1000_default_decode, o_mask, r_mask, 6, 8, 2
1066                       , 10, ADDRESS_MAP_NAME( program_10bit_8 ), 6, ADDRESS_MAP_NAME( data_6bit ) )
1066                       , 10, ADDRESS_MAP_NAME( program_10bit_8 ), 6, ADDRESS_MAP_NAME( data_6bit ), shortname, source )
10671067{
10681068}
10691069
r23846r23847
10761076
10771077
10781078tms1070_cpu_device::tms1070_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1079   : tms1000_cpu_device( mconfig, TMS1070, "TMS1070", tag, owner, clock, 0x00ff, 0x07ff )
1079   : tms1000_cpu_device( mconfig, TMS1070, "TMS1070", tag, owner, clock, 0x00ff, 0x07ff, "tms1070", __FILE__)
10801080{
10811081}
10821082
10831083
10841084tms1200_cpu_device::tms1200_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1085   : tms1000_cpu_device( mconfig, TMS1200, "TMS1200", tag, owner, clock, 0x00ff, 0x1fff )
1085   : tms1000_cpu_device( mconfig, TMS1200, "TMS1200", tag, owner, clock, 0x00ff, 0x1fff, "tms1200", __FILE__)
10861086{
10871087}
10881088
10891089
10901090tms1270_cpu_device::tms1270_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1091   : tms1000_cpu_device( mconfig, TMS1270, "TMS1270", tag, owner, clock, 0x03ff, 0x1fff )
1091   : tms1000_cpu_device( mconfig, TMS1270, "TMS1270", tag, owner, clock, 0x03ff, 0x1fff, "tms1270", __FILE__)
10921092{
10931093}
10941094
10951095
10961096tms1100_cpu_device::tms1100_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10971097   : tms1xxx_cpu_device( mconfig, TMS1100, "TMS1100", tag, owner, clock, tms1100_default_decode, 0x00ff, 0x07ff, 6, 8, 3
1098                       , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ) )
1098                       , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ), "tms1100", __FILE__ )
10991099{
11001100}
11011101
11021102
1103tms1100_cpu_device::tms1100_cpu_device(const machine_config &mconfig, device_type type, const char*name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask)
1103tms1100_cpu_device::tms1100_cpu_device(const machine_config &mconfig, device_type type, const char*name, const char *tag, device_t *owner, UINT32 clock, UINT16 o_mask, UINT16 r_mask, const char *shortname, const char *source)
11041104   : tms1xxx_cpu_device( mconfig, type, name, tag, owner, clock, tms1100_default_decode, o_mask, r_mask, 6, 8, 3
1105                       , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ) )
1105                       , 11, ADDRESS_MAP_NAME( program_11bit_8 ), 7, ADDRESS_MAP_NAME( data_7bit ), shortname, source )
11061106{
11071107}
11081108
r23846r23847
11151115
11161116
11171117tms1300_cpu_device::tms1300_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1118   : tms1100_cpu_device( mconfig, TMS1300, "TMS1300", tag, owner, clock, 0x00ff, 0xffff )
1118   : tms1100_cpu_device( mconfig, TMS1300, "TMS1300", tag, owner, clock, 0x00ff, 0xffff, "tms1300", __FILE__ )
11191119{
11201120}
11211121
trunk/src/emu/cpu/adsp2100/adsp2100.c
r23846r23847
148148//  adsp21xx_device - constructor
149149//-------------------------------------------------
150150
151adsp21xx_device::adsp21xx_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype)
152   : cpu_device(mconfig, type, name, tag, owner, clock),
151adsp21xx_device::adsp21xx_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, const char *shortname, const char *source)
152   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
153153      m_program_config("program", ENDIANNESS_LITTLE, 32, 14, -2),
154154      m_data_config("data", ENDIANNESS_LITTLE, 16, 14, -1),
155155      m_chip_type(chiptype),
r23846r23847
278278}
279279
280280adsp2100_device::adsp2100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
281   : adsp21xx_device(mconfig, ADSP2100, "ADSP-2100", tag, owner, clock, CHIP_TYPE_ADSP2100) { }
281   : adsp21xx_device(mconfig, ADSP2100, "ADSP-2100", tag, owner, clock, CHIP_TYPE_ADSP2100, "adsp2100", __FILE__) { }
282282
283283adsp2101_device::adsp2101_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
284   : adsp21xx_device(mconfig, ADSP2101, "ADSP-2101", tag, owner, clock, CHIP_TYPE_ADSP2101) { }
284   : adsp21xx_device(mconfig, ADSP2101, "ADSP-2101", tag, owner, clock, CHIP_TYPE_ADSP2101, "adsp2100", __FILE__) { }
285285
286adsp2101_device::adsp2101_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype)
287   : adsp21xx_device(mconfig, type, name, tag, owner, clock, chiptype) { }
286adsp2101_device::adsp2101_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, const char *shortname, const char *source)
287   : adsp21xx_device(mconfig, type, name, tag, owner, clock, chiptype, shortname, source) { }
288288
289289adsp2104_device::adsp2104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
290   : adsp2101_device(mconfig, ADSP2104, "ADSP-2104", tag, owner, clock, CHIP_TYPE_ADSP2104) { }
290   : adsp2101_device(mconfig, ADSP2104, "ADSP-2104", tag, owner, clock, CHIP_TYPE_ADSP2104, "adsp2100", __FILE__) { }
291291
292292adsp2105_device::adsp2105_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
293   : adsp2101_device(mconfig, ADSP2105, "ADSP-2105", tag, owner, clock, CHIP_TYPE_ADSP2105) { }
293   : adsp2101_device(mconfig, ADSP2105, "ADSP-2105", tag, owner, clock, CHIP_TYPE_ADSP2105, "adsp2100", __FILE__) { }
294294
295295adsp2115_device::adsp2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
296   : adsp2101_device(mconfig, ADSP2115, "ADSP-2115", tag, owner, clock, CHIP_TYPE_ADSP2115) { }
296   : adsp2101_device(mconfig, ADSP2115, "ADSP-2115", tag, owner, clock, CHIP_TYPE_ADSP2115, "adsp2100", __FILE__) { }
297297
298298adsp2181_device::adsp2181_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
299   : adsp21xx_device(mconfig, ADSP2181, "ADSP-2181", tag, owner, clock, CHIP_TYPE_ADSP2181),
299   : adsp21xx_device(mconfig, ADSP2181, "ADSP-2181", tag, owner, clock, CHIP_TYPE_ADSP2181, "adsp2100", __FILE__),
300300      m_io_config("I/O", ENDIANNESS_LITTLE, 16, 11, -1) { }
301301
302302
trunk/src/emu/cpu/adsp2100/adsp2100.h
r23846r23847
256256   };
257257
258258   // construction/destruction
259   adsp21xx_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype);
259   adsp21xx_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, const char *shortname, const char *source);
260260   virtual ~adsp21xx_device();
261261
262262public:
r23846r23847
545545   adsp2101_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
546546
547547protected:
548   adsp2101_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype);
548   adsp2101_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, const char *shortname, const char *source);
549549
550550   // device_execute_interface overrides
551551   virtual UINT32 execute_input_lines() const;
trunk/src/emu/cpu/hcd62121/hcd62121.c
r23846r23847
2828
2929
3030hcd62121_cpu_device::hcd62121_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : cpu_device(mconfig, HCD62121, "Hitachi HCD62121", tag, owner, clock)
31   : cpu_device(mconfig, HCD62121, "Hitachi HCD62121", tag, owner, clock, "hcd62121", __FILE__)
3232   , m_program_config("program", ENDIANNESS_BIG, 8, 24, 0)
3333   , m_io_config("io", ENDIANNESS_BIG, 8, 8, 0)
3434{
trunk/src/emu/cpu/ssem/ssem.c
r23846r23847
8181//-------------------------------------------------
8282
8383ssem_device::ssem_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
84   : cpu_device(mconfig, SSEMCPU, "SSEMCPU", tag, owner, clock),
84   : cpu_device(mconfig, SSEMCPU, "SSEMCPU", tag, owner, clock, "ssem", __FILE__),
8585      m_program_config("program", ENDIANNESS_LITTLE, 8, 16),
8686      m_pc(1),
8787      m_shifted_pc(1<<2),
trunk/src/emu/cpu/esrip/esrip.c
r23846r23847
16921692//-------------------------------------------------
16931693
16941694esrip_device::esrip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1695   : cpu_device(mconfig, ESRIP, "ESRIP", tag, owner, clock),
1695   : cpu_device(mconfig, ESRIP, "ESRIP", tag, owner, clock, "esrip", __FILE__),
16961696      m_program_config("program", ENDIANNESS_BIG, 64, 9, -3)
16971697{
16981698   // build the opcode table
trunk/src/emu/cpu/es5510/es5510.c
r23846r23847
9292
9393
9494es5510_device::es5510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
95: cpu_device(mconfig, ES5510, "ES5510", tag, owner, clock)
95: cpu_device(mconfig, ES5510, "ES5510", tag, owner, clock, "es5510", __FILE__)
9696{
9797   // Initialize ESP to mostly zeroed, configured for 64k samples of delay line memory, running (not halted)
9898   halt_asserted = false;
trunk/src/emu/cpu/lc8670/lc8670.c
r23846r23847
169169//-------------------------------------------------
170170
171171lc8670_cpu_device::lc8670_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
172   : cpu_device(mconfig, LC8670, "Sanyo LC8670", tag, owner, clock),
172   : cpu_device(mconfig, LC8670, "Sanyo LC8670", tag, owner, clock, "lc8670", __FILE__),
173173      m_program_config("program", ENDIANNESS_BIG, 8, 16, 0),
174174      m_data_config("data", ENDIANNESS_BIG, 8, 9, 0, ADDRESS_MAP_NAME(lc8670_internal_map)),
175175      m_io_config("io", ENDIANNESS_BIG, 8, 8, 0),
trunk/src/emu/cpu/dsp16/dsp16.c
r23846r23847
2929//-------------------------------------------------
3030
3131dsp16_device::dsp16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
32   : cpu_device(mconfig, DSP16, "DSP16", tag, owner, clock),
32   : cpu_device(mconfig, DSP16, "DSP16", tag, owner, clock, "dsp16", __FILE__),
3333      m_program_config("program", ENDIANNESS_LITTLE, 16, 16, -1),
3434      m_data_config("data", ENDIANNESS_LITTLE, 16, 16, -1),
3535      m_i(0),
trunk/src/emu/cpu/alph8201/alph8201.c
r23846r23847
172172
173173
174174alpha8201_cpu_device::alpha8201_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
175   : cpu_device(mconfig, ALPHA8201, "ALPHA-8201", tag, owner, clock)
175   : cpu_device(mconfig, ALPHA8201, "ALPHA-8201", tag, owner, clock, "alpha8201", __FILE__)
176176   , m_program_config("program", ENDIANNESS_LITTLE, 8, 10, 0)
177177   , m_io_config("io", ENDIANNESS_LITTLE, 8, 6, 0)
178178   , m_opmap(opcode_8201)
r23846r23847
180180}
181181
182182
183alpha8201_cpu_device::alpha8201_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
184   : cpu_device(mconfig, type, name, tag, owner, clock)
183alpha8201_cpu_device::alpha8201_cpu_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)
184   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
185185   , m_program_config("program", ENDIANNESS_LITTLE, 8, 10, 0)
186186   , m_io_config("io", ENDIANNESS_LITTLE, 8, 6, 0)
187187   , m_opmap(opcode_8201)
r23846r23847
189189}
190190
191191alpha8301_cpu_device::alpha8301_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
192   : alpha8201_cpu_device(mconfig, ALPHA8301, "ALPHA-8301", tag, owner, clock)
192   : alpha8201_cpu_device(mconfig, ALPHA8301, "ALPHA-8301", tag, owner, clock, "alpha8301", __FILE__)
193193{
194194   m_opmap = opcode_8301;
195195}
trunk/src/emu/cpu/alph8201/alph8201.h
r23846r23847
4141public:
4242   // construction/destruction
4343   alpha8201_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
44   alpha8201_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
44   alpha8201_cpu_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);
4545
4646protected:
4747   // device-level overrides
trunk/src/emu/cpu/h6280/h6280.c
r23846r23847
125125//-------------------------------------------------
126126
127127h6280_device::h6280_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
128   : cpu_device(mconfig, H6280, "H6280", tag, owner, clock),
128   : cpu_device(mconfig, H6280, "H6280", tag, owner, clock, "h6280", __FILE__),
129129   m_program_config("program", ENDIANNESS_LITTLE, 8, 21),
130130   m_io_config("io", ENDIANNESS_LITTLE, 8, 2)
131131{
trunk/src/emu/cpu/mips/r3000.c
r23846r23847
122122//  r3000_device - constructor
123123//-------------------------------------------------
124124
125r3000_device::r3000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, chip_type chiptype)
126   : cpu_device(mconfig, type, name, tag, owner, clock),
125r3000_device::r3000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, chip_type chiptype, const char *shortname, const char *source)
126   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
127127      m_program_config_be("program", ENDIANNESS_BIG, 32, 29),
128128      m_program_config_le("program", ENDIANNESS_LITTLE, 32, 29),
129129      m_program(NULL),
r23846r23847
168168//-------------------------------------------------
169169
170170r3041_device::r3041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
171   : r3000_device(mconfig, R3041, "R3041", tag, owner, clock, CHIP_TYPE_R3041) { }
171   : r3000_device(mconfig, R3041, "R3041", tag, owner, clock, CHIP_TYPE_R3041, "r3041", __FILE__) { }
172172
173173
174174//-------------------------------------------------
r23846r23847
176176//-------------------------------------------------
177177
178178r3051_device::r3051_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
179   : r3000_device(mconfig, R3051, "R3051", tag, owner, clock, CHIP_TYPE_R3051) { }
179   : r3000_device(mconfig, R3051, "R3051", tag, owner, clock, CHIP_TYPE_R3051, "r3051", __FILE__) { }
180180
181181
182182//-------------------------------------------------
r23846r23847
184184//-------------------------------------------------
185185
186186r3052_device::r3052_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
187   : r3000_device(mconfig, R3052, "R3052", tag, owner, clock, CHIP_TYPE_R3052) { }
187   : r3000_device(mconfig, R3052, "R3052", tag, owner, clock, CHIP_TYPE_R3052, "r3052", __FILE__) { }
188188
189189
190190//-------------------------------------------------
r23846r23847
192192//-------------------------------------------------
193193
194194r3071_device::r3071_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
195   : r3000_device(mconfig, R3071, "R3071", tag, owner, clock, CHIP_TYPE_R3071) { }
195   : r3000_device(mconfig, R3071, "R3071", tag, owner, clock, CHIP_TYPE_R3071, "r3071", __FILE__) { }
196196
197197
198198//-------------------------------------------------
r23846r23847
200200//-------------------------------------------------
201201
202202r3081_device::r3081_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
203   : r3000_device(mconfig, R3081, "R3081", tag, owner, clock, CHIP_TYPE_R3081) { }
203   : r3000_device(mconfig, R3081, "R3081", tag, owner, clock, CHIP_TYPE_R3081, "r3081", __FILE__) { }
204204
205205
206206//-------------------------------------------------
trunk/src/emu/cpu/mips/r3000.h
r23846r23847
7575   };
7676
7777   // construction/destruction
78   r3000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, chip_type chiptype);
78   r3000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, chip_type chiptype, const char *shortname, const char *source);
7979   virtual ~r3000_device();
8080
8181public:
trunk/src/emu/cpu/psx/psx.c
r23846r23847
17291729//  psxcpu_device - constructor
17301730//-------------------------------------------------
17311731
1732psxcpu_device::psxcpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
1733   cpu_device(mconfig, type, name, tag, owner, clock),
1732psxcpu_device::psxcpu_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) :
1733   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
17341734   m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0, ADDRESS_MAP_NAME(psxcpu_internal_map)),
17351735   m_gpu_read_handler(*this),
17361736   m_gpu_write_handler(*this),
r23846r23847
17431743}
17441744
17451745cxd8530aq_device::cxd8530aq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1746   : psxcpu_device(mconfig, CXD8661R, "CXD8530AQ", tag, owner, clock)
1746   : psxcpu_device(mconfig, CXD8661R, "CXD8530AQ", tag, owner, clock, "cxd8530aq", __FILE__)
17471747{
17481748}
17491749
17501750cxd8530bq_device::cxd8530bq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1751   : psxcpu_device(mconfig, CXD8661R, "CXD8530BQ", tag, owner, clock)
1751   : psxcpu_device(mconfig, CXD8661R, "CXD8530BQ", tag, owner, clock, "cxd8530bq", __FILE__)
17521752{
17531753}
17541754
17551755cxd8530cq_device::cxd8530cq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1756   : psxcpu_device(mconfig, CXD8661R, "CXD8530CQ", tag, owner, clock)
1756   : psxcpu_device(mconfig, CXD8661R, "CXD8530CQ", tag, owner, clock, "cxd8530cq", __FILE__)
17571757{
17581758}
17591759
17601760cxd8661r_device::cxd8661r_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1761   : psxcpu_device(mconfig, CXD8661R, "CXD8661R", tag, owner, clock)
1761   : psxcpu_device(mconfig, CXD8661R, "CXD8661R", tag, owner, clock, "cxd8661r", __FILE__)
17621762{
17631763}
17641764
17651765cxd8606bq_device::cxd8606bq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1766   : psxcpu_device(mconfig, CXD8606BQ, "CXD8606BQ", tag, owner, clock)
1766   : psxcpu_device(mconfig, CXD8606BQ, "CXD8606BQ", tag, owner, clock, "cxd8606bq", __FILE__)
17671767{
17681768}
17691769
17701770cxd8606cq_device::cxd8606cq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1771   : psxcpu_device(mconfig, CXD8606CQ, "CXD8606CQ", tag, owner, clock)
1771   : psxcpu_device(mconfig, CXD8606CQ, "CXD8606CQ", tag, owner, clock, "cxd8606cq", __FILE__)
17721772{
17731773}
17741774
trunk/src/emu/cpu/psx/psx.h
r23846r23847
183183   static psxcpu_device *getcpu( device_t &device, const char *cputag );
184184
185185protected:
186   psxcpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
186   psxcpu_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);
187187
188188   // device-level overrides
189189   virtual void device_start();
trunk/src/emu/cpu/v30mz/v30mz.c
r23846r23847
9696
9797
9898v30mz_cpu_device::v30mz_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
99   : cpu_device(mconfig, V30MZ, "V30MZ", tag, owner, clock)
99   : cpu_device(mconfig, V30MZ, "V30MZ", tag, owner, clock, "v30mz", __FILE__)
100100   , m_program_config("program", ENDIANNESS_LITTLE, 8, 20, 0)
101101   , m_io_config("io", ENDIANNESS_LITTLE, 8, 16, 0)
102102   , m_ip(0)
trunk/src/emu/cpu/m6805/m6805.c
r23846r23847
406406//  m6809_base_device - constructor
407407//-------------------------------------------------
408408
409m6805_base_device::m6805_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const device_type type, const char *name, UINT32 addr_width)
410   : cpu_device(mconfig, type, name, tag, owner, clock),
409m6805_base_device::m6805_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const device_type type, const char *name, UINT32 addr_width, const char *shortname, const char *source)
410   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
411411   m_program_config("program", ENDIANNESS_BIG, 8, addr_width)
412412{
413413}
trunk/src/emu/cpu/m6805/m6805.h
r23846r23847
2424{
2525public:
2626   // construction/destruction
27   m6805_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const device_type type, const char *name, UINT32 addr_width);
27   m6805_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const device_type type, const char *name, UINT32 addr_width, const char *shortname, const char *source);
2828
2929protected:
3030   // device-level overrides
r23846r23847
293293public:
294294   // construction/destruction
295295   m6805_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
296      : m6805_base_device(mconfig, tag, owner, clock, M6805, "M6805", 12) { }
296      : m6805_base_device(mconfig, tag, owner, clock, M6805, "M6805", 12, "m6805", __FILE__) { }
297297
298298protected:
299299   virtual void execute_set_input(int inputnum, int state);
r23846r23847
306306public:
307307   // construction/destruction
308308   m68hc05eg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
309      : m6805_base_device(mconfig, tag, owner, clock, M68HC05EG, "M68HC05EG", 13) { }
309      : m6805_base_device(mconfig, tag, owner, clock, M68HC05EG, "M68HC05EG", 13, "m68hc05eg", __FILE__) { }
310310
311311protected:
312312   // device-level overrides
r23846r23847
324324public:
325325   // construction/destruction
326326   m68705_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
327      : m6805_base_device(mconfig, tag, owner, clock, M68705, "M68705", 12) { }
327      : m6805_base_device(mconfig, tag, owner, clock, M68705, "M68705", 12, "m68705", __FILE__) { }
328328
329329protected:
330330   // device-level overrides
r23846r23847
342342public:
343343   // construction/destruction
344344   hd63705_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
345      : m6805_base_device(mconfig, tag, owner, clock, HD63705, "HD63705", 16) { }
345      : m6805_base_device(mconfig, tag, owner, clock, HD63705, "HD63705", 16, "hd63705", __FILE__) { }
346346
347347protected:
348348   // device-level overrides
trunk/src/emu/cpu/lr35902/lr35902.c
r23846r23847
5454
5555
5656lr35902_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)
57   : cpu_device(mconfig, LR35902, "LR35902", tag, owner, clock, "lr35902", __FILE__)
5858   , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0)
5959   , m_A(0)
6060   , m_F(0)
trunk/src/emu/cpu/m6809/m6809.h
r23846r23847
3030{
3131public:
3232   // construction/destruction
33   m6809_base_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, const device_type type, int divider);
33   m6809_base_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, const device_type type, int divider, const char *shortname, const char *source);
3434
3535   DECLARE_WRITE_LINE_MEMBER( irq_line );
3636   DECLARE_WRITE_LINE_MEMBER( firq_line );
trunk/src/emu/cpu/m6809/hd6309.c
r23846r23847
126126//-------------------------------------------------
127127
128128hd6309_device::hd6309_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
129      : m6809_base_device(mconfig, "HD6309", tag, owner, clock, HD6309, 4)
129      : m6809_base_device(mconfig, "HD6309", tag, owner, clock, HD6309, 4, "hd6309", __FILE__)
130130{
131131}
132132
trunk/src/emu/cpu/m6809/konami.c
r23846r23847
8585//-------------------------------------------------
8686
8787konami_cpu_device::konami_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
88      : m6809_base_device(mconfig, "KONAMI", tag, owner, clock, KONAMI, 1)
88      : m6809_base_device(mconfig, "KONAMI", tag, owner, clock, KONAMI, 1, "konami_cpu", __FILE__)
8989{
9090}
9191
trunk/src/emu/cpu/m6809/m6809.c
r23846r23847
106106//  m6809_base_device - constructor
107107//-------------------------------------------------
108108
109m6809_base_device::m6809_base_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, const device_type type, int divider)
110   : cpu_device(mconfig, type, name, tag, owner, clock),
109m6809_base_device::m6809_base_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, const device_type type, int divider, const char *shortname, const char *source)
110   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
111111   m_program_config("program", ENDIANNESS_BIG, 8, 16),
112112   m_clock_divider(divider)
113113{
r23846r23847
539539//-------------------------------------------------
540540
541541m6809_device::m6809_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
542   : m6809_base_device(mconfig, "M6809", tag, owner, clock, M6809, 1)
542   : m6809_base_device(mconfig, "M6809", tag, owner, clock, M6809, 1, "m6809", __FILE__)
543543{
544544}
545545
r23846r23847
550550//-------------------------------------------------
551551
552552m6809e_device::m6809e_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
553      : m6809_base_device(mconfig, "M6809E", tag, owner, clock, M6809E, 4)
553      : m6809_base_device(mconfig, "M6809E", tag, owner, clock, M6809E, 4, "m6809e", __FILE__)
554554{
555555}
556556

Previous 199869 Revisions Next


© 1997-2024 The MAME Team