Previous 15994 Revisions Next

r10366 Friday 11th February, 2011 at 10:47:57 UTC by Miodrag Milanović
Sync with MAME (cleaner solution, some things are rolled back)
[src/emu]devcpu.c devcpu.h devintrf.c devintrf.h devlegcy.c machine.c screen.c speaker.c timer.c
[src/emu/cpu/adsp2100]adsp2100.c adsp2100.h
[src/emu/cpu/asap]asap.c
[src/emu/cpu/cosmac]cosmac.c
[src/emu/cpu/dsp16]dsp16.c
[src/emu/cpu/dsp32]dsp32.c
[src/emu/cpu/hd61700]hd61700.c
[src/emu/cpu/tms32031]tms32031.c
[src/emu/cpu/upd7725]upd7725.c
[src/emu/machine]6522via.c 6526cia.c 6532riot.c 6821pia.c 6840ptm.c 6850acia.c 74123.c 7474.c 8237dma.c 8255ppi.c 8257dma.c at28c16.c devhelpr.h ds1302.c ds2404.c eeprom.c er2055.c f3853.c i2cmem.c i8243.c ins8154.c intelfsh.c intelfsh.h k033906.c k056230.c mb3773.c mc146818.c mc68901.c nvram.c timekpr.c timekpr.h x2212.c z80ctc.c z80dart.c z80dma.c z80pio.c z80sio.c z80sti.c
[src/emu/sound]asc.c bsmt2000.c cdp1869.c discrete.c discrete.h ics2115.c mas3507d.c okim6295.c okim9810.c
[src/mame]mamedriv.c
[src/mame/drivers]chinagat.c destroyr.c itech32.c littlerb.c pinkiri8.c segas16b.c
[src/mame/machine]cdicdic.c cdislave.c
[src/mame/video]gp9001.c
[src/mess/machine]abc99.c cdp1871.c einstein.c fm_scsi.c i8155.c i8212.c i8355.c mb89352.c ncr5380.c osborne1.c s1410.c x1.c zx8302.c
[src/mess/video]crt9007.c crt9021.c crt9212.c ef9345.c hd44352.c hd44780.c hd61830.c zx8301.c

