| 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 |
| r10365 | r10366 | |
|---|---|---|
| 99 | 99 | //------------------------------------------------- |
| 100 | 100 | |
| 101 | 101 | cdicdic_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", | |
| 102 | : device_config(mconfig, static_alloc_device_config, "CDICDIC", | |
| 103 | 103 | { |
| 104 | 104 | |
| 105 | 105 | } |
| r10365 | r10366 | |
|---|---|---|
| 51 | 51 | //------------------------------------------------- |
| 52 | 52 | |
| 53 | 53 | cdislave_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", | |
| 54 | : device_config(mconfig, static_alloc_device_config, "CDISLAVE", | |
| 55 | 55 | { |
| 56 | 56 | |
| 57 | 57 | } |
| r10365 | r10366 | |
|---|---|---|
| 3630 | 3630 | DRIVER( pairs ) /* (c) 1994 Strata/Incredible Technologies */ |
| 3631 | 3631 | DRIVER( pairsa ) /* (c) 1994 Strata/Incredible Technologies */ |
| 3632 | 3632 | DRIVER( hotmemry ) /* (c) 1994 Tuning/Incredible Technologies */ |
| 3633 | DRIVER( hotmemry11 ) /* (c) 1994 Tuning/Incredible Technologies */ | |
| 3633 | 3634 | DRIVER( drivedge ) /* (c) 1994 Strata/Incredible Technologies */ |
| 3634 | 3635 | DRIVER( wcbowl ) /* (c) 1995 Incredible Technologies */ |
| 3635 | 3636 | DRIVER( wcbowl165 ) /* (c) 1995 Incredible Technologies */ |
| r10365 | r10366 | |
| 6016 | 6017 | DRIVER( canyon ) /* 009493-009504 1977/10 [6502] */ |
| 6017 | 6018 | DRIVER( canyonp ) /* 009493-009504 1977/10 [6502] */ |
| 6018 | 6019 | DRIVER( destroyr ) /* 030131-030136 1977/10 [6800] */ |
| 6020 | DRIVER( destroyr1 ) /* 030131-030136 1977/10 [6800] */ | |
| 6019 | 6021 | DRIVER( sprint1 ) /* 006443 1978/01 [6502] */ |
| 6020 | 6022 | DRIVER( ultratnk ) /* 009801 1978/02 [6502] */ |
| 6021 | 6023 | DRIVER( skyraid ) /* 009709 1978/03 [6502] */ |
| r10365 | r10366 | |
|---|---|---|
| 212 | 212 | |
| 213 | 213 | |
| 214 | 214 | gp9001vdp_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_", | |
| 215 | : device_config(mconfig, static_alloc_device_config, "gp9001vdp_", | |
| 216 | 216 | device_config_memory_interface(mconfig, *this), |
| 217 | 217 | m_space_config("gp9001vdp", ENDIANNESS_BIG, 16,14, 0, NULL, *ADDRESS_MAP_NAME(gp9001vdp_map)) |
| 218 | 218 | { |
| r10365 | r10366 | |
|---|---|---|
| 928 | 928 | |
| 929 | 929 | |
| 930 | 930 | /* ( YEAR NAME PARENT MACHINE INPUT INIT MONITOR COMPANY FULLNAME FLAGS ) */ |
| 931 | GAME( 1988, chinagat, 0, chinagat, chinagat, chinagat, ROT0, "Technos Japan (Taito / Romstar license)", "China Gate (US)", GAME_SUPPORTS_SAVE ) | |
| 931 | GAME( 1988, chinagat, 0, chinagat, chinagat, chinagat, ROT0, "Technos Japan (Taito / Romstar license)", "China Gate (US)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) | |
| 932 | 932 | GAME( 1988, saiyugou, chinagat, chinagat, chinagat, chinagat, ROT0, "Technos Japan", "Sai Yu Gou Ma Roku (Japan)", GAME_SUPPORTS_SAVE ) |
| 933 | 933 | GAME( 1988, saiyugoub1, chinagat, saiyugoub1, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
| 934 | 934 | GAME( 1988, saiyugoub2, chinagat, saiyugoub2, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 2)", GAME_SUPPORTS_SAVE ) |
| r10365 | r10366 | |
|---|---|---|
| 94 | 94 | const device_type JANSHIVDP = janshi_vdp_device_config::static_alloc_device_config; |
| 95 | 95 | |
| 96 | 96 | janshi_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", | |
| 97 | : device_config(mconfig, static_alloc_device_config, "JANSHIVDP", | |
| 98 | 98 | device_config_memory_interface(mconfig, *this), |
| 99 | 99 | m_space_config("janshi_vdp", ENDIANNESS_LITTLE, 8,24, 0, NULL, *ADDRESS_MAP_NAME(janshi_vdp_map8)) |
| 100 | 100 | { |
| r10365 | r10366 | |
|---|---|---|
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | littlerb_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", | |
| 192 | : device_config(mconfig, static_alloc_device_config, "LITTLERBVDP", | |
| 193 | 193 | device_config_memory_interface(mconfig, *this), |
| 194 | 194 | m_space_config("littlerb_vdp", ENDIANNESS_LITTLE, 16,32, 0, NULL, *ADDRESS_MAP_NAME(littlerb_vdp_map8)) |
| 195 | 195 | { |
| r10365 | r10366 | |
|---|---|---|
| 81 | 81 | /* draw minor objects */ |
| 82 | 82 | for (i = 0; i < 2; i++) |
| 83 | 83 | { |
| 84 | int num = i << 4 | (state->minor_obj_ram[i + 0] & 0xf); | |
| 84 | 85 | int horz = 256 - state->minor_obj_ram[i + 2]; |
| 85 | 86 | int vert = 256 - state->minor_obj_ram[i + 4]; |
| 86 | 87 | |
| 87 | drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], | |
| 88 | drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[1], | |
| 88 | 89 | } |
| 89 | 90 | |
| 90 | 91 | /* draw waves */ |
| r10365 | r10366 | |
| 228 | 229 | static READ8_HANDLER( destroyr_input_r ) |
| 229 | 230 | { |
| 230 | 231 | destroyr_state *state = space->machine->driver_data<destroyr_state>(); |
| 231 | offset &= 0x0f; | |
| 232 | 232 | |
| 233 | if (offset | |
| 233 | if (offset & | |
| 234 | 234 | { |
| 235 | return input_port_read(space->machine, "IN1"); | |
| 236 | } | |
| 237 | ||
| 238 | else | |
| 239 | { | |
| 235 | 240 | UINT8 ret = input_port_read(space->machine, "IN0"); |
| 236 | 241 | |
| 237 | 242 | if (state->potsense[0] && state->potmask[0]) |
| r10365 | r10366 | |
| 241 | 246 | |
| 242 | 247 | return ret; |
| 243 | 248 | } |
| 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; | |
| 253 | 249 | } |
| 254 | 250 | |
| 255 | 251 | |
| r10365 | r10366 | |
| 264 | 260 | AM_RANGE(0x0000, 0x00ff) AM_MIRROR(0xf00) AM_RAM |
| 265 | 261 | AM_RANGE(0x1000, 0x1fff) AM_READWRITE(destroyr_input_r, destroyr_output_w) |
| 266 | 262 | 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) | |
| 272 | 268 | AM_RANGE(0x6000, 0x6fff) AM_READ(destroyr_scanline_r) |
| 273 | 269 | AM_RANGE(0x7000, 0x77ff) AM_NOP /* missing translation ROMs */ |
| 274 | 270 | AM_RANGE(0x7800, 0x7fff) AM_ROM /* program */ |
| r10365 | r10366 | |
| 342 | 338 | static const gfx_layout destroyr_minor_object_layout = |
| 343 | 339 | { |
| 344 | 340 | 16, 16, /* width, height */ |
| 345 | | |
| 341 | 32, /* total */ | |
| 346 | 342 | 1, /* planes */ |
| 347 | 343 | { 0 }, /* plane offsets */ |
| 348 | 344 | { |
| r10365 | r10366 | |
| 473 | 469 | |
| 474 | 470 | |
| 475 | 471 | ROM_START( destroyr ) |
| 476 | ROM_REGION( 0x8000, "maincpu", 0 ) | |
| 472 | ROM_REGION( 0x8000, "maincpu", 0 ) | |
| 477 | 473 | ROM_LOAD( "30146-01.c3", 0x7800, 0x0800, CRC(e560c712) SHA1(0505ab57eee5421b4ff4e87d14505e02b18fd54c) ) |
| 478 | 474 | |
| 479 | ROM_REGION( 0x0400, "gfx1", 0 ) | |
| 475 | ROM_REGION( 0x0400, "gfx1", 0 ) | |
| 480 | 476 | ROM_LOAD( "30135-01.p4", 0x0000, 0x0400, CRC(184824cf) SHA1(713cfd1d41ef7b1c345ea0038b652c4ba3f08301) ) |
| 481 | 477 | |
| 482 | ROM_REGION( 0x0 | |
| 478 | ROM_REGION( 0x0800, "gfx2", 0 ) | |
| 483 | 479 | ROM_LOAD( "30132-01.f4", 0x0000, 0x0400, CRC(e09d3d55) SHA1(b26013397ef2cb32d0416ecb118387b9c2dffa9a) ) |
| 480 | ROM_LOAD( "30132-01.k4", 0x0400, 0x0400, CRC(e09d3d55) SHA1(b26013397ef2cb32d0416ecb118387b9c2dffa9a) ) | |
| 484 | 481 | |
| 485 | ROM_REGION( 0x0400, "gfx3", 0 ) | |
| 482 | ROM_REGION( 0x0400, "gfx3", 0 ) | |
| 486 | 483 | ROM_LOAD_NIB_HIGH( "30134-01.p8", 0x0000, 0x0400, CRC(6259e007) SHA1(049f5f7160305cb4f4b499dd113cb11eea73fc95) ) |
| 487 | 484 | ROM_LOAD_NIB_LOW ( "30133-01.n8", 0x0000, 0x0400, CRC(108d3e2c) SHA1(8c993369d37c6713670483af78e6d04d38f4b4fc) ) |
| 488 | 485 | |
| 489 | ROM_REGION( 0x0020, "gfx4", 0 ) | |
| 486 | ROM_REGION( 0x0020, "gfx4", 0 ) | |
| 490 | 487 | ROM_LOAD( "30136-01.k2", 0x0000, 0x0020, CRC(532c11b1) SHA1(18ab5369a3f2cfcc9a44f38fa8649524bea5b203) ) |
| 491 | 488 | |
| 492 | ROM_REGION( 0x0100, "user1", 0 ) | |
| 489 | ROM_REGION( 0x0100, "user1", 0 ) | |
| 493 | 490 | ROM_LOAD( "30131-01.m1", 0x0000, 0x0100, CRC(b8094b4c) SHA1(82dc6799a19984f3b204ee3aeeb007e55afc8be3) ) |
| 494 | 491 | ROM_END |
| 495 | 492 | |
| 493 | ROM_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) ) | |
| 496 | 499 | |
| 497 | GAME( 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) ) | |
| 516 | ROM_END | |
| 517 | ||
| 518 | ||
| 519 | GAME( 1977, destroyr, 0, destroyr, destroyr, 0, ORIENTATION_FLIP_X, "Atari", "Destroyer (version O2)", GAME_NO_SOUND ) | |
| 520 | GAME( 1977, destroyr1, destroyr, destroyr, destroyr, 0, ORIENTATION_FLIP_X, "Atari", "Destroyer (version O1)", GAME_NO_SOUND ) |
| r10365 | r10366 | |
|---|---|---|
| 180 | 180 | Top (2 separate PCBs plugged into the main board) |
| 181 | 181 | --- |
| 182 | 182 | |
| 183 | P/N 1060 REV 0 | |
| 183 | P/N 1060 REV 0 P/N 1061 REV1 | |
| 184 | 184 | |---------------------------------| |---------------------------------| |
| 185 | 185 | |6522 SND.U17 SROM0 | | GROM15 GROM10 | |
| 186 | 186 | | 6809 6264 ENSONIC | | | |
| r10365 | r10366 | |
| 2101 | 2101 | ROM_END |
| 2102 | 2102 | |
| 2103 | 2103 | |
| 2104 | ROM_START( pairs ) /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N | |
| 2104 | ROM_START( pairs ) /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 & P/N 1060 Rev 0) */ | |
| 2105 | 2105 | 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) ) | |
| 2108 | 2108 | |
| 2109 | 2109 | ROM_REGION( 0x28000, "soundcpu", 0 ) |
| 2110 | 2110 | ROM_LOAD( "snd.u17", 0x10000, 0x18000, CRC(7a514cfd) SHA1(ef5bc74c9560d2c058298051070fa748e58f07e1) ) |
| r10365 | r10366 | |
| 2128 | 2128 | ROM_END |
| 2129 | 2129 | |
| 2130 | 2130 | |
| 2131 | ROM_START( pairsa ) /* Version ?? (3-tier board set: P/N 1059 Rev 3, P/N | |
| 2131 | ROM_START( pairsa ) /* Version ?? (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 & P/N 1060 Rev 0) */ | |
| 2132 | 2132 | ROM_REGION16_BE( 0x80000, "user1", 0 ) |
| 2133 | 2133 | ROM_LOAD16_BYTE( "pair0.u83", 0x00000, 0x20000, CRC(774995a3) SHA1(93df91378b56802d14c105f7f48ed8a4f7bafffd) ) |
| 2134 | 2134 | ROM_LOAD16_BYTE( "pair1.u88", 0x00001, 0x20000, CRC(85d0b73a) SHA1(48a6ac6de94be13e407da13e3e2440d858714b4b) ) |
| r10365 | r10366 | |
| 2154 | 2154 | ROM_LOAD16_BYTE( "srom0", 0x000000, 0x80000, CRC(1d96c581) SHA1(3b7c84b7db3b098ec28c7058c16f97e9cf0e4733) ) |
| 2155 | 2155 | ROM_END |
| 2156 | 2156 | |
| 2157 | ROM_START( hotmemry ) /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N | |
| 2157 | ROM_START( hotmemry ) /* Version 1.2 (3-tier board set: P/N 1059 Rev 3, P/N 1061 Rev 1 & P/N 1060 Rev 0) */ | |
| 2158 | 2158 | 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) ) | |
| 2161 | 2161 | |
| 2162 | 2162 | ROM_REGION( 0x28000, "soundcpu", 0 ) |
| 2163 | 2163 | ROM_LOAD( "hotmem_snd.u17", 0x10000, 0x18000, CRC(805941c7) SHA1(4a6832d93ff2b986cb54052658af62584782cb59) ) |
| r10365 | r10366 | |
| 2180 | 2180 | ROM_LOAD16_BYTE( "hotmem.srom0", 0x000000, 0x80000, CRC(c1103224) SHA1(52cf341ff9092ecb8cb94f66a96ee0c726bf1412) ) |
| 2181 | 2181 | ROM_END |
| 2182 | 2182 | |
| 2183 | ROM_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) ) | |
| 2207 | ROM_END | |
| 2208 | ||
| 2183 | 2209 | ROM_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 */ |
| 2184 | 2210 | ROM_REGION32_BE( CODE_SIZE, "user1", 0 ) |
| 2185 | 2211 | ROM_LOAD32_BYTE( "wcbdprm0.200", 0x00000, 0x20000, CRC(280df7f0) SHA1(dacffe8fc21263093b0f4a4fbf444abd49afbff1) ) |
| r10365 | r10366 | |
| 4223 | 4249 | GAME( 1994, pairs, 0, bloodstm, pairs, bloodstm, ROT0, "Strata/Incredible Technologies", "Pairs (V1.2, 09/30/94)", 0 ) |
| 4224 | 4250 | GAME( 1994, pairsa, pairs, bloodstm, pairs, bloodstm, ROT0, "Strata/Incredible Technologies", "Pairs (09/07/94)", 0 ) |
| 4225 | 4251 | GAME( 1994, hotmemry, pairs, bloodstm, pairs, bloodstm, ROT0, "Tuning/Incredible Technologies", "Hot Memory (V1.2, Germany)", 0 ) |
| 4252 | GAME( 1994, hotmemry11, pairs, bloodstm, pairs, bloodstm, ROT0, "Tuning/Incredible Technologies", "Hot Memory (V1.1, Germany)", 0 ) | |
| 4226 | 4253 | GAME( 1994, drivedge, 0, drivedge, drivedge, drivedge, ROT0, "Strata/Incredible Technologies", "Driver's Edge", GAME_IMPERFECT_GRAPHICS ) |
| 4227 | 4254 | GAME( 1995, wcbowl, 0, sftm, wcbowln, wcbowln, ROT0, "Incredible Technologies", "World Class Bowling (v1.66)" , 0) /* PIC 16C54 labeled as ITBWL-3 */ |
| 4228 | 4255 | GAME( 1995, wcbowl165, wcbowl, sftm, shufbowl, wcbowln, ROT0, "Incredible Technologies", "World Class Bowling (v1.65)" , 0) /* PIC 16C54 labeled as ITBWL-3 */ |
| r10365 | r10366 | |
|---|---|---|
| 5561 | 5561 | Shinobi, Sega System 16B |
| 5562 | 5562 | CPU: 68000 + MC8123B (317-0054) |
| 5563 | 5563 | ROM Board: 171-5521 |
| 5564 | Game Nunmber: 834-6499-03 | |
| 5564 | Game Nunmber: 834-6496-04 | |
| 5565 | ROM board: 834-6499-03 | |
| 5565 | 5566 | */ |
| 5566 | 5567 | ROM_START( shinobi4 ) |
| 5567 | 5568 | ROM_REGION( 0x40000, "maincpu", 0 ) /* 68000 code */ |
| r10365 | r10366 | |
|---|---|---|
| 139 | 139 | //------------------------------------------------- |
| 140 | 140 | |
| 141 | 141 | tms3203x_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, | |
| 142 | : cpu_device_config(mconfig, type, name, | |
| 143 | 143 | m_program_config("program", ENDIANNESS_LITTLE, 32, 24, -2, internal_map), |
| 144 | 144 | m_chip_type(chiptype) |
| 145 | 145 | { |
| r10365 | r10366 | |
|---|---|---|
| 276 | 276 | }; |
| 277 | 277 | |
| 278 | 278 | // construction/destruction |
| 279 | adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 279 | adsp21xx_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 280 | 280 | |
| 281 | 281 | public: |
| 282 | 282 | // inline configuration helpers |
| r10365 | r10366 | |
| 605 | 605 | |
| 606 | 606 | protected: |
| 607 | 607 | // construction/destruction |
| 608 | adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 608 | adsp2101_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 609 | 609 | |
| 610 | 610 | public: |
| 611 | 611 | // allocators |
| r10365 | r10366 | |
|---|---|---|
| 148 | 148 | // TRIVIAL IMPLEMENTATIONS |
| 149 | 149 | //************************************************************************** |
| 150 | 150 | |
| 151 | DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2104_device_config, adsp2101_device_config, adsp2104_device, adsp2101_device, "ADSP-2104", "adsp2104", CHIP_TYPE_ADSP2104) | |
| 152 | DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2105_device_config, adsp2101_device_config, adsp2105_device, adsp2101_device, "ADSP-2105", "adsp2105", CHIP_TYPE_ADSP2105) | |
| 153 | DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, adsp2115_device, adsp2101_device, "ADSP-2115", "adsp2115", CHIP_TYPE_ADSP2115) | |
| 151 | DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2104_device_config, adsp2101_device_config, adsp2104_device, adsp2101_device, "ADSP-2104", CHIP_TYPE_ADSP2104) | |
| 152 | DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2105_device_config, adsp2101_device_config, adsp2105_device, adsp2101_device, "ADSP-2105", CHIP_TYPE_ADSP2105) | |
| 153 | DEFINE_TRIVIAL_DERIVED_DEVICE(adsp2115_device_config, adsp2101_device_config, adsp2115_device, adsp2101_device, "ADSP-2115", CHIP_TYPE_ADSP2115) | |
| 154 | 154 | |
| 155 | 155 | |
| 156 | 156 | |
| r10365 | r10366 | |
| 162 | 162 | // adsp21xx_device_config - constructor |
| 163 | 163 | //------------------------------------------------- |
| 164 | 164 | |
| 165 | adsp21xx_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), | |
| 165 | adsp21xx_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), | |
| 167 | 167 | m_program_config("program", ENDIANNESS_LITTLE, 32, 14, -2), |
| 168 | 168 | m_data_config("data", ENDIANNESS_LITTLE, 16, 14, -1), |
| 169 | 169 | m_chip_type(chiptype) |
| r10365 | r10366 | |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | adsp2100_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", | |
| 177 | : adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2100", | |
| 178 | 178 | |
| 179 | adsp2101_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) { } | |
| 179 | adsp2101_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) { } | |
| 181 | 181 | |
| 182 | 182 | adsp2181_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", | |
| 183 | : adsp21xx_device_config(mconfig, static_alloc_device_config, "ADSP-2181", | |
| 184 | 184 | m_io_config("I/O", ENDIANNESS_LITTLE, 16, 11, -1) { } |
| 185 | 185 | |
| 186 | 186 | |
| r10365 | r10366 | |
| 196 | 196 | |
| 197 | 197 | device_config *adsp2101_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) |
| 198 | 198 | { |
| 199 | return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", | |
| 199 | return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", | |
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | device_config *adsp2181_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) |
| r10365 | r10366 | |
|---|---|---|
| 178 | 178 | //------------------------------------------------- |
| 179 | 179 | |
| 180 | 180 | dsp32c_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", | |
| 181 | : cpu_device_config(mconfig, static_alloc_device_config, "DSP32C", | |
| 182 | 182 | m_program_config("program", ENDIANNESS_LITTLE, 32, 24) |
| 183 | 183 | { |
| 184 | 184 | m_output_pins_changed = NULL; |
| r10365 | r10366 | |
|---|---|---|
| 190 | 190 | //------------------------------------------------- |
| 191 | 191 | |
| 192 | 192 | cosmac_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", | |
| 193 | : cpu_device_config(mconfig, static_alloc_device_config, "COSMAC", | |
| 194 | 194 | m_program_config("program", ENDIANNESS_LITTLE, 8, 16), |
| 195 | 195 | m_io_config("io", ENDIANNESS_LITTLE, 8, 3) |
| 196 | 196 | { |
| r10365 | r10366 | |
|---|---|---|
| 171 | 171 | //------------------------------------------------- |
| 172 | 172 | |
| 173 | 173 | asap_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", | |
| 174 | : cpu_device_config(mconfig, static_alloc_device_config, "ASAP", | |
| 175 | 175 | m_program_config("program", ENDIANNESS_LITTLE, 32, 32) |
| 176 | 176 | { |
| 177 | 177 | } |
| r10365 | r10366 | |
|---|---|---|
| 105 | 105 | //------------------------------------------------- |
| 106 | 106 | |
| 107 | 107 | hd61700_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", | |
| 108 | : cpu_device_config(mconfig, type, "HD61700", | |
| 109 | 109 | m_program_config("program", ENDIANNESS_BIG, 16, 18, -1) |
| 110 | 110 | { |
| 111 | 111 | } |
| r10365 | r10366 | |
|---|---|---|
| 23 | 23 | //************************************************************************** |
| 24 | 24 | |
| 25 | 25 | dsp16_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", | |
| 26 | : cpu_device_config(mconfig, static_alloc_device_config, "DSP16", | |
| 27 | 27 | m_program_config("program", ENDIANNESS_LITTLE, 16, 16, -1) |
| 28 | 28 | { } |
| 29 | 29 |
| r10365 | r10366 | |
|---|---|---|
| 29 | 29 | //------------------------------------------------- |
| 30 | 30 | |
| 31 | 31 | necdsp_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, | |
| 32 | : cpu_device_config(mconfig, static_alloc_device_config, name, | |
| 33 | 33 | m_program_config("program", ENDIANNESS_BIG, 32, abits, -2), // data bus width, address bus width, -2 means DWORD-addressable |
| 34 | 34 | m_data_config("data", ENDIANNESS_BIG, 16, dbits, -1) // -1 for WORD-addressable |
| 35 | 35 | { |
| r10365 | r10366 | |
|---|---|---|
| 285 | 285 | // device configuration |
| 286 | 286 | //------------------------------------------------- |
| 287 | 287 | |
| 288 | device_config::device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 288 | device_config::device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 289 | 289 | : m_next(NULL), |
| 290 | 290 | m_owner(const_cast<device_config *>(owner)), |
| 291 | 291 | m_interface_list(NULL), |
| r10365 | r10366 | |
| 294 | 294 | m_machine_config(mconfig), |
| 295 | 295 | m_static_config(NULL), |
| 296 | 296 | m_name(name), |
| 297 | m_shortname(shortname), | |
| 298 | 297 | m_tag(tag), |
| 299 | 298 | m_config_complete(false) |
| 300 | 299 | { |
| r10365 | r10366 | |
|---|---|---|
| 76 | 76 | }; \ |
| 77 | 77 | |
| 78 | 78 | // use this macro to define the actual implementation in the source file |
| 79 | #define DEFINE_TRIVIAL_DERIVED_DEVICE(_ConfigClass, _ConfigBase, _DeviceClass, _DeviceBase, _Name, _ | |
| 79 | #define DEFINE_TRIVIAL_DERIVED_DEVICE(_ConfigClass, _ConfigBase, _DeviceClass, _DeviceBase, _Name, _ | |
| 80 | 80 | _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, | |
| 81 | : _ConfigBase(mconfig, static_alloc_device_config, _Name, | |
| 82 | 82 | { \ |
| 83 | 83 | } \ |
| 84 | 84 | \ |
| r10365 | r10366 | |
| 257 | 257 | |
| 258 | 258 | protected: |
| 259 | 259 | // construction/destruction |
| 260 | device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 260 | device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 261 | 261 | virtual ~device_config(); |
| 262 | 262 | |
| 263 | 263 | public: |
| r10365 | r10366 | |
|---|---|---|
| 942 | 942 | //------------------------------------------------- |
| 943 | 943 | |
| 944 | 944 | driver_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", | |
| 945 | : device_config(mconfig, type, "Driver Device", | |
| 946 | 946 | m_game(NULL), |
| 947 | 947 | m_palette_init(NULL), |
| 948 | 948 | m_video_update(NULL) |
| r10365 | r10366 | |
|---|---|---|
| 76 | 76 | //------------------------------------------------- |
| 77 | 77 | |
| 78 | 78 | cdp1869_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", | |
| 79 | : device_config(mconfig, static_alloc_device_config, "RCA CDP1869", | |
| 80 | 80 | device_config_sound_interface(mconfig, *this), |
| 81 | 81 | device_config_memory_interface(mconfig, *this), |
| 82 | 82 | m_space_config("pageram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(cdp1869)) |
| r10365 | r10366 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | mas3507d_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", | |
| 12 | : device_config(mconfig, static_alloc_device_config, "MAS3507D", | |
| 13 | 13 | device_config_sound_interface(mconfig, *this) |
| 14 | 14 | { |
| 15 | 15 | } |
| r10365 | r10366 | |
|---|---|---|
| 33 | 33 | //------------------------------------------------- |
| 34 | 34 | |
| 35 | 35 | okim9810_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", | |
| 36 | : device_config(mconfig, static_alloc_device_config, "OKI9810", | |
| 37 | 37 | device_config_sound_interface(mconfig, *this), |
| 38 | 38 | device_config_memory_interface(mconfig, *this), |
| 39 | 39 | m_space_config("samples", ENDIANNESS_BIG, 8, 24, 0, NULL, *ADDRESS_MAP_NAME(okim9810)) |
| r10365 | r10366 | |
|---|---|---|
| 828 | 828 | //------------------------------------------------- |
| 829 | 829 | // discrete_device_config - constructor |
| 830 | 830 | //------------------------------------------------- |
| 831 | discrete_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) | |
| 831 | discrete_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) | |
| 833 | 833 | { |
| 834 | 834 | } |
| 835 | 835 | |
| 836 | 836 | discrete_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", | |
| 837 | : discrete_device_config(mconfig, static_alloc_device_config, "DISCRETE", | |
| 838 | 838 | device_config_sound_interface(mconfig, *this) |
| 839 | 839 | { |
| 840 | 840 | } |
| r10365 | r10366 | |
| 846 | 846 | |
| 847 | 847 | device_config *discrete_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) |
| 848 | 848 | { |
| 849 | return global_alloc(discrete_device_config(mconfig, static_alloc_device_config, "PUREDISC", | |
| 849 | return global_alloc(discrete_device_config(mconfig, static_alloc_device_config, "PUREDISC", | |
| 850 | 850 | } |
| 851 | 851 | |
| 852 | 852 | device_config *discrete_sound_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) |
| r10365 | r10366 | |
|---|---|---|
| 4303 | 4303 | |
| 4304 | 4304 | protected: |
| 4305 | 4305 | // construction/destruction |
| 4306 | discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 4306 | discrete_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 4307 | 4307 | |
| 4308 | 4308 | public: |
| 4309 | 4309 | // allocators |
| r10365 | r10366 | |
|---|---|---|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | ics2115_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", | |
| 24 | : device_config(mconfig, static_alloc_device_config, "ICS2115", | |
| 25 | 25 | device_config_sound_interface(mconfig, *this) |
| 26 | 26 | { |
| 27 | 27 | } |
| r10365 | r10366 | |
|---|---|---|
| 107 | 107 | //------------------------------------------------- |
| 108 | 108 | |
| 109 | 109 | bsmt2000_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", | |
| 110 | : device_config(mconfig, static_alloc_device_config, "BSMT2000", | |
| 111 | 111 | device_config_sound_interface(mconfig, *this), |
| 112 | 112 | device_config_memory_interface(mconfig, *this), |
| 113 | 113 | m_space_config("samples", ENDIANNESS_LITTLE, 8, 32, 0, NULL, *ADDRESS_MAP_NAME(bsmt2000)), |
| 114 | m_ready_callback(NULL) | |
| 114 | m_ready_callback(NULL) | |
| 115 | 115 | { |
| 116 | m_shortname = "bsmt2000"; | |
| 116 | 117 | } |
| 117 | 118 | |
| 118 | 119 |
| r10365 | r10366 | |
|---|---|---|
| 90 | 90 | //------------------------------------------------- |
| 91 | 91 | |
| 92 | 92 | okim6295_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", | |
| 93 | : device_config(mconfig, static_alloc_device_config, "OKI6295", | |
| 94 | 94 | device_config_sound_interface(mconfig, *this), |
| 95 | 95 | device_config_memory_interface(mconfig, *this), |
| 96 | 96 | m_space_config("samples", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(okim6295)) |
| r10365 | r10366 | |
|---|---|---|
| 70 | 70 | //------------------------------------------------- |
| 71 | 71 | |
| 72 | 72 | asc_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", | |
| 73 | : device_config(mconfig, static_alloc_device_config, "ASC", | |
| 74 | 74 | device_config_sound_interface(mconfig, *this) |
| 75 | 75 | { |
| 76 | 76 | } |
| r10365 | r10366 | |
|---|---|---|
| 50 | 50 | //------------------------------------------------- |
| 51 | 51 | |
| 52 | 52 | legacy_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", | |
| 53 | : device_config(mconfig, type, "Legacy Device", | |
| 54 | 54 | m_get_config_func(get_config), |
| 55 | 55 | m_inline_config(NULL) |
| 56 | 56 | { |
| r10365 | r10366 | |
|---|---|---|
| 73 | 73 | //------------------------------------------------- |
| 74 | 74 | |
| 75 | 75 | speaker_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", | |
| 76 | : device_config(mconfig, static_alloc_device_config, "Speaker", | |
| 77 | 77 | device_config_sound_interface(mconfig, *this), |
| 78 | 78 | m_x(0.0), |
| 79 | 79 | m_y(0.0), |
| r10365 | r10366 | |
|---|---|---|
| 50 | 50 | // cpu_device_config - constructor |
| 51 | 51 | //------------------------------------------------- |
| 52 | 52 | |
| 53 | cpu_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), | |
| 53 | cpu_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), | |
| 55 | 55 | device_config_execute_interface(mconfig, *this), |
| 56 | 56 | device_config_memory_interface(mconfig, *this), |
| 57 | 57 | device_config_state_interface(mconfig, *this), |
| r10365 | r10366 | |
| 65 | 65 | //------------------------------------------------- |
| 66 | 66 | |
| 67 | 67 | legacy_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", | |
| 68 | : cpu_device_config(mconfig, type, "CPU", | |
| 69 | 69 | m_get_info(get_info) |
| 70 | 70 | { |
| 71 | 71 | // build up our address spaces; legacy devices don't have logical spaces |
| r10365 | r10366 | |
|---|---|---|
| 404 | 404 | |
| 405 | 405 | protected: |
| 406 | 406 | // construction/destruction |
| 407 | cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 407 | cpu_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 408 | 408 | }; |
| 409 | 409 | |
| 410 | 410 |
| r10365 | r10366 | |
|---|---|---|
| 273 | 273 | // DEVICE CONFIGURATION |
| 274 | 274 | //************************************************************************** |
| 275 | 275 | |
| 276 | GENERIC_DEVICE_CONFIG_SETUP(mc68901, "Motorola MC68901" | |
| 276 | GENERIC_DEVICE_CONFIG_SETUP(mc68901, "Motorola MC68901" | |
| 277 | 277 | |
| 278 | 278 | |
| 279 | 279 | //------------------------------------------------- |
| r10365 | r10366 | |
|---|---|---|
| 50 | 50 | |
| 51 | 51 | #define TIMEKPR_DEVCFG_DERIVED_CTOR(devtype, name, shortname) \ |
| 52 | 52 | 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, | |
| 53 | : timekeeper_device_config(mconfig, name, | |
| 54 | 54 | { } |
| 55 | 55 | |
| 56 | 56 | #define TIMEKPR_DEVCFG_DERIVED_STATIC_ALLOC(devtype) \ |
| r10365 | r10366 | |
| 76 | 76 | // timekeeper_device_config - constructor |
| 77 | 77 | //------------------------------------------------- |
| 78 | 78 | |
| 79 | timekeeper_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), | |
| 79 | timekeeper_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), | |
| 81 | 81 | device_config_nvram_interface(mconfig, *this) |
| 82 | 82 | { |
| 83 | 83 | |
| r10365 | r10366 | |
| 91 | 91 | |
| 92 | 92 | device_config *timekeeper_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) |
| 93 | 93 | { |
| 94 | return global_alloc(timekeeper_device_config(mconfig, "TIMEKEEPER", | |
| 94 | return global_alloc(timekeeper_device_config(mconfig, "TIMEKEEPER", | |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 |
| r10365 | r10366 | |
|---|---|---|
| 38 | 38 | { return downcast<devname##_device *>(device)->funcname(state); } \ |
| 39 | 39 | void devname##_device::funcname(UINT8 state) |
| 40 | 40 | |
| 41 | #define GENERIC_DEVICE_CONFIG_SETUP(devname, devtag | |
| 41 | #define GENERIC_DEVICE_CONFIG_SETUP(devname, devtag | |
| 42 | 42 | 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, | |
| 43 | : device_config(mconfig, static_alloc_device_config, devtag, | |
| 44 | 44 | { } \ |
| 45 | 45 | \ |
| 46 | 46 | device_config *devname##_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \ |
| r10365 | r10366 | |
|---|---|---|
| 14 | 14 | // DEVICE CONFIGURATION |
| 15 | 15 | //************************************************************************** |
| 16 | 16 | |
| 17 | GENERIC_DEVICE_CONFIG_SETUP(k033906, "Konami 033906" | |
| 17 | GENERIC_DEVICE_CONFIG_SETUP(k033906, "Konami 033906" | |
| 18 | 18 | |
| 19 | 19 | //------------------------------------------------- |
| 20 | 20 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 50 | 50 | //------------------------------------------------- |
| 51 | 51 | |
| 52 | 52 | mos6526_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", | |
| 53 | : device_config(mconfig, static_alloc_device_config, "MOS6526", | |
| 54 | 54 | { |
| 55 | 55 | } |
| 56 | 56 |
| r10365 | r10366 | |
|---|---|---|
| 30 | 30 | //------------------------------------------------- |
| 31 | 31 | |
| 32 | 32 | ttl74123_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", | |
| 33 | : device_config(mconfig, static_alloc_device_config, "TTL74123", | |
| 34 | 34 | { |
| 35 | 35 | } |
| 36 | 36 |
| r10365 | r10366 | |
|---|---|---|
| 64 | 64 | |
| 65 | 65 | protected: |
| 66 | 66 | // construction/destruction |
| 67 | timekeeper_device_config(const machine_config &mconfig, const char *type, const char * | |
| 67 | timekeeper_device_config(const machine_config &mconfig, const char *type, const char * | |
| 68 | 68 | |
| 69 | 69 | public: |
| 70 | 70 | // allocators |
| r10365 | r10366 | |
|---|---|---|
| 44 | 44 | //------------------------------------------------- |
| 45 | 45 | |
| 46 | 46 | pia6821_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", | |
| 47 | : device_config(mconfig, static_alloc_device_config, "6822 PIA", | |
| 48 | 48 | { |
| 49 | 49 | } |
| 50 | 50 |
| r10365 | r10366 | |
|---|---|---|
| 48 | 48 | //------------------------------------------------- |
| 49 | 49 | |
| 50 | 50 | riot6532_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)", | |
| 51 | : device_config(mconfig, static_alloc_device_config, "6532 (RIOT)", | |
| 52 | 52 | { |
| 53 | 53 | } |
| 54 | 54 |
| r10365 | r10366 | |
|---|---|---|
| 109 | 109 | // DEVICE CONFIGURATION |
| 110 | 110 | //************************************************************************** |
| 111 | 111 | |
| 112 | GENERIC_DEVICE_CONFIG_SETUP(via6522, "6522 VIA" | |
| 112 | GENERIC_DEVICE_CONFIG_SETUP(via6522, "6522 VIA" | |
| 113 | 113 | |
| 114 | 114 | //------------------------------------------------- |
| 115 | 115 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 58 | 58 | //------------------------------------------------- |
| 59 | 59 | |
| 60 | 60 | ttl7474_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", | |
| 61 | : device_config(mconfig, static_alloc_device_config, "7474", | |
| 62 | 62 | { |
| 63 | 63 | } |
| 64 | 64 |
| r10365 | r10366 | |
|---|---|---|
| 61 | 61 | IMPLEMENTATION |
| 62 | 62 | ***************************************************************************/ |
| 63 | 63 | |
| 64 | GENERIC_DEVICE_CONFIG_SETUP(ptm6840, "6840 PTM" | |
| 64 | GENERIC_DEVICE_CONFIG_SETUP(ptm6840, "6840 PTM" | |
| 65 | 65 | |
| 66 | 66 | const device_type PTM6840 = ptm6840_device_config::static_alloc_device_config; |
| 67 | 67 |
| r10365 | r10366 | |
|---|---|---|
| 62 | 62 | //------------------------------------------------- |
| 63 | 63 | |
| 64 | 64 | er2055_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", | |
| 65 | : device_config(mconfig, static_alloc_device_config, "ER2055", | |
| 66 | 66 | device_config_memory_interface(mconfig, *this), |
| 67 | 67 | device_config_nvram_interface(mconfig, *this), |
| 68 | 68 | m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map)) |
| r10365 | r10366 | |
|---|---|---|
| 151 | 151 | //------------------------------------------------- |
| 152 | 152 | |
| 153 | 153 | z80dma_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", | |
| 154 | : device_config(mconfig, static_alloc_device_config, "Z8410", | |
| 155 | 155 | device_config_z80daisy_interface(mconfig, *this) |
| 156 | 156 | { |
| 157 | 157 | } |
| r10365 | r10366 | |
|---|---|---|
| 38 | 38 | // DEVICE CONFIGURATION |
| 39 | 39 | //************************************************************************** |
| 40 | 40 | |
| 41 | GENERIC_DEVICE_CONFIG_SETUP(ins8154, "INS8154" | |
| 41 | GENERIC_DEVICE_CONFIG_SETUP(ins8154, "INS8154" | |
| 42 | 42 | |
| 43 | 43 | //------------------------------------------------- |
| 44 | 44 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 98 | 98 | // DEVICE CONFIGURATION |
| 99 | 99 | //************************************************************************** |
| 100 | 100 | |
| 101 | GENERIC_DEVICE_CONFIG_SETUP(ppi8255, "Intel PPI8255" | |
| 101 | GENERIC_DEVICE_CONFIG_SETUP(ppi8255, "Intel PPI8255" | |
| 102 | 102 | |
| 103 | 103 | //------------------------------------------------- |
| 104 | 104 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 48 | 48 | //------------------------------------------------- |
| 49 | 49 | |
| 50 | 50 | ds1302_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", | |
| 51 | : device_config(mconfig, static_alloc_device_config, "Dallas DS1302 RTC", | |
| 52 | 52 | { |
| 53 | 53 | } |
| 54 | 54 |
| r10365 | r10366 | |
|---|---|---|
| 59 | 59 | //------------------------------------------------- |
| 60 | 60 | |
| 61 | 61 | nvram_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", | |
| 62 | : device_config(mconfig, static_alloc_device_config, "NVRAM", | |
| 63 | 63 | device_config_nvram_interface(mconfig, *this), |
| 64 | 64 | m_default_value(DEFAULT_ALL_1) |
| 65 | 65 | { |
| r10365 | r10366 | |
|---|---|---|
| 51 | 51 | // DEVICE CONFIGURATION |
| 52 | 52 | //************************************************************************** |
| 53 | 53 | |
| 54 | GENERIC_DEVICE_CONFIG_SETUP(i8257, "DMA8257" | |
| 54 | GENERIC_DEVICE_CONFIG_SETUP(i8257, "DMA8257" | |
| 55 | 55 | |
| 56 | 56 | //------------------------------------------------- |
| 57 | 57 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 61 | 61 | //------------------------------------------------- |
| 62 | 62 | |
| 63 | 63 | z80pio_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", | |
| 64 | : device_config(mconfig, static_alloc_device_config, "Z8420", | |
| 65 | 65 | device_config_z80daisy_interface(mconfig, *this) |
| 66 | 66 | { |
| 67 | 67 | } |
| r10365 | r10366 | |
|---|---|---|
| 72 | 72 | //------------------------------------------------- |
| 73 | 73 | |
| 74 | 74 | i2cmem_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", | |
| 75 | : device_config(mconfig, static_alloc_device_config, "I2CMEM", | |
| 76 | 76 | device_config_memory_interface(mconfig, *this), |
| 77 | 77 | device_config_nvram_interface(mconfig, *this) |
| 78 | 78 | { |
| r10365 | r10366 | |
|---|---|---|
| 152 | 152 | //------------------------------------------------- |
| 153 | 153 | |
| 154 | 154 | z80sti_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", | |
| 155 | : device_config(mconfig, static_alloc_device_config, "Mostek MK3801", | |
| 156 | 156 | device_config_z80daisy_interface(mconfig, *this) |
| 157 | 157 | { |
| 158 | 158 | } |
| r10365 | r10366 | |
|---|---|---|
| 46 | 46 | //------------------------------------------------- |
| 47 | 47 | |
| 48 | 48 | f3853_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", | |
| 49 | : device_config(mconfig, static_alloc_device_config, "F3853", | |
| 50 | 50 | { |
| 51 | 51 | } |
| 52 | 52 |
| r10365 | r10366 | |
|---|---|---|
| 16 | 16 | // DEVICE CONFIGURATION |
| 17 | 17 | //************************************************************************** |
| 18 | 18 | |
| 19 | GENERIC_DEVICE_CONFIG_SETUP(i8243, "I8243" | |
| 19 | GENERIC_DEVICE_CONFIG_SETUP(i8243, "I8243" | |
| 20 | 20 | |
| 21 | 21 | //------------------------------------------------- |
| 22 | 22 | // static_set_read_handler - configuration helper |
| r10365 | r10366 | |
|---|---|---|
| 13 | 13 | // DEVICE CONFIGURATION |
| 14 | 14 | //************************************************************************** |
| 15 | 15 | |
| 16 | GENERIC_DEVICE_CONFIG_SETUP(k056230, "Konami 056230" | |
| 16 | GENERIC_DEVICE_CONFIG_SETUP(k056230, "Konami 056230" | |
| 17 | 17 | |
| 18 | 18 | //------------------------------------------------- |
| 19 | 19 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 54 | 54 | |
| 55 | 55 | const device_type ACIA6850 = acia6850_device_config::static_alloc_device_config; |
| 56 | 56 | |
| 57 | GENERIC_DEVICE_CONFIG_SETUP(acia6850, "6850 ACIA" | |
| 57 | GENERIC_DEVICE_CONFIG_SETUP(acia6850, "6850 ACIA" | |
| 58 | 58 | |
| 59 | 59 | //------------------------------------------------- |
| 60 | 60 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 31 | 31 | //------------------------------------------------- |
| 32 | 32 | |
| 33 | 33 | mb3773_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", | |
| 34 | : device_config(mconfig, static_alloc_device_config, "MB3773", | |
| 35 | 35 | { |
| 36 | 36 | } |
| 37 | 37 |
| r10365 | r10366 | |
|---|---|---|
| 198 | 198 | //------------------------------------------------- |
| 199 | 199 | |
| 200 | 200 | z80dart_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", | |
| 201 | : device_config(mconfig, static_alloc_device_config, "Zilog Z80 DART", | |
| 202 | 202 | device_config_z80daisy_interface(mconfig, *this) |
| 203 | 203 | { |
| 204 | 204 | } |
| r10365 | r10366 | |
|---|---|---|
| 45 | 45 | //************************************************************************** |
| 46 | 46 | |
| 47 | 47 | // 8-bit variants |
| 48 | DEFINE_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) | |
| 49 | DEFINE_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) | |
| 50 | DEFINE_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) | |
| 51 | DEFINE_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) | |
| 52 | DEFINE_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) | |
| 53 | DEFINE_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) | |
| 54 | DEFINE_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) | |
| 48 | DEFINE_TRIVIAL_DERIVED_DEVICE(intel_28f016s5_device_config, intelfsh8_device_config, intel_28f016s5_device, intelfsh8_device, "Sharp LH28F400 Flash", intelfsh_device_config::FLASH_SHARP_LH28F400) | |
| 49 | DEFINE_TRIVIAL_DERIVED_DEVICE(fujitsu_29f016a_device_config, intelfsh8_device_config, fujitsu_29f016a_device, intelfsh8_device, "Fujitsu 29F016A Flash", intelfsh_device_config::FLASH_FUJITSU_29F016A) | |
| 50 | DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f016s_device_config, intelfsh8_device_config, sharp_lh28f016s_device, intelfsh8_device, "Sharp LH28F016S Flash", intelfsh_device_config::FLASH_SHARP_LH28F016S) | |
| 51 | DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f008sa_device_config, intelfsh8_device_config, intel_e28f008sa_device, intelfsh8_device, "Intel E28F008SA Flash", intelfsh_device_config::FLASH_INTEL_E28F008SA) | |
| 52 | DEFINE_TRIVIAL_DERIVED_DEVICE(macronix_29l001mc_device_config, intelfsh8_device_config, macronix_29l001mc_device, intelfsh8_device, "Macronix 29L001MC Flash", intelfsh_device_config::FLASH_MACRONIX_29L001MC) | |
| 53 | DEFINE_TRIVIAL_DERIVED_DEVICE(panasonic_mn63f805mnp_device_config, intelfsh8_device_config, panasonic_mn63f805mnp_device, intelfsh8_device, "Panasonic MN63F805MNP Flash", intelfsh_device_config::FLASH_PANASONIC_MN63F805MNP) | |
| 54 | DEFINE_TRIVIAL_DERIVED_DEVICE(sanyo_le26fv10n1ts_device_config, intelfsh8_device_config, sanyo_le26fv10n1ts_device, intelfsh8_device, "Sanyo LE26FV10N1TS Flash", intelfsh_device_config::FLASH_SANYO_LE26FV10N1TS) | |
| 55 | 55 | |
| 56 | 56 | const device_type INTEL_28F016S5 = intel_28f016s5_device_config::static_alloc_device_config; |
| 57 | 57 | const device_type SHARP_LH28F016S = sharp_lh28f016s_device_config::static_alloc_device_config; |
| r10365 | r10366 | |
| 63 | 63 | |
| 64 | 64 | |
| 65 | 65 | // 16-bit variants |
| 66 | DEFINE_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) | |
| 67 | DEFINE_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) | |
| 68 | DEFINE_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) | |
| 69 | DEFINE_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) | |
| 66 | DEFINE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f400_device_config, intelfsh16_device_config, sharp_lh28f400_device, intelfsh16_device, "Sharp LH28F400 Flash", intelfsh_device_config::FLASH_SHARP_LH28F400) | |
| 67 | DEFINE_TRIVIAL_DERIVED_DEVICE(intel_te28f160_device_config, intelfsh16_device_config, intel_te28f160_device, intelfsh16_device, "Intel TE28F160 Flash", intelfsh_device_config::FLASH_INTEL_TE28F160) | |
| 68 | DEFINE_TRIVIAL_DERIVED_DEVICE(intel_e28f400_device_config, intelfsh16_device_config, intel_e28f400_device, intelfsh16_device, "Intel E28F400 Flash", intelfsh_device_config::FLASH_INTEL_E28F400) | |
| 69 | DEFINE_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) | |
| 70 | 70 | |
| 71 | 71 | const device_type SHARP_LH28F400 = sharp_lh28f400_device_config::static_alloc_device_config; |
| 72 | 72 | const device_type INTEL_TE28F160 = intel_te28f160_device_config::static_alloc_device_config; |
| r10365 | r10366 | |
| 118 | 118 | // intelfsh_device_config - constructor |
| 119 | 119 | //------------------------------------------------- |
| 120 | 120 | |
| 121 | intelfsh_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), | |
| 121 | intelfsh_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), | |
| 123 | 123 | device_config_memory_interface(mconfig, *this), |
| 124 | 124 | device_config_nvram_interface(mconfig, *this), |
| 125 | 125 | m_type(variant), |
| r10365 | r10366 | |
| 210 | 210 | m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map); |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | intelfsh8_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) | |
| 213 | intelfsh8_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) | |
| 215 | 215 | { |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | intelfsh16_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) | |
| 218 | intelfsh16_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) | |
| 220 | 220 | { |
| 221 | 221 | } |
| 222 | 222 |
| r10365 | r10366 | |
|---|---|---|
| 35 | 35 | //------------------------------------------------- |
| 36 | 36 | |
| 37 | 37 | x2212_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", | |
| 38 | : device_config(mconfig, static_alloc_device_config, "X2212", | |
| 39 | 39 | device_config_memory_interface(mconfig, *this), |
| 40 | 40 | device_config_nvram_interface(mconfig, *this), |
| 41 | 41 | m_sram_space_config("SRAM", ENDIANNESS_BIG, 8, 8, 0, *ADDRESS_MAP_NAME(x2212_sram_map)), |
| r10365 | r10366 | |
|---|---|---|
| 81 | 81 | }; |
| 82 | 82 | |
| 83 | 83 | // construction/destruction |
| 84 | intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 84 | intelfsh_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 85 | 85 | |
| 86 | 86 | // device_config_memory_interface overrides |
| 87 | 87 | virtual const address_space_config *memory_space_config(int spacenum = 0) const; |
| r10365 | r10366 | |
| 143 | 143 | |
| 144 | 144 | protected: |
| 145 | 145 | // construction/destruction |
| 146 | intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 146 | intelfsh8_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 147 | 147 | }; |
| 148 | 148 | |
| 149 | 149 | |
| r10365 | r10366 | |
| 182 | 182 | |
| 183 | 183 | protected: |
| 184 | 184 | // construction/destruction |
| 185 | intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 185 | intelfsh16_device_config(const machine_config &mconfig, device_type type, const char *name, const char * | |
| 186 | 186 | }; |
| 187 | 187 | |
| 188 | 188 |
| r10365 | r10366 | |
|---|---|---|
| 37 | 37 | //------------------------------------------------- |
| 38 | 38 | |
| 39 | 39 | at28c16_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", | |
| 40 | : device_config(mconfig, static_alloc_device_config, "AT28C16", | |
| 41 | 41 | device_config_memory_interface(mconfig, *this), |
| 42 | 42 | device_config_nvram_interface(mconfig, *this) |
| 43 | 43 | { |
| r10365 | r10366 | |
|---|---|---|
| 48 | 48 | // DEVICE CONFIGURATION |
| 49 | 49 | //************************************************************************** |
| 50 | 50 | |
| 51 | GENERIC_DEVICE_CONFIG_SETUP(i8237, "Intel 8237" | |
| 51 | GENERIC_DEVICE_CONFIG_SETUP(i8237, "Intel 8237" | |
| 52 | 52 | |
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | // device_config_complete - perform any |
| r10365 | r10366 | |
|---|---|---|
| 77 | 77 | //------------------------------------------------- |
| 78 | 78 | |
| 79 | 79 | eeprom_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", | |
| 80 | : device_config(mconfig, static_alloc_device_config, "EEPROM", | |
| 81 | 81 | device_config_memory_interface(mconfig, *this), |
| 82 | 82 | device_config_nvram_interface(mconfig, *this), |
| 83 | 83 | m_default_data_size(0), |
| r10365 | r10366 | |
|---|---|---|
| 303 | 303 | //------------------------------------------------- |
| 304 | 304 | |
| 305 | 305 | z80sio_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", | |
| 306 | : device_config(mconfig, static_alloc_device_config, "Zilog Z80 SIO", | |
| 307 | 307 | device_config_z80daisy_interface(mconfig, *this) |
| 308 | 308 | { |
| 309 | 309 | } |
| r10365 | r10366 | |
|---|---|---|
| 85 | 85 | //------------------------------------------------- |
| 86 | 86 | |
| 87 | 87 | z80ctc_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", | |
| 88 | : device_config(mconfig, static_alloc_device_config, "Zilog Z80 CTC", | |
| 89 | 89 | device_config_z80daisy_interface(mconfig, *this) |
| 90 | 90 | { |
| 91 | 91 | } |
| r10365 | r10366 | |
|---|---|---|
| 24 | 24 | //------------------------------------------------- |
| 25 | 25 | |
| 26 | 26 | ds2404_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", | |
| 27 | : device_config(mconfig, static_alloc_device_config, "DS2404", | |
| 28 | 28 | device_config_nvram_interface(mconfig, *this) |
| 29 | 29 | { |
| 30 | 30 | } |
| r10365 | r10366 | |
|---|---|---|
| 117 | 117 | //------------------------------------------------- |
| 118 | 118 | |
| 119 | 119 | mc146818_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", | |
| 120 | : device_config(mconfig, static_alloc_device_config, "NVRAM", | |
| 121 | 121 | device_config_nvram_interface(mconfig, *this), |
| 122 | 122 | m_type(MC146818_STANDARD) |
| 123 | 123 | { |
| r10365 | r10366 | |
|---|---|---|
| 72 | 72 | //------------------------------------------------- |
| 73 | 73 | |
| 74 | 74 | screen_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", | |
| 75 | : device_config(mconfig, static_alloc_device_config, "Video Screen", | |
| 76 | 76 | m_type(SCREEN_TYPE_RASTER), |
| 77 | 77 | m_width(0), |
| 78 | 78 | m_height(0), |
| r10365 | r10366 | |
|---|---|---|
| 69 | 69 | //------------------------------------------------- |
| 70 | 70 | |
| 71 | 71 | timer_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", | |
| 72 | : device_config(mconfig, static_alloc_device_config, "Timer", | |
| 73 | 73 | m_type(TIMER_TYPE_GENERIC), |
| 74 | 74 | m_callback(NULL), |
| 75 | 75 | m_ptr(NULL), |
| r10365 | r10366 | |
|---|---|---|
| 70 | 70 | //************************************************************************** |
| 71 | 71 | |
| 72 | 72 | ncr5380_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", | |
| 73 | : device_config(mconfig, static_alloc_device_config, "5380 SCSI", | |
| 74 | 74 | { |
| 75 | 75 | } |
| 76 | 76 |
| r10365 | r10366 | |
|---|---|---|
| 10 | 10 | //------------------------------------------------- |
| 11 | 11 | |
| 12 | 12 | x1_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", | |
| 13 | : device_config(mconfig, static_alloc_device_config, "X1 Keyboard", | |
| 14 | 14 | device_config_z80daisy_interface(mconfig, *this) |
| 15 | 15 | { |
| 16 | 16 | } |
| r10365 | r10366 | |
|---|---|---|
| 95 | 95 | // DEVICE CONFIGURATION |
| 96 | 96 | //************************************************************************** |
| 97 | 97 | |
| 98 | GENERIC_DEVICE_CONFIG_SETUP(cdp1871, "RCA CDP1871" | |
| 98 | GENERIC_DEVICE_CONFIG_SETUP(cdp1871, "RCA CDP1871" | |
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | //------------------------------------------------- |
| r10365 | r10366 | |
|---|---|---|
| 109 | 109 | |
| 110 | 110 | const device_type MB89352A = mb89352_device_config::static_alloc_device_config; |
| 111 | 111 | |
| 112 | GENERIC_DEVICE_CONFIG_SETUP(mb89352, "MB89352A" | |
| 112 | GENERIC_DEVICE_CONFIG_SETUP(mb89352, "MB89352A" | |
| 113 | 113 | |
| 114 | 114 | void mb89352_device_config::device_config_complete() |
| 115 | 115 | { |
| r10365 | r10366 | |
|---|---|---|
| 33 | 33 | |
| 34 | 34 | const device_type FMSCSI = fmscsi_device_config::static_alloc_device_config; |
| 35 | 35 | |
| 36 | GENERIC_DEVICE_CONFIG_SETUP(fmscsi, "FM-SCSI" | |
| 36 | GENERIC_DEVICE_CONFIG_SETUP(fmscsi, "FM-SCSI" | |
| 37 | 37 | |
| 38 | 38 | void fmscsi_device_config::device_config_complete() |
| 39 | 39 | { |
| r10365 | r10366 | |
|---|---|---|
| 14 | 14 | //------------------------------------------------- |
| 15 | 15 | |
| 16 | 16 | einstein_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", | |
| 17 | : device_config(mconfig, static_alloc_device_config, "Einstein keyboard daisy chain", | |
| 18 | 18 | device_config_z80daisy_interface(mconfig, *this) |
| 19 | 19 | { |
| 20 | 20 | } |
| r10365 | r10366 | |
| 113 | 113 | //------------------------------------------------- |
| 114 | 114 | |
| 115 | 115 | einstein_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", | |
| 116 | : device_config(mconfig, static_alloc_device_config, "Einstein ADC daisy chain", | |
| 117 | 117 | device_config_z80daisy_interface(mconfig, *this) |
| 118 | 118 | { |
| 119 | 119 | } |
| r10365 | r10366 | |
| 212 | 212 | //------------------------------------------------- |
| 213 | 213 | |
| 214 | 214 | einstein_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", | |
| 215 | : device_config(mconfig, static_alloc_device_config, "Einstein fire button daisy chain", | |
| 216 | 216 | device_config_z80daisy_interface(mconfig, *this) |
| 217 | 217 | { |
| 218 | 218 | } |
| r10365 | r10366 | |
|---|---|---|
| 491 | 491 | //------------------------------------------------- |
| 492 | 492 | |
| 493 | 493 | osborne1_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", | |
| 494 | : device_config(mconfig, static_alloc_device_config, "Osborne 1 daisy", | |
| 495 | 495 | device_config_z80daisy_interface(mconfig, *this) |
| 496 | 496 | { |
| 497 | 497 | } |
| r10365 | r10366 | |
|---|---|---|
| 76 | 76 | // DEVICE CONFIGURATION |
| 77 | 77 | //************************************************************************** |
| 78 | 78 | |
| 79 | GENERIC_DEVICE_CONFIG_SETUP(s1410, "Xebec S1410" | |
| 79 | GENERIC_DEVICE_CONFIG_SETUP(s1410, "Xebec S1410" | |
| 80 | 80 | |
| 81 | 81 | |
| 82 | 82 | //------------------------------------------------- |
| r10365 | r10366 | |
| 87 | 87 | |
| 88 | 88 | void s1410_device_config::device_config_complete() |
| 89 | 89 | { |
| 90 | m_shortname = "s1410"; | |
| 90 | 91 | } |
| 91 | 92 | |
| 92 | 93 |
| r10365 | r10366 | |
|---|---|---|
| 114 | 114 | //------------------------------------------------- |
| 115 | 115 | |
| 116 | 116 | i8155_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", | |
| 117 | : device_config(mconfig, static_alloc_device_config, "Intel 8155", | |
| 118 | 118 | device_config_memory_interface(mconfig, *this), |
| 119 | 119 | m_space_config("ram", ENDIANNESS_LITTLE, 8, 8, 0, NULL, *ADDRESS_MAP_NAME(i8155)) |
| 120 | 120 | { |
| r10365 | r10366 | |
|---|---|---|
| 63 | 63 | // DEVICE CONFIGURATION |
| 64 | 64 | //************************************************************************** |
| 65 | 65 | |
| 66 | GENERIC_DEVICE_CONFIG_SETUP(abc99, "Luxor ABC 99" | |
| 66 | GENERIC_DEVICE_CONFIG_SETUP(abc99, "Luxor ABC 99" | |
| 67 | 67 | |
| 68 | 68 | |
| 69 | 69 | //------------------------------------------------- |
| r10365 | r10366 | |
| 74 | 74 | |
| 75 | 75 | void abc99_device_config::device_config_complete() |
| 76 | 76 | { |
| 77 | m_shortname = "abc99"; | |
| 77 | 78 | } |
| 78 | 79 | |
| 79 | 80 |
| r10365 | r10366 | |
|---|---|---|
| 34 | 34 | // DEVICE CONFIGURATION |
| 35 | 35 | //************************************************************************** |
| 36 | 36 | |
| 37 | GENERIC_DEVICE_CONFIG_SETUP(i8212, "Intel 8212" | |
| 37 | GENERIC_DEVICE_CONFIG_SETUP(i8212, "Intel 8212" | |
| 38 | 38 | |
| 39 | 39 | |
| 40 | 40 | //------------------------------------------------- |
| r10365 | r10366 | |
|---|---|---|
| 114 | 114 | // DEVICE CONFIGURATION |
| 115 | 115 | //************************************************************************** |
| 116 | 116 | |
| 117 | GENERIC_DEVICE_CONFIG_SETUP(zx8302, "Sinclair ZX8302" | |
| 117 | GENERIC_DEVICE_CONFIG_SETUP(zx8302, "Sinclair ZX8302" | |
| 118 | 118 | |
| 119 | 119 | |
| 120 | 120 | //------------------------------------------------- |
| r10365 | r10366 | |
|---|---|---|
| 59 | 59 | //------------------------------------------------- |
| 60 | 60 | |
| 61 | 61 | i8355_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", | |
| 62 | : device_config(mconfig, static_alloc_device_config, "Intel 8355", | |
| 63 | 63 | device_config_memory_interface(mconfig, *this), |
| 64 | 64 | m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355)) |
| 65 | 65 | { |
| r10365 | r10366 | |
|---|---|---|
| 231 | 231 | //------------------------------------------------- |
| 232 | 232 | |
| 233 | 233 | crt9007_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", | |
| 234 | : device_config(mconfig, static_alloc_device_config, "SMC CRT9007", | |
| 235 | 235 | device_config_memory_interface(mconfig, *this), |
| 236 | 236 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(crt9007)) |
| 237 | 237 | { |
| r10365 | r10366 | |
|---|---|---|
| 58 | 58 | //------------------------------------------------- |
| 59 | 59 | |
| 60 | 60 | zx8301_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", | |
| 61 | : device_config(mconfig, static_alloc_device_config, "Sinclair ZX8301", | |
| 62 | 62 | device_config_memory_interface(mconfig, *this), |
| 63 | 63 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(zx8301)) |
| 64 | 64 | { |
| r10365 | r10366 | |
|---|---|---|
| 25 | 25 | //------------------------------------------------- |
| 26 | 26 | |
| 27 | 27 | hd44780_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", | |
| 28 | device_config(mconfig, static_alloc_device_config, "HD44780", | |
| 29 | 29 | { |
| 30 | 30 | } |
| 31 | 31 |
| r10365 | r10366 | |
|---|---|---|
| 54 | 54 | //------------------------------------------------- |
| 55 | 55 | |
| 56 | 56 | crt9212_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", | |
| 57 | : device_config(mconfig, static_alloc_device_config, "SMC CRT9212", | |
| 58 | 58 | { |
| 59 | 59 | } |
| 60 | 60 |
| r10365 | r10366 | |
|---|---|---|
| 42 | 42 | //------------------------------------------------- |
| 43 | 43 | |
| 44 | 44 | ef9345_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", | |
| 45 | device_config(mconfig, static_alloc_device_config, "ef9345", | |
| 46 | 46 | device_config_memory_interface(mconfig, *this), |
| 47 | 47 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(ef9345)) |
| 48 | 48 | { |
| r10365 | r10366 | |
|---|---|---|
| 81 | 81 | //------------------------------------------------- |
| 82 | 82 | |
| 83 | 83 | crt9021_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", | |
| 84 | : device_config(mconfig, static_alloc_device_config, "SMC CRT9021", | |
| 85 | 85 | { |
| 86 | 86 | } |
| 87 | 87 |
| r10365 | r10366 | |
|---|---|---|
| 80 | 80 | //------------------------------------------------- |
| 81 | 81 | |
| 82 | 82 | hd61830_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", | |
| 83 | : device_config(mconfig, static_alloc_device_config, "Hitachi HD61830", | |
| 84 | 84 | device_config_memory_interface(mconfig, *this), |
| 85 | 85 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(hd61830)) |
| 86 | 86 | { |
| 87 | m_shortname = "hd61830"; | |
| 87 | 88 | } |
| 88 | 89 | |
| 89 | 90 |
| r10365 | r10366 | |
|---|---|---|
| 29 | 29 | //------------------------------------------------- |
| 30 | 30 | |
| 31 | 31 | hd44352_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", | |
| 32 | device_config(mconfig, static_alloc_device_config, "hd44352", | |
| 33 | 33 | { |
| 34 | 34 | } |
| 35 | 35 |
| Previous | 15994 Revisions | Next |