src/mame/machine/cdicdic.c
r10365r10366
9999//-------------------------------------------------
100100
101101cdicdic_device_config::cdicdic_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
102    : device_config(mconfig, static_alloc_device_config, "CDICDIC", "cdicdic", tag, owner, clock)
102    : device_config(mconfig, static_alloc_device_config, "CDICDIC", tag, owner, clock)
103103{
104104
105105}
src/mame/machine/cdislave.c
r10365r10366
5151//-------------------------------------------------
5252
5353cdislave_device_config::cdislave_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
54    : device_config(mconfig, static_alloc_device_config, "CDISLAVE", "cdislave", tag, owner, clock)
54    : device_config(mconfig, static_alloc_device_config, "CDISLAVE", tag, owner, clock)
5555{
5656
5757}
src/mame/mamedriv.c
r10365r10366
36303630   DRIVER( pairs )      /* (c) 1994 Strata/Incredible Technologies */
36313631   DRIVER( pairsa )   /* (c) 1994 Strata/Incredible Technologies */
36323632   DRIVER( hotmemry )   /* (c) 1994 Tuning/Incredible Technologies */
3633   DRIVER( hotmemry11 )   /* (c) 1994 Tuning/Incredible Technologies */
36333634   DRIVER( drivedge )   /* (c) 1994 Strata/Incredible Technologies */
36343635   DRIVER( wcbowl )   /* (c) 1995 Incredible Technologies */
36353636   DRIVER( wcbowl165 )   /* (c) 1995 Incredible Technologies */
r10365r10366
60166017   DRIVER( canyon )   /* 009493-009504    1977/10 [6502] */
60176018   DRIVER( canyonp )   /* 009493-009504    1977/10 [6502] */
60186019   DRIVER( destroyr )   /* 030131-030136    1977/10 [6800] */
6020   DRIVER( destroyr1 )   /* 030131-030136    1977/10 [6800] */
60196021   DRIVER( sprint1 )   /* 006443           1978/01 [6502] */
60206022   DRIVER( ultratnk )   /* 009801           1978/02 [6502] */
60216023   DRIVER( skyraid )   /* 009709           1978/03 [6502] */
src/mame/video/gp9001.c
r10365r10366
212212
213213
214214gp9001vdp_device_config::gp9001vdp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
215   : device_config(mconfig, static_alloc_device_config, "gp9001vdp_", "gp9001", tag, owner, clock),
215   : device_config(mconfig, static_alloc_device_config, "gp9001vdp_", tag, owner, clock),
216216     device_config_memory_interface(mconfig, *this),
217217     m_space_config("gp9001vdp", ENDIANNESS_BIG, 16,14, 0, NULL, *ADDRESS_MAP_NAME(gp9001vdp_map))
218218{
src/mame/drivers/chinagat.c
r10365r10366
928928
929929
930930/*   ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT    MONITOR COMPANY    FULLNAME     FLAGS ) */
931GAME( 1988, chinagat,   0,        chinagat,   chinagat, chinagat, ROT0, "Technos Japan (Taito / Romstar license)", "China Gate (US)", GAME_SUPPORTS_SAVE )
931GAME( 1988, chinagat,   0,        chinagat,   chinagat, chinagat, ROT0, "Technos Japan (Taito / Romstar license)", "China Gate (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE )
932932GAME( 1988, saiyugou,   chinagat, chinagat,   chinagat, chinagat, ROT0, "Technos Japan", "Sai Yu Gou Ma Roku (Japan)", GAME_SUPPORTS_SAVE )
933933GAME( 1988, saiyugoub1, chinagat, saiyugoub1, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
934934GAME( 1988, saiyugoub2, chinagat, saiyugoub2, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 2)", GAME_SUPPORTS_SAVE )
src/mame/drivers/pinkiri8.c
r10365r10366
9494const device_type JANSHIVDP = janshi_vdp_device_config::static_alloc_device_config;
9595
9696janshi_vdp_device_config::janshi_vdp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
97   : device_config(mconfig, static_alloc_device_config, "JANSHIVDP", "janshvdp", tag, owner, clock),
97   : device_config(mconfig, static_alloc_device_config, "JANSHIVDP", tag, owner, clock),
9898     device_config_memory_interface(mconfig, *this),
9999     m_space_config("janshi_vdp", ENDIANNESS_LITTLE, 8,24, 0, NULL, *ADDRESS_MAP_NAME(janshi_vdp_map8))
100100{
src/mame/drivers/littlerb.c
r10365r10366
189189}
190190
191191littlerb_vdp_device_config::littlerb_vdp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
192   : device_config(mconfig, static_alloc_device_config, "LITTLERBVDP", "littlerb", tag, owner, clock),
192   : device_config(mconfig, static_alloc_device_config, "LITTLERBVDP", tag, owner, clock),
193193     device_config_memory_interface(mconfig, *this),
194194     m_space_config("littlerb_vdp", ENDIANNESS_LITTLE, 16,32, 0, NULL, *ADDRESS_MAP_NAME(littlerb_vdp_map8))
195195{
src/mame/drivers/destroyr.c
r10365r10366
8181   /* draw minor objects */
8282   for (i = 0; i < 2; i++)
8383   {
84      int num = i << 4 | (state->minor_obj_ram[i + 0] & 0xf);
8485      int horz = 256 - state->minor_obj_ram[i + 2];
8586      int vert = 256 - state->minor_obj_ram[i + 4];
8687
87      drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], state->minor_obj_ram[i + 0], 0, 0, 0, horz, vert, 0);
88      drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], num, 0, 0, 0, horz, vert, 0);
8889   }
8990
9091   /* draw waves */
r10365r10366
228229static READ8_HANDLER( destroyr_input_r )
229230{
230231   destroyr_state *state = space->machine->driver_data<destroyr_state>();
231   offset &= 0x0f;
232232
233   if (offset == 0)
233   if (offset & 1)
234234   {
235      return input_port_read(space->machine, "IN1");
236   }
237
238   else
239   {
235240      UINT8 ret = input_port_read(space->machine, "IN0");
236241
237242      if (state->potsense[0] && state->potmask[0])
r10365r10366
241246
242247      return ret;
243248   }
244
245   if (offset == 1)
246   {
247      return input_port_read(space->machine, "IN1");
248   }
249
250   logerror("unmapped input port %d\n", offset);
251
252   return 0;
253249}
254250
255251
r10365r10366
264260   AM_RANGE(0x0000, 0x00ff) AM_MIRROR(0xf00) AM_RAM
265261   AM_RANGE(0x1000, 0x1fff) AM_READWRITE(destroyr_input_r, destroyr_output_w)
266262   AM_RANGE(0x2000, 0x2fff) AM_READ_PORT("IN2")
267   AM_RANGE(0x3000, 0x30ff) AM_WRITEONLY AM_BASE_MEMBER(destroyr_state, alpha_num_ram)
268   AM_RANGE(0x4000, 0x401f) AM_WRITEONLY AM_BASE_MEMBER(destroyr_state, major_obj_ram)
269   AM_RANGE(0x5000, 0x5000) AM_WRITE(destroyr_cursor_load_w)
270   AM_RANGE(0x5001, 0x5001) AM_WRITE(destroyr_interrupt_ack_w)
271   AM_RANGE(0x5002, 0x5007) AM_WRITEONLY AM_BASE_MEMBER(destroyr_state, minor_obj_ram)
263   AM_RANGE(0x3000, 0x30ff) AM_MIRROR(0xf00) AM_WRITEONLY AM_BASE_MEMBER(destroyr_state, alpha_num_ram)
264   AM_RANGE(0x4000, 0x401f) AM_MIRROR(0xfe0) AM_WRITEONLY AM_BASE_MEMBER(destroyr_state, major_obj_ram)
265   AM_RANGE(0x5000, 0x5000) AM_MIRROR(0xf80) AM_WRITE(destroyr_cursor_load_w)
266   AM_RANGE(0x5001, 0x5001) AM_MIRROR(0xf80) AM_WRITE(destroyr_interrupt_ack_w)
267   AM_RANGE(0x5002, 0x5007) AM_MIRROR(0xf80) AM_WRITEONLY AM_BASE_MEMBER(destroyr_state, minor_obj_ram)
272268   AM_RANGE(0x6000, 0x6fff) AM_READ(destroyr_scanline_r)
273269   AM_RANGE(0x7000, 0x77ff) AM_NOP            /* missing translation ROMs */
274270   AM_RANGE(0x7800, 0x7fff) AM_ROM            /* program */
r10365r10366
342338static const gfx_layout destroyr_minor_object_layout =
343339{
344340   16, 16,   /* width, height */
345   16,       /* total         */
341   32,       /* total         */
346342   1,        /* planes        */
347343   { 0 },    /* plane offsets */
348344   {
r10365r10366
473469
474470
475471ROM_START( destroyr )
476   ROM_REGION( 0x8000, "maincpu", 0 )                  /* program code */
472   ROM_REGION( 0x8000, "maincpu", 0 )   /* program code */
477473   ROM_LOAD( "30146-01.c3", 0x7800, 0x0800, CRC(e560c712) SHA1(0505ab57eee5421b4ff4e87d14505e02b18fd54c) )
478474
479   ROM_REGION( 0x0400, "gfx1", 0 )   /* alpha numerics */
475   ROM_REGION( 0x0400, "gfx1", 0 )      /* alpha numerics */
480476   ROM_LOAD( "30135-01.p4", 0x0000, 0x0400, CRC(184824cf) SHA1(713cfd1d41ef7b1c345ea0038b652c4ba3f08301) )
481477
482   ROM_REGION( 0x0400, "gfx2", 0 )   /* minor objects */
478   ROM_REGION( 0x0800, "gfx2", 0 )      /* minor objects */
483479   ROM_LOAD( "30132-01.f4", 0x0000, 0x0400, CRC(e09d3d55) SHA1(b26013397ef2cb32d0416ecb118387b9c2dffa9a) )
480   ROM_LOAD( "30132-01.k4", 0x0400, 0x0400, CRC(e09d3d55) SHA1(b26013397ef2cb32d0416ecb118387b9c2dffa9a) )
484481
485   ROM_REGION( 0x0400, "gfx3", 0 )   /* major objects */
482   ROM_REGION( 0x0400, "gfx3", 0 )      /* major objects */
486483   ROM_LOAD_NIB_HIGH( "30134-01.p8", 0x0000, 0x0400, CRC(6259e007) SHA1(049f5f7160305cb4f4b499dd113cb11eea73fc95) )
487484   ROM_LOAD_NIB_LOW ( "30133-01.n8", 0x0000, 0x0400, CRC(108d3e2c) SHA1(8c993369d37c6713670483af78e6d04d38f4b4fc) )
488485
489   ROM_REGION( 0x0020, "gfx4", 0 )   /* waves */
486   ROM_REGION( 0x0020, "gfx4", 0 )      /* waves */
490487   ROM_LOAD( "30136-01.k2", 0x0000, 0x0020, CRC(532c11b1) SHA1(18ab5369a3f2cfcc9a44f38fa8649524bea5b203) )
491488
492   ROM_REGION( 0x0100, "user1", 0 )                  /* sync (unused) */
489   ROM_REGION( 0x0100, "user1", 0 )   /* sync (unused) */
493490   ROM_LOAD( "30131-01.m1", 0x0000, 0x0100, CRC(b8094b4c) SHA1(82dc6799a19984f3b204ee3aeeb007e55afc8be3) )
494491ROM_END
495492
493ROM_START( destroyr1 )
494   ROM_REGION( 0x8000, "maincpu", 0 )   /* program code */
495   ROM_LOAD_NIB_HIGH( "30142-01.f3", 0x7800, 0x0400, CRC(9e9a08d3) SHA1(eb31bab1537caf43ab8c3d23a6c9cc2009fcb98e) )
496   ROM_LOAD_NIB_LOW ( "30141-01.e2", 0x7800, 0x0400, CRC(c924fbce) SHA1(53aa9a3c4c6e90fb94500ddfa6c2ae3076eee2ef) )
497   ROM_LOAD_NIB_HIGH( "30144-01.j3", 0x7c00, 0x0400, CRC(0c7135c6) SHA1(6a0180353a0a6f34639dadc23179f6323aae8d62) )
498   ROM_LOAD_NIB_LOW ( "30143-01.h2", 0x7c00, 0x0400, CRC(b946e6f0) SHA1(b906024bb0e03a644fff1d5516637c24916b096e) )
496499
497GAME( 1977, destroyr, 0, destroyr, destroyr, 0, ORIENTATION_FLIP_X, "Atari", "Destroyer", GAME_NO_SOUND )
500   ROM_REGION( 0x0400, "gfx1", 0 )      /* alpha numerics */
501   ROM_LOAD( "30135-01.p4", 0x0000, 0x0400, CRC(184824cf) SHA1(713cfd1d41ef7b1c345ea0038b652c4ba3f08301) )
502
503   ROM_REGION( 0x0800, "gfx2", 0 )      /* minor objects */
504   ROM_LOAD( "30132-01.f4", 0x0000, 0x0400, CRC(e09d3d55) SHA1(b26013397ef2cb32d0416ecb118387b9c2dffa9a) )
505   ROM_LOAD( "30132-01.k4", 0x0400, 0x0400, CRC(e09d3d55) SHA1(b26013397ef2cb32d0416ecb118387b9c2dffa9a) )
506
507   ROM_REGION( 0x0400, "gfx3", 0 )      /* major objects */
508   ROM_LOAD_NIB_HIGH( "30134-01.p8", 0x0000, 0x0400, CRC(6259e007) SHA1(049f5f7160305cb4f4b499dd113cb11eea73fc95) )
509   ROM_LOAD_NIB_LOW ( "30133-01.n8", 0x0000, 0x0400, CRC(108d3e2c) SHA1(8c993369d37c6713670483af78e6d04d38f4b4fc) )
510
511   ROM_REGION( 0x0020, "gfx4", 0 )      /* waves */
512   ROM_LOAD( "30136-01.k2", 0x0000, 0x0020, CRC(532c11b1) SHA1(18ab5369a3f2cfcc9a44f38fa8649524bea5b203) )
513
514   ROM_REGION( 0x0100, "user1", 0 )   /* sync (unused) */
515   ROM_LOAD( "30131-01.m1", 0x0000, 0x0100, CRC(b8094b4c) SHA1(82dc6799a19984f3b204ee3aeeb007e55afc8be3) )
516ROM_END
517
518
519GAME( 1977, destroyr,  0,        destroyr, destroyr, 0, ORIENTATION_FLIP_X, "Atari", "Destroyer (version O2)", GAME_NO_SOUND )
520GAME( 1977, destroyr1, destroyr, destroyr, destroyr, 0, ORIENTATION_FLIP_X, "Atari", "Destroyer (version O1)", GAME_NO_SOUND )
src/mame/drivers/itech32.c
r10365r10366
180180Top (2 separate PCBs plugged into the main board)
181181---
182182
183P/N 1060 REV 0
183P/N 1060 REV 0                         P/N 1061 REV1
184184|---------------------------------|    |---------------------------------|
185185|6522          SND.U17    SROM0   |    |  GROM15            GROM10       |
186186|   6809     6264   ENSONIC       |    |                                 |
r10365r10366
21012101ROM_END
21022102
21032103
2104ROM_START( pairs )   /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N ???? Rev ? &  P/N 1060 Rev 0) */
2104ROM_START( pairs )   /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 &  P/N 1060 Rev 0) */
21052105   ROM_REGION16_BE( 0x80000, "user1", 0 )
2106   ROM_LOAD16_BYTE( "pair0v12.u83", 0x00000, 0x20000, CRC(a9c761d8) SHA1(2618c9c3f336cf30f760fd88f12c09985cfd4ee7) )
2107   ROM_LOAD16_BYTE( "pair1v12.u88", 0x00001, 0x20000, CRC(5141eb86) SHA1(3bb10d588e6334a33e5c2c468651699e84f46cdc) )
2106   ROM_LOAD16_BYTE( "pair0_v1.2.u83", 0x00000, 0x20000, CRC(a9c761d8) SHA1(2618c9c3f336cf30f760fd88f12c09985cfd4ee7) )
2107   ROM_LOAD16_BYTE( "pair1_v1.2.u88", 0x00001, 0x20000, CRC(5141eb86) SHA1(3bb10d588e6334a33e5c2c468651699e84f46cdc) )
21082108
21092109   ROM_REGION( 0x28000, "soundcpu", 0 )
21102110   ROM_LOAD( "snd.u17", 0x10000, 0x18000, CRC(7a514cfd) SHA1(ef5bc74c9560d2c058298051070fa748e58f07e1) )
r10365r10366
21282128ROM_END
21292129
21302130
2131ROM_START( pairsa )   /* Version ?? (3-tier board set: P/N 1059 Rev 3, P/N ???? Rev ? &  P/N 1060 Rev 0) */
2131ROM_START( pairsa )   /* Version ?? (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 &  P/N 1060 Rev 0) */
21322132   ROM_REGION16_BE( 0x80000, "user1", 0 )
21332133   ROM_LOAD16_BYTE( "pair0.u83", 0x00000, 0x20000, CRC(774995a3) SHA1(93df91378b56802d14c105f7f48ed8a4f7bafffd) )
21342134   ROM_LOAD16_BYTE( "pair1.u88", 0x00001, 0x20000, CRC(85d0b73a) SHA1(48a6ac6de94be13e407da13e3e2440d858714b4b) )
r10365r10366
21542154   ROM_LOAD16_BYTE( "srom0", 0x000000, 0x80000, CRC(1d96c581) SHA1(3b7c84b7db3b098ec28c7058c16f97e9cf0e4733) )
21552155ROM_END
21562156
2157ROM_START( hotmemry )   /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N ???? Rev ? &  P/N 1060 Rev 0) */
2157ROM_START( hotmemry )   /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 &  P/N 1060 Rev 0) */
21582158   ROM_REGION16_BE( 0x80000, "user1", 0 )
2159   ROM_LOAD16_BYTE( "hotmem0.u83", 0x00000, 0x40000, CRC(5b9d87a2) SHA1(5a1ca7b622832fcb641e081d0c2a49c38ca795cd) )
2160   ROM_LOAD16_BYTE( "hotmem1.u88", 0x00001, 0x40000, CRC(aeea087c) SHA1(3a8bdc04bc4051691823d0c5a1a3429475692100) )
2159   ROM_LOAD16_BYTE( "hotmem0_v1.2.u83", 0x00000, 0x40000, CRC(5b9d87a2) SHA1(5a1ca7b622832fcb641e081d0c2a49c38ca795cd) )
2160   ROM_LOAD16_BYTE( "hotmem1_v1.2.u88", 0x00001, 0x40000, CRC(aeea087c) SHA1(3a8bdc04bc4051691823d0c5a1a3429475692100) )
21612161
21622162   ROM_REGION( 0x28000, "soundcpu", 0 )
21632163   ROM_LOAD( "hotmem_snd.u17", 0x10000, 0x18000, CRC(805941c7) SHA1(4a6832d93ff2b986cb54052658af62584782cb59) )
r10365r10366
21802180   ROM_LOAD16_BYTE( "hotmem.srom0", 0x000000, 0x80000, CRC(c1103224) SHA1(52cf341ff9092ecb8cb94f66a96ee0c726bf1412) )
21812181ROM_END
21822182
2183ROM_START( hotmemry11 )   /* Version 1.1 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 &  P/N 1060 Rev 0) */
2184   ROM_REGION16_BE( 0x80000, "user1", ROMREGION_ERASEFF )
2185   ROM_LOAD16_BYTE( "hotmem0_v1.1.u83", 0x00000, 0x20000, CRC(8d614b1b) SHA1(46567b83c595f166573ce6cf93456dbd10ab5b80) )
2186   ROM_LOAD16_BYTE( "hotmem1_v1.1.u88", 0x00001, 0x20000, CRC(009639fb) SHA1(8f559a838a12a4e3d39acbea87a9816a66a3f8f8) )
2187
2188   ROM_REGION( 0x28000, "soundcpu", 0 )
2189   ROM_LOAD( "hotmem_snd.u17", 0x10000, 0x18000, CRC(805941c7) SHA1(4a6832d93ff2b986cb54052658af62584782cb59) )
2190   ROM_CONTINUE(               0x08000, 0x08000 )
2191
2192   ROM_REGION( 0x880000, "gfx1", 0 )
2193   ROM_LOAD32_BYTE( "hotmem.grom0",  0x000000, 0x80000, CRC(68f279ef) SHA1(66098e68474e692676662b03835d1b74f581b0f4) )
2194   ROM_LOAD32_BYTE( "hotmem.grom5",  0x000001, 0x80000, CRC(295bb43d) SHA1(ccecdbc9dc9ef925fe59a53eeff89135d2ae748d) )
2195   ROM_LOAD32_BYTE( "hotmem.grom10", 0x000002, 0x80000, CRC(f8cc939b) SHA1(cbd35346f057f1e615705acb2595ba550f6d8772) )
2196   ROM_LOAD32_BYTE( "hotmem.grom15", 0x000003, 0x80000, CRC(a03d9bcd) SHA1(e75be35fd5cfec1e7ab3e0db468bff4d76a9cb27) )
2197   ROM_LOAD32_BYTE( "hotmem.grom1",  0x200000, 0x40000, CRC(b446105e) SHA1(25b5067c09490086095fcf10085f0eeffd53b27f) )
2198   ROM_LOAD32_BYTE( "hotmem.grom6",  0x200001, 0x40000, CRC(3a7ba9eb) SHA1(dd7548afb8ee92af369732f4159b0ad0d1b58259) )
2199   ROM_LOAD32_BYTE( "hotmem.grom11", 0x200002, 0x40000, CRC(9ec4ea41) SHA1(5bc4489b881c9736cb39891b6ab5e75f5c45907c) )
2200   ROM_LOAD32_BYTE( "hotmem.grom16", 0x200003, 0x40000, CRC(4507a895) SHA1(3d6cd6cd81b62545f7be5991f67803cf11c96ee6) )
2201
2202   ROM_REGION16_BE( 0x400000, "ensoniq.0", ROMREGION_ERASE00 )
2203   ROM_LOAD16_BYTE( "ensoniq.2m", 0x000000, 0x200000, CRC(9fdc4825) SHA1(71e5255c66d9010be7e6f27916b605441fc53839) ) /* Ensoniq 2m 1350901601 */
2204
2205   ROM_REGION16_BE( 0x400000, "ensoniq.2", ROMREGION_ERASE00 )
2206   ROM_LOAD16_BYTE( "hotmem_v1.srom0", 0x000000, 0x80000, CRC(c18b76cd) SHA1(2d9ddda3b1d199289792c2e8b8add4a0f35c4a48) )
2207ROM_END
2208
21832209ROM_START( wcbowldx )   /* Deluxe version 2.00 (PCB P/N 1083 Rev 2), This version is derived from the Tournament version, but tournament features have be removed/disabled */
21842210   ROM_REGION32_BE( CODE_SIZE, "user1", 0 )
21852211   ROM_LOAD32_BYTE( "wcbdprm0.200", 0x00000, 0x20000, CRC(280df7f0) SHA1(dacffe8fc21263093b0f4a4fbf444abd49afbff1) )
r10365r10366
42234249GAME( 1994, pairs,       0,        bloodstm, pairs,    bloodstm, ROT0, "Strata/Incredible Technologies",   "Pairs (V1.2, 09/30/94)", 0 )
42244250GAME( 1994, pairsa,      pairs,    bloodstm, pairs,    bloodstm, ROT0, "Strata/Incredible Technologies",   "Pairs (09/07/94)", 0 )
42254251GAME( 1994, hotmemry,    pairs,    bloodstm, pairs,    bloodstm, ROT0, "Tuning/Incredible Technologies",   "Hot Memory (V1.2, Germany)", 0 )
4252GAME( 1994, hotmemry11,  pairs,    bloodstm, pairs,    bloodstm, ROT0, "Tuning/Incredible Technologies",   "Hot Memory (V1.1, Germany)", 0 )
42264253GAME( 1994, drivedge,    0,        drivedge, drivedge, drivedge, ROT0, "Strata/Incredible Technologies",   "Driver's Edge", GAME_IMPERFECT_GRAPHICS )
42274254GAME( 1995, wcbowl,      0,        sftm,     wcbowln,  wcbowln,  ROT0, "Incredible Technologies",          "World Class Bowling (v1.66)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
42284255GAME( 1995, wcbowl165,   wcbowl,   sftm,     shufbowl, wcbowln,  ROT0, "Incredible Technologies",          "World Class Bowling (v1.65)" , 0) /* PIC 16C54 labeled as ITBWL-3 */
src/mame/drivers/segas16b.c
r10365r10366
55615561    Shinobi, Sega System 16B
55625562    CPU: 68000 + MC8123B (317-0054)
55635563    ROM Board: 171-5521
5564 Game Nunmber: 834-6499-03
5564 Game Nunmber: 834-6496-04
5565    ROM board: 834-6499-03
55655566*/
55665567ROM_START( shinobi4 )
55675568   ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */
src/emu/cpu/tms32031/tms32031.c
r10365r10366
139139//-------------------------------------------------
140140
141141tms3203x_device_config::tms3203x_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map)
142   : cpu_device_config(mconfig, type, name, "tms32031", tag, owner, clock),
142   : cpu_device_config(mconfig, type, name, tag, owner, clock),
143143     m_program_config("program", ENDIANNESS_LITTLE, 32, 24, -2, internal_map),
144144     m_chip_type(chiptype)
145145{
src/emu/cpu/adsp2100/adsp2100.h
r10365r10366
276276   };
277277
278278   // construction/destruction
279   adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
279   adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
280280
281281public:
282282   // inline configuration helpers
r10365r10366
605605
606606protected:
607607   // construction/destruction
608   adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
608   adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype);
609609
610610public:
611611   // allocators
src/emu/cpu/adsp2100/adsp2100.c
r10365r10366
148148//  TRIVIAL IMPLEMENTATIONS
149149//**************************************************************************
150150
151DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2104_device_config, adsp2101_device_config, adsp2104_device, adsp2101_device, "ADSP-2104", "adsp2104", CHIP_TYPE_ADSP2104)
152DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2105_device_config, adsp2101_device_config, adsp2105_device, adsp2101_device, "ADSP-2105", "adsp2105", CHIP_TYPE_ADSP2105)
153DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, adsp2115_device, adsp2101_device, "ADSP-2115", "adsp2115", CHIP_TYPE_ADSP2115)
151DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2104_device_config, adsp2101_device_config, adsp2104_device, adsp2101_device, "ADSP-2104", CHIP_TYPE_ADSP2104)
152DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2105_device_config, adsp2101_device_config, adsp2105_device, adsp2101_device, "ADSP-2105", CHIP_TYPE_ADSP2105)
153DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, adsp2115_device, adsp2101_device, "ADSP-2115", CHIP_TYPE_ADSP2115)
154154
155155
156156
r10365r10366
162162//  adsp21xx_device_config - constructor
163163//-------------------------------------------------
164164
165adsp21xx_device_config::adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
166   : cpu_device_config(mconfig, type, name, shortname, tag, owner, clock),
165adsp21xx_device_config::adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
166   : cpu_device_config(mconfig, type, name, tag, owner, clock),
167167     m_program_config("program", ENDIANNESS_LITTLE, 32, 14, -2),
168168     m_data_config("data", ENDIANNESS_LITTLE, 16, 14, -1),
169169     m_chip_type(chiptype)
r10365r10366
174174}
175175
176176adsp2100_device_config::adsp2100_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
177   : adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2100", "adsp2100", tag, owner, clock, CHIP_TYPE_ADSP2100) { }
177   : adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2100", tag, owner, clock, CHIP_TYPE_ADSP2100) { }
178178
179adsp2101_device_config::adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
180   : adsp21xx_device_config(mconfig, type, name, shortname, tag, owner, clock, chiptype) { }
179adsp2101_device_config::adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 chiptype)
180   : adsp21xx_device_config(mconfig, type, name, tag, owner, clock, chiptype) { }
181181
182182adsp2181_device_config::adsp2181_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
183   : adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2181", "adsp2181", tag, owner, clock, CHIP_TYPE_ADSP2181),
183   : adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2181", tag, owner, clock, CHIP_TYPE_ADSP2181),
184184     m_io_config("I/O", ENDIANNESS_LITTLE, 16, 11, -1) { }
185185
186186
r10365r10366
196196
197197device_config *adsp2101_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
198198{
199   return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", "adsp2101", tag, owner, clock, CHIP_TYPE_ADSP2101));
199   return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", tag, owner, clock, CHIP_TYPE_ADSP2101));
200200}
201201
202202device_config *adsp2181_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
src/emu/cpu/dsp32/dsp32.c
r10365r10366
178178//-------------------------------------------------
179179
180180dsp32c_device_config::dsp32c_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
181   : cpu_device_config(mconfig, static_alloc_device_config, "DSP32C", "dsp32", tag, owner, clock),
181   : cpu_device_config(mconfig, static_alloc_device_config, "DSP32C", tag, owner, clock),
182182     m_program_config("program", ENDIANNESS_LITTLE, 32, 24)
183183{
184184   m_output_pins_changed = NULL;
src/emu/cpu/cosmac/cosmac.c
r10365r10366
190190//-------------------------------------------------
191191
192192cosmac_device_config::cosmac_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
193   : cpu_device_config(mconfig, static_alloc_device_config, "COSMAC", "cosmac", tag, owner, clock),
193   : cpu_device_config(mconfig, static_alloc_device_config, "COSMAC", tag, owner, clock),
194194     m_program_config("program", ENDIANNESS_LITTLE, 8, 16),
195195     m_io_config("io", ENDIANNESS_LITTLE, 8, 3)
196196{
src/emu/cpu/asap/asap.c
r10365r10366
171171//-------------------------------------------------
172172
173173asap_device_config::asap_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
174   : cpu_device_config(mconfig, static_alloc_device_config, "ASAP", "asap", tag, owner, clock),
174   : cpu_device_config(mconfig, static_alloc_device_config, "ASAP", tag, owner, clock),
175175     m_program_config("program", ENDIANNESS_LITTLE, 32, 32)
176176{
177177}
src/emu/cpu/hd61700/hd61700.c
r10365r10366
105105//-------------------------------------------------
106106
107107hd61700_cpu_device_config::hd61700_cpu_device_config(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner, UINT32 clock)
108   : cpu_device_config(mconfig, type, "HD61700", "hd61700", tag, owner, clock),
108   : cpu_device_config(mconfig, type, "HD61700", tag, owner, clock),
109109    m_program_config("program", ENDIANNESS_BIG, 16, 18, -1)
110110{
111111}
src/emu/cpu/dsp16/dsp16.c
r10365r10366
2323//**************************************************************************
2424
2525dsp16_device_config::dsp16_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
26   : cpu_device_config(mconfig, static_alloc_device_config, "DSP16", "dsp16", tag, owner, clock),
26   : cpu_device_config(mconfig, static_alloc_device_config, "DSP16", tag, owner, clock),
2727     m_program_config("program", ENDIANNESS_LITTLE, 16, 16, -1)
2828{ }
2929
src/emu/cpu/upd7725/upd7725.c
r10365r10366
2929//-------------------------------------------------
3030
3131necdsp_device_config::necdsp_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 abits, UINT32 dbits, const char *name)
32   : cpu_device_config(mconfig, static_alloc_device_config, name, "necdsp", tag, owner, clock),
32   : cpu_device_config(mconfig, static_alloc_device_config, name, tag, owner, clock),
3333     m_program_config("program", ENDIANNESS_BIG, 32, abits, -2),   // data bus width, address bus width, -2 means DWORD-addressable
3434     m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1)   // -1 for WORD-addressable
3535{
src/emu/devintrf.c
r10365r10366
285285//  device configuration
286286//-------------------------------------------------
287287
288device_config::device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 param)
288device_config::device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 param)
289289   : m_next(NULL),
290290     m_owner(const_cast<device_config *>(owner)),
291291     m_interface_list(NULL),
r10365r10366
294294     m_machine_config(mconfig),
295295     m_static_config(NULL),
296296     m_name(name),
297     m_shortname(shortname),
298297     m_tag(tag),
299298     m_config_complete(false)
300299{
src/emu/devintrf.h
r10365r10366
7676};                                                                  \
7777
7878// use this macro to define the actual implementation in the source file
79#define DEFINE_TRIVIAL_DERIVED_DEVICE(_ConfigClass, _ConfigBase, _DeviceClass, _DeviceBase, _Name, _ShortName, _Param) \
79#define DEFINE_TRIVIAL_DERIVED_DEVICE(_ConfigClass, _ConfigBase, _DeviceClass, _DeviceBase, _Name, _Param) \
8080_ConfigClass::_ConfigClass(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 param) \
81   : _ConfigBase(mconfig, static_alloc_device_config, _Name, _ShortName, tag, owner, clock, param)   \
81   : _ConfigBase(mconfig, static_alloc_device_config, _Name, tag, owner, clock, param)   \
8282{                                                                  \
8383}                                                                  \
8484                                                                  \
r10365r10366
257257
258258protected:
259259   // construction/destruction
260   device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 param = 0);
260   device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 param = 0);
261261   virtual ~device_config();
262262
263263public:
src/emu/machine.c
r10365r10366
942942//-------------------------------------------------
943943
944944driver_device_config_base::driver_device_config_base(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner)
945   : device_config(mconfig, type, "Driver Device", "driver", tag, owner, 0),
945   : device_config(mconfig, type, "Driver Device", tag, owner, 0),
946946     m_game(NULL),
947947     m_palette_init(NULL),
948948     m_video_update(NULL)
src/emu/sound/cdp1869.c
r10365r10366
7676//-------------------------------------------------
7777
7878cdp1869_device_config::cdp1869_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
79   : device_config(mconfig, static_alloc_device_config, "RCA CDP1869", "cdp1869", tag, owner, clock),
79   : device_config(mconfig, static_alloc_device_config, "RCA CDP1869", tag, owner, clock),
8080     device_config_sound_interface(mconfig, *this),
8181     device_config_memory_interface(mconfig, *this),
8282     m_space_config("pageram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(cdp1869))
src/emu/sound/mas3507d.c
r10365r10366
99
1010
1111mas3507d_device_config::mas3507d_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
12   : device_config(mconfig, static_alloc_device_config, "MAS3507D", "mas3507d", tag, owner, clock),
12   : device_config(mconfig, static_alloc_device_config, "MAS3507D", tag, owner, clock),
1313     device_config_sound_interface(mconfig, *this)
1414{
1515}
src/emu/sound/okim9810.c
r10365r10366
3333//-------------------------------------------------
3434
3535okim9810_device_config::okim9810_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
36   : device_config(mconfig, static_alloc_device_config, "OKI9810", "oki9810", tag, owner, clock),
36   : device_config(mconfig, static_alloc_device_config, "OKI9810", tag, owner, clock),
3737     device_config_sound_interface(mconfig, *this),
3838     device_config_memory_interface(mconfig, *this),
3939     m_space_config("samples", ENDIANNESS_BIG, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(okim9810))
src/emu/sound/discrete.c
r10365r10366
828828//-------------------------------------------------
829829//  discrete_device_config - constructor
830830//-------------------------------------------------
831discrete_device_config::discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock)
832   : device_config(mconfig, type, name, shortname, tag, owner, clock), m_intf(NULL)
831discrete_device_config::discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock)
832   : device_config(mconfig, type, name, tag, owner, clock), m_intf(NULL)
833833{
834834}
835835
836836discrete_sound_device_config::discrete_sound_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
837   : discrete_device_config(mconfig, static_alloc_device_config, "DISCRETE", "discrete", tag, owner, clock),
837   : discrete_device_config(mconfig, static_alloc_device_config, "DISCRETE", tag, owner, clock),
838838     device_config_sound_interface(mconfig, *this)
839839{
840840}
r10365r10366
846846
847847device_config *discrete_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
848848{
849   return global_alloc(discrete_device_config(mconfig, static_alloc_device_config, "PUREDISC", "puredisc", tag, owner, clock));
849   return global_alloc(discrete_device_config(mconfig, static_alloc_device_config, "PUREDISC", tag, owner, clock));
850850}
851851
852852device_config *discrete_sound_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
src/emu/sound/discrete.h
r10365r10366
43034303
43044304protected:
43054305   // construction/destruction
4306   discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock);
4306   discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock);
43074307
43084308public:
43094309   // allocators
src/emu/sound/ics2115.c
r10365r10366
2121}
2222
2323ics2115_device_config::ics2115_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
24   : device_config(mconfig, static_alloc_device_config, "ICS2115", "ics2115", tag, owner, clock),
24   : device_config(mconfig, static_alloc_device_config, "ICS2115", tag, owner, clock),
2525     device_config_sound_interface(mconfig, *this)
2626{
2727}
src/emu/sound/bsmt2000.c
r10365r10366
107107//-------------------------------------------------
108108
109109bsmt2000_device_config::bsmt2000_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
110   : device_config(mconfig, static_alloc_device_config, "BSMT2000", "bsmt2000", tag, owner, clock),
110   : device_config(mconfig, static_alloc_device_config, "BSMT2000", tag, owner, clock),
111111     device_config_sound_interface(mconfig, *this),
112112     device_config_memory_interface(mconfig, *this),
113113     m_space_config("samples", ENDIANNESS_LITTLE, 8, 32, 0, NULL, *ADDRESS_MAP_NAME(bsmt2000)),
114     m_ready_callback(NULL)
114     m_ready_callback(NULL)     
115115{
116   m_shortname = "bsmt2000";
116117}
117118
118119
src/emu/sound/okim6295.c
r10365r10366
9090//-------------------------------------------------
9191
9292okim6295_device_config::okim6295_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
93   : device_config(mconfig, static_alloc_device_config, "OKI6295", "oki6295", tag, owner, clock),
93   : device_config(mconfig, static_alloc_device_config, "OKI6295", tag, owner, clock),
9494     device_config_sound_interface(mconfig, *this),
9595     device_config_memory_interface(mconfig, *this),
9696     m_space_config("samples", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(okim6295))
src/emu/sound/asc.c
r10365r10366
7070//-------------------------------------------------
7171
7272asc_device_config::asc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
73   : device_config(mconfig, static_alloc_device_config, "ASC", "asc", tag, owner, clock),
73   : device_config(mconfig, static_alloc_device_config, "ASC", tag, owner, clock),
7474     device_config_sound_interface(mconfig, *this)
7575{
7676}
src/emu/devlegcy.c
r10365r10366
5050//-------------------------------------------------
5151
5252legacy_device_config_base::legacy_device_config_base(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner, UINT32 clock, device_get_config_func get_config)
53   : device_config(mconfig, type, "Legacy Device", "legacy", tag, owner, clock),
53   : device_config(mconfig, type, "Legacy Device", tag, owner, clock),
5454     m_get_config_func(get_config),
5555     m_inline_config(NULL)
5656{
src/emu/speaker.c
r10365r10366
7373//-------------------------------------------------
7474 
7575speaker_device_config::speaker_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
76   : device_config(mconfig, static_alloc_device_config, "Speaker", "speaker", tag, owner, clock),
76   : device_config(mconfig, static_alloc_device_config, "Speaker", tag, owner, clock),
7777     device_config_sound_interface(mconfig, *this),
7878     m_x(0.0),
7979     m_y(0.0),
src/emu/devcpu.c
r10365r10366
5050//  cpu_device_config - constructor
5151//-------------------------------------------------
5252
53cpu_device_config::cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock)
54   : device_config(mconfig, type, name, shortname, tag, owner, clock),
53cpu_device_config::cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock)
54   : device_config(mconfig, type, name, tag, owner, clock),
5555     device_config_execute_interface(mconfig, *this),
5656     device_config_memory_interface(mconfig, *this),
5757     device_config_state_interface(mconfig, *this),
r10365r10366
6565//-------------------------------------------------
6666
6767legacy_cpu_device_config::legacy_cpu_device_config(const machine_config &mconfig, device_type type, const char *tag, const device_config *owner, UINT32 clock, cpu_get_info_func get_info)
68   : cpu_device_config(mconfig, type, "CPU", "cpu", tag, owner, clock),
68   : cpu_device_config(mconfig, type, "CPU", tag, owner, clock),
6969     m_get_info(get_info)
7070{
7171   // build up our address spaces; legacy devices don't have logical spaces
src/emu/devcpu.h
r10365r10366
404404
405405protected:
406406   // construction/destruction
407   cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock);
407   cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock);
408408};
409409
410410
src/emu/machine/mc68901.c
r10365r10366
273273//  DEVICE CONFIGURATION
274274//**************************************************************************
275275 
276GENERIC_DEVICE_CONFIG_SETUP(mc68901, "Motorola MC68901", "mc68901")
276GENERIC_DEVICE_CONFIG_SETUP(mc68901, "Motorola MC68901")
277277 
278278 
279279//-------------------------------------------------
src/emu/machine/timekpr.c
r10365r10366
5050
5151#define TIMEKPR_DEVCFG_DERIVED_CTOR(devtype, name, shortname) \
5252   devtype##_device_config::devtype##_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
53    : timekeeper_device_config(mconfig, name, shortname, tag, owner, clock) \
53    : timekeeper_device_config(mconfig, name, tag, owner, clock) \
5454   { }
5555
5656#define TIMEKPR_DEVCFG_DERIVED_STATIC_ALLOC(devtype) \
r10365r10366
7676//  timekeeper_device_config - constructor
7777//-------------------------------------------------
7878
79timekeeper_device_config::timekeeper_device_config(const machine_config &mconfig, const char *type, const char *shortname, const char *tag, const device_config *owner, UINT32 clock)
80    : device_config(mconfig, static_alloc_device_config, type, shortname, tag, owner, clock),
79timekeeper_device_config::timekeeper_device_config(const machine_config &mconfig, const char *type, const char *tag, const device_config *owner, UINT32 clock)
80    : device_config(mconfig, static_alloc_device_config, type, tag, owner, clock),
8181     device_config_nvram_interface(mconfig, *this)
8282{
8383
r10365r10366
9191
9292device_config *timekeeper_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
9393{
94    return global_alloc(timekeeper_device_config(mconfig, "TIMEKEEPER", "timekpr", tag, owner, clock));
94    return global_alloc(timekeeper_device_config(mconfig, "TIMEKEEPER", tag, owner, clock));
9595}
9696
9797
src/emu/machine/devhelpr.h
r10365r10366
3838   { return downcast<devname##_device *>(device)->funcname(state); } \
3939   void devname##_device::funcname(UINT8 state)
4040
41#define GENERIC_DEVICE_CONFIG_SETUP(devname, devtag, shortname) \
41#define GENERIC_DEVICE_CONFIG_SETUP(devname, devtag) \
4242   devname##_device_config::devname##_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
43       : device_config(mconfig, static_alloc_device_config, devtag, shortname, tag, owner, clock) \
43       : device_config(mconfig, static_alloc_device_config, devtag, tag, owner, clock) \
4444   { } \
4545   \
4646   device_config *devname##_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
src/emu/machine/k033906.c
r10365r10366
1414//  DEVICE CONFIGURATION
1515//**************************************************************************
1616
17GENERIC_DEVICE_CONFIG_SETUP(k033906, "Konami 033906", "k033906")
17GENERIC_DEVICE_CONFIG_SETUP(k033906, "Konami 033906")
1818
1919//-------------------------------------------------
2020//  device_config_complete - perform any
src/emu/machine/6526cia.c
r10365r10366
5050//-------------------------------------------------
5151
5252mos6526_device_config::mos6526_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
53    : device_config(mconfig, static_alloc_device_config, "MOS6526", "6526cia", tag, owner, clock)
53    : device_config(mconfig, static_alloc_device_config, "MOS6526", tag, owner, clock)
5454{
5555}
5656
src/emu/machine/74123.c
r10365r10366
3030//-------------------------------------------------
3131
3232ttl74123_device_config::ttl74123_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
33   : device_config(mconfig, static_alloc_device_config, "TTL74123", "74123", tag, owner, clock)
33   : device_config(mconfig, static_alloc_device_config, "TTL74123", tag, owner, clock)
3434{
3535}
3636
src/emu/machine/timekpr.h
r10365r10366
6464
6565protected:
6666   // construction/destruction
67   timekeeper_device_config(const machine_config &mconfig, const char *type, const char *shortname, const char *tag, const device_config *owner, UINT32 clock);
67   timekeeper_device_config(const machine_config &mconfig, const char *type, const char *tag, const device_config *owner, UINT32 clock);
6868
6969public:
7070   // allocators
src/emu/machine/6821pia.c
r10365r10366
4444//-------------------------------------------------
4545
4646pia6821_device_config::pia6821_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
47    : device_config(mconfig, static_alloc_device_config, "6822 PIA", "6821pia", tag, owner, clock)
47    : device_config(mconfig, static_alloc_device_config, "6822 PIA", tag, owner, clock)
4848{
4949}
5050
src/emu/machine/6532riot.c
r10365r10366
4848//-------------------------------------------------
4949
5050riot6532_device_config::riot6532_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
51   : device_config(mconfig, static_alloc_device_config, "6532 (RIOT)", "6532riot", tag, owner, clock)
51   : device_config(mconfig, static_alloc_device_config, "6532 (RIOT)", tag, owner, clock)
5252{
5353}
5454
src/emu/machine/6522via.c
r10365r10366
109109//  DEVICE CONFIGURATION
110110//**************************************************************************
111111
112GENERIC_DEVICE_CONFIG_SETUP(via6522, "6522 VIA", "6522via")
112GENERIC_DEVICE_CONFIG_SETUP(via6522, "6522 VIA")
113113
114114//-------------------------------------------------
115115//  device_config_complete - perform any
src/emu/machine/7474.c
r10365r10366
5858//-------------------------------------------------
5959
6060ttl7474_device_config::ttl7474_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
61    : device_config(mconfig, static_alloc_device_config, "7474", "7474", tag, owner, clock)
61    : device_config(mconfig, static_alloc_device_config, "7474", tag, owner, clock)
6262{
6363}
6464
src/emu/machine/6840ptm.c
r10365r10366
6161    IMPLEMENTATION
6262***************************************************************************/
6363
64GENERIC_DEVICE_CONFIG_SETUP(ptm6840, "6840 PTM", "6840ptm")
64GENERIC_DEVICE_CONFIG_SETUP(ptm6840, "6840 PTM")
6565
6666const device_type PTM6840 = ptm6840_device_config::static_alloc_device_config;
6767
src/emu/machine/er2055.c
r10365r10366
6262//-------------------------------------------------
6363
6464er2055_device_config::er2055_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
65   : device_config(mconfig, static_alloc_device_config, "ER2055", "er2055", tag, owner, clock),
65   : device_config(mconfig, static_alloc_device_config, "ER2055", tag, owner, clock),
6666     device_config_memory_interface(mconfig, *this),
6767     device_config_nvram_interface(mconfig, *this),
6868     m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map))
src/emu/machine/z80dma.c
r10365r10366
151151//-------------------------------------------------
152152
153153z80dma_device_config::z80dma_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
154   : device_config(mconfig, static_alloc_device_config, "Z8410", "z80dma", tag, owner, clock),
154   : device_config(mconfig, static_alloc_device_config, "Z8410", tag, owner, clock),
155155     device_config_z80daisy_interface(mconfig, *this)
156156{
157157}
src/emu/machine/ins8154.c
r10365r10366
3838//  DEVICE CONFIGURATION
3939//**************************************************************************
4040
41GENERIC_DEVICE_CONFIG_SETUP(ins8154, "INS8154", "ins8154")
41GENERIC_DEVICE_CONFIG_SETUP(ins8154, "INS8154")
4242
4343//-------------------------------------------------
4444//  device_config_complete - perform any
src/emu/machine/8255ppi.c
r10365r10366
9898//  DEVICE CONFIGURATION
9999//**************************************************************************
100100
101GENERIC_DEVICE_CONFIG_SETUP(ppi8255, "Intel PPI8255", "8255ppi")
101GENERIC_DEVICE_CONFIG_SETUP(ppi8255, "Intel PPI8255")
102102
103103//-------------------------------------------------
104104//  device_config_complete - perform any
src/emu/machine/ds1302.c
r10365r10366
4848//-------------------------------------------------
4949
5050ds1302_device_config::ds1302_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
51    : device_config(mconfig, static_alloc_device_config, "Dallas DS1302 RTC", "ds1302", tag, owner, clock)
51    : device_config(mconfig, static_alloc_device_config, "Dallas DS1302 RTC", tag, owner, clock)
5252{
5353}
5454
src/emu/machine/nvram.c
r10365r10366
5959//-------------------------------------------------
6060
6161nvram_device_config::nvram_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
62   : device_config(mconfig, static_alloc_device_config, "NVRAM", "nvram", tag, owner, clock),
62   : device_config(mconfig, static_alloc_device_config, "NVRAM", tag, owner, clock),
6363     device_config_nvram_interface(mconfig, *this),
6464     m_default_value(DEFAULT_ALL_1)
6565{
src/emu/machine/8257dma.c
r10365r10366
5151//  DEVICE CONFIGURATION
5252//**************************************************************************
5353
54GENERIC_DEVICE_CONFIG_SETUP(i8257, "DMA8257", "8257dma")
54GENERIC_DEVICE_CONFIG_SETUP(i8257, "DMA8257")
5555
5656//-------------------------------------------------
5757//  device_config_complete - perform any
src/emu/machine/z80pio.c
r10365r10366
6161//-------------------------------------------------
6262
6363z80pio_device_config::z80pio_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
64   : device_config(mconfig, static_alloc_device_config, "Z8420", "z80pio", tag, owner, clock),
64   : device_config(mconfig, static_alloc_device_config, "Z8420", tag, owner, clock),
6565     device_config_z80daisy_interface(mconfig, *this)
6666{
6767}
src/emu/machine/i2cmem.c
r10365r10366
7272//-------------------------------------------------
7373
7474i2cmem_device_config::i2cmem_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock )
75   : device_config(mconfig, static_alloc_device_config, "I2CMEM", "i2cmem", tag, owner, clock),
75   : device_config(mconfig, static_alloc_device_config, "I2CMEM", tag, owner, clock),
7676     device_config_memory_interface(mconfig, *this),
7777     device_config_nvram_interface(mconfig, *this)
7878{
src/emu/machine/z80sti.c
r10365r10366
152152//-------------------------------------------------
153153
154154z80sti_device_config::z80sti_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
155   : device_config(mconfig, static_alloc_device_config, "Mostek MK3801", "z80sti", tag, owner, clock),
155   : device_config(mconfig, static_alloc_device_config, "Mostek MK3801", tag, owner, clock),
156156     device_config_z80daisy_interface(mconfig, *this)
157157{
158158}
src/emu/machine/f3853.c
r10365r10366
4646//-------------------------------------------------
4747
4848f3853_device_config::f3853_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
49    : device_config(mconfig, static_alloc_device_config, "F3853", "f3853", tag, owner, clock)
49    : device_config(mconfig, static_alloc_device_config, "F3853", tag, owner, clock)
5050{
5151}
5252
src/emu/machine/i8243.c
r10365r10366
1616//  DEVICE CONFIGURATION
1717//**************************************************************************
1818
19GENERIC_DEVICE_CONFIG_SETUP(i8243, "I8243", "i8243")
19GENERIC_DEVICE_CONFIG_SETUP(i8243, "I8243")
2020
2121//-------------------------------------------------
2222//  static_set_read_handler - configuration helper
src/emu/machine/k056230.c
r10365r10366
1313//  DEVICE CONFIGURATION
1414//**************************************************************************
1515
16GENERIC_DEVICE_CONFIG_SETUP(k056230, "Konami 056230", "k056230")
16GENERIC_DEVICE_CONFIG_SETUP(k056230, "Konami 056230")
1717
1818//-------------------------------------------------
1919//  device_config_complete - perform any
src/emu/machine/6850acia.c
r10365r10366
5454
5555const device_type ACIA6850 = acia6850_device_config::static_alloc_device_config;
5656
57GENERIC_DEVICE_CONFIG_SETUP(acia6850, "6850 ACIA", "6850acia")
57GENERIC_DEVICE_CONFIG_SETUP(acia6850, "6850 ACIA")
5858
5959//-------------------------------------------------
6060//  device_config_complete - perform any
src/emu/machine/mb3773.c
r10365r10366
3131//-------------------------------------------------
3232
3333mb3773_device_config::mb3773_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock )
34   : device_config(mconfig, static_alloc_device_config, "MB3773", "mb3773", tag, owner, clock)
34   : device_config(mconfig, static_alloc_device_config, "MB3773", tag, owner, clock)
3535{
3636}
3737
src/emu/machine/z80dart.c
r10365r10366
198198//-------------------------------------------------
199199
200200z80dart_device_config::z80dart_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
201   : device_config(mconfig, static_alloc_device_config, "Zilog Z80 DART", "z80dart", tag, owner, clock),
201   : device_config(mconfig, static_alloc_device_config, "Zilog Z80 DART", tag, owner, clock),
202202     device_config_z80daisy_interface(mconfig, *this)
203203{
204204}
src/emu/machine/intelfsh.c
r10365r10366
4545//**************************************************************************
4646
4747// 8-bit variants
48DEFINE_TRIVIAL_DERIVED_DEVICE(intel_28f016s5_device_config, intelfsh8_device_config, intel_28f016s5_device, intelfsh8_device, "Sharp LH28F400 Flash", "lh28f400", intelfsh_device_config::FLASH_SHARP_LH28F400)
49DEFINE_TRIVIAL_DERIVED_DEVICE(fujitsu_29f016a_device_config, intelfsh8_device_config, fujitsu_29f016a_device, intelfsh8_device, "Fujitsu 29F016A Flash", "29f016a", intelfsh_device_config::FLASH_FUJITSU_29F016A)
50DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f016s_device_config, intelfsh8_device_config, sharp_lh28f016s_device, intelfsh8_device, "Sharp LH28F016S Flash", "lh28f016s", intelfsh_device_config::FLASH_SHARP_LH28F016S)
51DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f008sa_device_config, intelfsh8_device_config, intel_e28f008sa_device, intelfsh8_device, "Intel E28F008SA Flash", "e28f008sa", intelfsh_device_config::FLASH_INTEL_E28F008SA)
52DEFINE_TRIVIAL_DERIVED_DEVICE(macronix_29l001mc_device_config, intelfsh8_device_config, macronix_29l001mc_device, intelfsh8_device, "Macronix 29L001MC Flash", "29l001mc", intelfsh_device_config::FLASH_MACRONIX_29L001MC)
53DEFINE_TRIVIAL_DERIVED_DEVICE(panasonic_mn63f805mnp_device_config, intelfsh8_device_config, panasonic_mn63f805mnp_device, intelfsh8_device, "Panasonic MN63F805MNP Flash", "mn63f805mnp", intelfsh_device_config::FLASH_PANASONIC_MN63F805MNP)
54DEFINE_TRIVIAL_DERIVED_DEVICE(sanyo_le26fv10n1ts_device_config, intelfsh8_device_config, sanyo_le26fv10n1ts_device, intelfsh8_device, "Sanyo LE26FV10N1TS Flash", "le26fv10n1ts", intelfsh_device_config::FLASH_SANYO_LE26FV10N1TS)
48DEFINE_TRIVIAL_DERIVED_DEVICE(intel_28f016s5_device_config, intelfsh8_device_config, intel_28f016s5_device, intelfsh8_device, "Sharp LH28F400 Flash", intelfsh_device_config::FLASH_SHARP_LH28F400)
49DEFINE_TRIVIAL_DERIVED_DEVICE(fujitsu_29f016a_device_config, intelfsh8_device_config, fujitsu_29f016a_device, intelfsh8_device, "Fujitsu 29F016A Flash", intelfsh_device_config::FLASH_FUJITSU_29F016A)
50DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f016s_device_config, intelfsh8_device_config, sharp_lh28f016s_device, intelfsh8_device, "Sharp LH28F016S Flash", intelfsh_device_config::FLASH_SHARP_LH28F016S)
51DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f008sa_device_config, intelfsh8_device_config, intel_e28f008sa_device, intelfsh8_device, "Intel E28F008SA Flash", intelfsh_device_config::FLASH_INTEL_E28F008SA)
52DEFINE_TRIVIAL_DERIVED_DEVICE(macronix_29l001mc_device_config, intelfsh8_device_config, macronix_29l001mc_device, intelfsh8_device, "Macronix 29L001MC Flash", intelfsh_device_config::FLASH_MACRONIX_29L001MC)
53DEFINE_TRIVIAL_DERIVED_DEVICE(panasonic_mn63f805mnp_device_config, intelfsh8_device_config, panasonic_mn63f805mnp_device, intelfsh8_device, "Panasonic MN63F805MNP Flash", intelfsh_device_config::FLASH_PANASONIC_MN63F805MNP)
54DEFINE_TRIVIAL_DERIVED_DEVICE(sanyo_le26fv10n1ts_device_config, intelfsh8_device_config, sanyo_le26fv10n1ts_device, intelfsh8_device, "Sanyo LE26FV10N1TS Flash", intelfsh_device_config::FLASH_SANYO_LE26FV10N1TS)
5555
5656const device_type INTEL_28F016S5 = intel_28f016s5_device_config::static_alloc_device_config;
5757const device_type SHARP_LH28F016S = sharp_lh28f016s_device_config::static_alloc_device_config;
r10365r10366
6363
6464
6565// 16-bit variants
66DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f400_device_config, intelfsh16_device_config, sharp_lh28f400_device, intelfsh16_device, "Sharp LH28F400 Flash", "lh28f400", intelfsh_device_config::FLASH_SHARP_LH28F400)
67DEFINE_TRIVIAL_DERIVED_DEVICE(intel_te28f160_device_config, intelfsh16_device_config, intel_te28f160_device, intelfsh16_device, "Intel TE28F160 Flash", "te28f160", intelfsh_device_config::FLASH_INTEL_TE28F160)
68DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f400_device_config, intelfsh16_device_config, intel_e28f400_device, intelfsh16_device, "Intel E28F400 Flash", "e28f400", intelfsh_device_config::FLASH_INTEL_E28F400)
69DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_unk128mbit_device_config, intelfsh16_device_config, sharp_unk128mbit_device, intelfsh16_device, "Sharp Unknown 128Mb Flash", "unk128mb", intelfsh_device_config::FLASH_SHARP_UNK128MBIT)
66DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f400_device_config, intelfsh16_device_config, sharp_lh28f400_device, intelfsh16_device, "Sharp LH28F400 Flash", intelfsh_device_config::FLASH_SHARP_LH28F400)
67DEFINE_TRIVIAL_DERIVED_DEVICE(intel_te28f160_device_config, intelfsh16_device_config, intel_te28f160_device, intelfsh16_device, "Intel TE28F160 Flash", intelfsh_device_config::FLASH_INTEL_TE28F160)
68DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f400_device_config, intelfsh16_device_config, intel_e28f400_device, intelfsh16_device, "Intel E28F400 Flash", intelfsh_device_config::FLASH_INTEL_E28F400)
69DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_unk128mbit_device_config, intelfsh16_device_config, sharp_unk128mbit_device, intelfsh16_device, "Sharp Unknown 128Mb Flash", intelfsh_device_config::FLASH_SHARP_UNK128MBIT)
7070
7171const device_type SHARP_LH28F400 = sharp_lh28f400_device_config::static_alloc_device_config;
7272const device_type INTEL_TE28F160 = intel_te28f160_device_config::static_alloc_device_config;
r10365r10366
118118//  intelfsh_device_config - constructor
119119//-------------------------------------------------
120120
121intelfsh_device_config::intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
122   : device_config(mconfig, type, name, shortname, tag, owner, clock),
121intelfsh_device_config::intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
122   : device_config(mconfig, type, name, tag, owner, clock),
123123     device_config_memory_interface(mconfig, *this),
124124     device_config_nvram_interface(mconfig, *this),
125125     m_type(variant),
r10365r10366
210210   m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map);
211211}
212212
213intelfsh8_device_config::intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
214   : intelfsh_device_config(mconfig, type, name, shortname, tag, owner, clock, variant)
213intelfsh8_device_config::intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
214   : intelfsh_device_config(mconfig, type, name, tag, owner, clock, variant)
215215{
216216}
217217
218intelfsh16_device_config::intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
219   : intelfsh_device_config(mconfig, type, name, shortname, tag, owner, clock, variant)
218intelfsh16_device_config::intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant)
219   : intelfsh_device_config(mconfig, type, name, tag, owner, clock, variant)
220220{
221221}
222222
src/emu/machine/x2212.c
r10365r10366
3535//-------------------------------------------------
3636
3737x2212_device_config::x2212_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
38   : device_config(mconfig, static_alloc_device_config, "X2212", "x2212", tag, owner, clock),
38   : device_config(mconfig, static_alloc_device_config, "X2212", tag, owner, clock),
3939     device_config_memory_interface(mconfig, *this),
4040     device_config_nvram_interface(mconfig, *this),
4141     m_sram_space_config("SRAM", ENDIANNESS_BIG, 8, 8, 0, *ADDRESS_MAP_NAME(x2212_sram_map)),
src/emu/machine/intelfsh.h
r10365r10366
8181   };
8282
8383   // construction/destruction
84   intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
84   intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
8585
8686   // device_config_memory_interface overrides
8787   virtual const address_space_config *memory_space_config(int spacenum = 0) const;
r10365r10366
143143
144144protected:
145145   // construction/destruction
146   intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *sharename, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
146   intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
147147};
148148
149149
r10365r10366
182182
183183protected:
184184   // construction/destruction
185   intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *sharename, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
185   intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char *tag, const device_config *owner, UINT32 clock, UINT32 variant);
186186};
187187
188188
src/emu/machine/at28c16.c
r10365r10366
3737//-------------------------------------------------
3838
3939at28c16_device_config::at28c16_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock )
40   : device_config(mconfig, static_alloc_device_config, "AT28C16", "at28c16", tag, owner, clock),
40   : device_config(mconfig, static_alloc_device_config, "AT28C16", tag, owner, clock),
4141     device_config_memory_interface(mconfig, *this),
4242     device_config_nvram_interface(mconfig, *this)
4343{
src/emu/machine/8237dma.c
r10365r10366
4848//  DEVICE CONFIGURATION
4949//**************************************************************************
5050
51GENERIC_DEVICE_CONFIG_SETUP(i8237, "Intel 8237", "8237dma")
51GENERIC_DEVICE_CONFIG_SETUP(i8237, "Intel 8237")
5252
5353//-------------------------------------------------
5454//  device_config_complete - perform any
src/emu/machine/eeprom.c
r10365r10366
7777//-------------------------------------------------
7878
7979eeprom_device_config::eeprom_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
80   : device_config(mconfig, static_alloc_device_config, "EEPROM", "eeprom", tag, owner, clock),
80   : device_config(mconfig, static_alloc_device_config, "EEPROM", tag, owner, clock),
8181     device_config_memory_interface(mconfig, *this),
8282     device_config_nvram_interface(mconfig, *this),
8383     m_default_data_size(0),
src/emu/machine/z80sio.c
r10365r10366
303303//-------------------------------------------------
304304
305305z80sio_device_config::z80sio_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
306   : device_config(mconfig, static_alloc_device_config, "Zilog Z80 SIO", "z80sio", tag, owner, clock),
306   : device_config(mconfig, static_alloc_device_config, "Zilog Z80 SIO", tag, owner, clock),
307307     device_config_z80daisy_interface(mconfig, *this)
308308{
309309}
src/emu/machine/z80ctc.c
r10365r10366
8585//-------------------------------------------------
8686
8787z80ctc_device_config::z80ctc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
88   : device_config(mconfig, static_alloc_device_config, "Zilog Z80 CTC", "z80ctc", tag, owner, clock),
88   : device_config(mconfig, static_alloc_device_config, "Zilog Z80 CTC", tag, owner, clock),
8989     device_config_z80daisy_interface(mconfig, *this)
9090{
9191}
src/emu/machine/ds2404.c
r10365r10366
2424//-------------------------------------------------
2525
2626ds2404_device_config::ds2404_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
27    : device_config(mconfig, static_alloc_device_config, "DS2404", "ds2404", tag, owner, clock),
27    : device_config(mconfig, static_alloc_device_config, "DS2404", tag, owner, clock),
2828      device_config_nvram_interface(mconfig, *this)
2929{
3030}
src/emu/machine/mc146818.c
r10365r10366
117117//-------------------------------------------------
118118
119119mc146818_device_config::mc146818_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
120   : device_config(mconfig, static_alloc_device_config, "NVRAM", "mc146818", tag, owner, clock),
120   : device_config(mconfig, static_alloc_device_config, "NVRAM", tag, owner, clock),
121121     device_config_nvram_interface(mconfig, *this),
122122     m_type(MC146818_STANDARD)
123123{
src/emu/screen.c
r10365r10366
7272//-------------------------------------------------
7373
7474screen_device_config::screen_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
75   : device_config(mconfig, static_alloc_device_config, "Video Screen", "video", tag, owner, clock),
75   : device_config(mconfig, static_alloc_device_config, "Video Screen", tag, owner, clock),
7676     m_type(SCREEN_TYPE_RASTER),
7777     m_width(0),
7878     m_height(0),
src/emu/timer.c
r10365r10366
6969//-------------------------------------------------
7070
7171timer_device_config::timer_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
72   : device_config(mconfig, static_alloc_device_config, "Timer", "timer", tag, owner, clock),
72   : device_config(mconfig, static_alloc_device_config, "Timer", tag, owner, clock),
7373     m_type(TIMER_TYPE_GENERIC),
7474     m_callback(NULL),
7575     m_ptr(NULL),
src/mess/machine/ncr5380.c
r10365r10366
7070//**************************************************************************
7171
7272ncr5380_device_config::ncr5380_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
73    : device_config(mconfig, static_alloc_device_config, "5380 SCSI", "5380scsi", tag, owner, clock)
73    : device_config(mconfig, static_alloc_device_config, "5380 SCSI", tag, owner, clock)
7474{
7575}
7676
src/mess/machine/x1.c
r10365r10366
1010//-------------------------------------------------
1111
1212x1_keyboard_device_config::x1_keyboard_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
13   : device_config(mconfig, static_alloc_device_config, "X1 Keyboard", "x1keyb", tag, owner, clock),
13   : device_config(mconfig, static_alloc_device_config, "X1 Keyboard", tag, owner, clock),
1414     device_config_z80daisy_interface(mconfig, *this)
1515{
1616}
src/mess/machine/cdp1871.c
r10365r10366
9595//  DEVICE CONFIGURATION
9696//**************************************************************************
9797
98GENERIC_DEVICE_CONFIG_SETUP(cdp1871, "RCA CDP1871", "cdp1871")
98GENERIC_DEVICE_CONFIG_SETUP(cdp1871, "RCA CDP1871")
9999
100100
101101//-------------------------------------------------
src/mess/machine/mb89352.c
r10365r10366
109109
110110const device_type MB89352A = mb89352_device_config::static_alloc_device_config;
111111
112GENERIC_DEVICE_CONFIG_SETUP(mb89352, "MB89352A", "mb89352")
112GENERIC_DEVICE_CONFIG_SETUP(mb89352, "MB89352A")
113113
114114void mb89352_device_config::device_config_complete()
115115{
src/mess/machine/fm_scsi.c
r10365r10366
3333
3434const device_type FMSCSI = fmscsi_device_config::static_alloc_device_config;
3535
36GENERIC_DEVICE_CONFIG_SETUP(fmscsi, "FM-SCSI", "fmscsi")
36GENERIC_DEVICE_CONFIG_SETUP(fmscsi, "FM-SCSI")
3737
3838void fmscsi_device_config::device_config_complete()
3939{
src/mess/machine/einstein.c
r10365r10366
1414//-------------------------------------------------
1515
1616einstein_keyboard_daisy_device_config::einstein_keyboard_daisy_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
17   : device_config(mconfig, static_alloc_device_config, "Einstein keyboard daisy chain", "einstkey", tag, owner, clock),
17   : device_config(mconfig, static_alloc_device_config, "Einstein keyboard daisy chain", tag, owner, clock),
1818     device_config_z80daisy_interface(mconfig, *this)
1919{
2020}
r10365r10366
113113//-------------------------------------------------
114114
115115einstein_adc_daisy_device_config::einstein_adc_daisy_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
116   : device_config(mconfig, static_alloc_device_config, "Einstein ADC daisy chain", "einstadc", tag, owner, clock),
116   : device_config(mconfig, static_alloc_device_config, "Einstein ADC daisy chain", tag, owner, clock),
117117     device_config_z80daisy_interface(mconfig, *this)
118118{
119119}
r10365r10366
212212//-------------------------------------------------
213213
214214einstein_fire_daisy_device_config::einstein_fire_daisy_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
215   : device_config(mconfig, static_alloc_device_config, "Einstein fire button daisy chain", "einstfire", tag, owner, clock),
215   : device_config(mconfig, static_alloc_device_config, "Einstein fire button daisy chain", tag, owner, clock),
216216     device_config_z80daisy_interface(mconfig, *this)
217217{
218218}
src/mess/machine/osborne1.c
r10365r10366
491491//-------------------------------------------------
492492
493493osborne1_daisy_device_config::osborne1_daisy_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
494   : device_config(mconfig, static_alloc_device_config, "Osborne 1 daisy", "osb1daisy", tag, owner, clock),
494   : device_config(mconfig, static_alloc_device_config, "Osborne 1 daisy", tag, owner, clock),
495495     device_config_z80daisy_interface(mconfig, *this)
496496{
497497}
src/mess/machine/s1410.c
r10365r10366
7676//  DEVICE CONFIGURATION
7777//**************************************************************************
7878
79GENERIC_DEVICE_CONFIG_SETUP(s1410, "Xebec S1410", "s1410")
79GENERIC_DEVICE_CONFIG_SETUP(s1410, "Xebec S1410")
8080
8181
8282//-------------------------------------------------
r10365r10366
8787
8888void s1410_device_config::device_config_complete()
8989{
90   m_shortname = "s1410";
9091}
9192
9293
src/mess/machine/i8155.c
r10365r10366
114114//-------------------------------------------------
115115
116116i8155_device_config::i8155_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
117   : device_config(mconfig, static_alloc_device_config, "Intel 8155", "i8155", tag, owner, clock),
117   : device_config(mconfig, static_alloc_device_config, "Intel 8155", tag, owner, clock),
118118     device_config_memory_interface(mconfig, *this),
119119     m_space_config("ram", ENDIANNESS_LITTLE, 8, 8, 0, NULL, *ADDRESS_MAP_NAME(i8155))
120120{
src/mess/machine/abc99.c
r10365r10366
6363//  DEVICE CONFIGURATION
6464//**************************************************************************
6565
66GENERIC_DEVICE_CONFIG_SETUP(abc99, "Luxor ABC 99", "abc99")
66GENERIC_DEVICE_CONFIG_SETUP(abc99, "Luxor ABC 99")
6767
6868
6969//-------------------------------------------------
r10365r10366
7474
7575void abc99_device_config::device_config_complete()
7676{
77   m_shortname = "abc99";
7778}
7879
7980
src/mess/machine/i8212.c
r10365r10366
3434//  DEVICE CONFIGURATION
3535//**************************************************************************
3636
37GENERIC_DEVICE_CONFIG_SETUP(i8212, "Intel 8212", "i8212")
37GENERIC_DEVICE_CONFIG_SETUP(i8212, "Intel 8212")
3838
3939
4040//-------------------------------------------------
src/mess/machine/zx8302.c
r10365r10366
114114//  DEVICE CONFIGURATION
115115//**************************************************************************
116116
117GENERIC_DEVICE_CONFIG_SETUP(zx8302, "Sinclair ZX8302", "zx8302")
117GENERIC_DEVICE_CONFIG_SETUP(zx8302, "Sinclair ZX8302")
118118
119119
120120//-------------------------------------------------
src/mess/machine/i8355.c
r10365r10366
5959//-------------------------------------------------
6060
6161i8355_device_config::i8355_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
62   : device_config(mconfig, static_alloc_device_config, "Intel 8355", "i8355", tag, owner, clock),
62   : device_config(mconfig, static_alloc_device_config, "Intel 8355", tag, owner, clock),
6363     device_config_memory_interface(mconfig, *this),
6464     m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355))
6565{
src/mess/video/crt9007.c
r10365r10366
231231//-------------------------------------------------
232232
233233crt9007_device_config::crt9007_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
234   : device_config(mconfig, static_alloc_device_config, "SMC CRT9007", "crt9007", tag, owner, clock),
234   : device_config(mconfig, static_alloc_device_config, "SMC CRT9007", tag, owner, clock),
235235     device_config_memory_interface(mconfig, *this),
236236     m_space_config("videoram", ENDIANNESS_LITTLE, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(crt9007))
237237{
src/mess/video/zx8301.c
r10365r10366
5858//-------------------------------------------------
5959
6060zx8301_device_config::zx8301_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
61   : device_config(mconfig, static_alloc_device_config, "Sinclair ZX8301", "zx8301", tag, owner, clock),
61   : device_config(mconfig, static_alloc_device_config, "Sinclair ZX8301", tag, owner, clock),
6262     device_config_memory_interface(mconfig, *this),
6363     m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(zx8301))
6464{
src/mess/video/hd44780.c
r10365r10366
2525//-------------------------------------------------
2626
2727hd44780_device_config::hd44780_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock ):
28   device_config(mconfig, static_alloc_device_config, "HD44780", "hd44780",tag, owner, clock)
28   device_config(mconfig, static_alloc_device_config, "HD44780", tag, owner, clock)
2929{
3030}
3131
src/mess/video/crt9212.c
r10365r10366
5454//-------------------------------------------------
5555
5656crt9212_device_config::crt9212_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
57   : device_config(mconfig, static_alloc_device_config, "SMC CRT9212", "crt9212", tag, owner, clock)
57   : device_config(mconfig, static_alloc_device_config, "SMC CRT9212", tag, owner, clock)
5858{
5959}
6060
src/mess/video/ef9345.c
r10365r10366
4242//-------------------------------------------------
4343
4444ef9345_device_config::ef9345_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock ):
45   device_config(mconfig, static_alloc_device_config, "ef9345", "ef9345", tag, owner, clock),
45   device_config(mconfig, static_alloc_device_config, "ef9345", tag, owner, clock),
4646   device_config_memory_interface(mconfig, *this),
4747   m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(ef9345))
4848{
src/mess/video/crt9021.c
r10365r10366
8181//-------------------------------------------------
8282
8383crt9021_device_config::crt9021_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
84   : device_config(mconfig, static_alloc_device_config, "SMC CRT9021", "crt9021", tag, owner, clock)
84   : device_config(mconfig, static_alloc_device_config, "SMC CRT9021", tag, owner, clock)
8585{
8686}
8787
src/mess/video/hd61830.c
r10365r10366
8080//-------------------------------------------------
8181
8282hd61830_device_config::hd61830_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock)
83   : device_config(mconfig, static_alloc_device_config, "Hitachi HD61830", "hd61830", tag, owner, clock),
83   : device_config(mconfig, static_alloc_device_config, "Hitachi HD61830", tag, owner, clock),
8484     device_config_memory_interface(mconfig, *this),
8585     m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(hd61830))
8686{
87   m_shortname = "hd61830";
8788}
8889
8990
src/mess/video/hd44352.c
r10365r10366
2929//-------------------------------------------------
3030
3131hd44352_device_config::hd44352_device_config( const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock ):
32   device_config(mconfig, static_alloc_device_config, "hd44352", "hd44352", tag, owner, clock)
32   device_config(mconfig, static_alloc_device_config, "hd44352", tag, owner, clock)
3333{
3434}
3535

Previous 15994 Revisions Next


© 1998-2018 The MESS Team