src/mame/machine/atari_vg.c
| r14328 | r14329 | |
| 7 | 7 | #include "emu.h" |
| 8 | 8 | #include "atari_vg.h" |
| 9 | 9 | |
| 10 | | #define EAROM_SIZE 0x40 |
| 11 | 10 | |
| 11 | // device type definition |
| 12 | const device_type ATARIVGEAROM = &device_creator<atari_vg_earom_device>; |
| 12 | 13 | |
| 13 | | typedef struct _atari_vg_earom_state atari_vg_earom_state; |
| 14 | | struct _atari_vg_earom_state |
| 15 | | { |
| 16 | | device_t *device; |
| 14 | //------------------------------------------------- |
| 15 | // atari_vg_earom_device - constructor |
| 16 | //------------------------------------------------- |
| 17 | 17 | |
| 18 | | int offset; |
| 19 | | int data; |
| 20 | | char rom[EAROM_SIZE]; |
| 21 | | |
| 22 | | }; |
| 23 | | |
| 24 | | |
| 25 | | /*************************************************************************** |
| 26 | | INLINE FUNCTIONS |
| 27 | | ***************************************************************************/ |
| 28 | | |
| 29 | | /*------------------------------------------------- |
| 30 | | get_safe_token - convert a device's token |
| 31 | | into a atari_vg_earom_state |
| 32 | | -------------------------------------------------*/ |
| 33 | | |
| 34 | | INLINE atari_vg_earom_state *get_safe_token(device_t *device) |
| 18 | atari_vg_earom_device::atari_vg_earom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 19 | : device_t(mconfig, ATARIVGEAROM, "ATARI VG EAROM", tag, owner, clock), |
| 20 | device_nvram_interface(mconfig, *this) |
| 35 | 21 | { |
| 36 | | assert(device != NULL); |
| 37 | | assert(device->type() == ATARIVGEAROM); |
| 38 | | return (atari_vg_earom_state *)downcast<legacy_device_base *>(device)->token(); |
| 39 | 22 | } |
| 40 | 23 | |
| 41 | 24 | |
| 42 | | |
| 43 | | |
| 44 | | READ8_DEVICE_HANDLER( atari_vg_earom_r ) |
| 25 | READ8_MEMBER( atari_vg_earom_device::read ) |
| 45 | 26 | { |
| 46 | | atari_vg_earom_state *earom = get_safe_token(device); |
| 47 | | |
| 48 | | logerror("read earom: %02x(%02x):%02x\n", earom->offset, offset, earom->data); |
| 49 | | return (earom->data); |
| 27 | logerror("read earom: %02x(%02x):%02x\n", m_offset, offset, m_data); |
| 28 | return (m_data); |
| 50 | 29 | } |
| 51 | 30 | |
| 52 | 31 | |
| 53 | | WRITE8_DEVICE_HANDLER( atari_vg_earom_w ) |
| 32 | WRITE8_MEMBER( atari_vg_earom_device::write ) |
| 54 | 33 | { |
| 55 | | atari_vg_earom_state *earom = get_safe_token(device); |
| 56 | | |
| 57 | 34 | logerror("write earom: %02x:%02x\n", offset, data); |
| 58 | | earom->offset = offset; |
| 59 | | earom->data = data; |
| 35 | m_offset = offset; |
| 36 | m_data = data; |
| 60 | 37 | } |
| 61 | 38 | |
| 62 | 39 | |
| 63 | 40 | /* 0,8 and 14 get written to this location, too. |
| 64 | 41 | * Don't know what they do exactly |
| 65 | 42 | */ |
| 66 | | WRITE8_DEVICE_HANDLER( atari_vg_earom_ctrl_w ) |
| 43 | WRITE8_MEMBER( atari_vg_earom_device::ctrl_w ) |
| 67 | 44 | { |
| 68 | | atari_vg_earom_state *earom = get_safe_token(device); |
| 69 | | |
| 70 | 45 | logerror("earom ctrl: %02x:%02x\n",offset, data); |
| 71 | 46 | /* |
| 72 | 47 | 0x01 = clock |
| r14328 | r14329 | |
| 76 | 51 | */ |
| 77 | 52 | if (data & 0x01) |
| 78 | 53 | { |
| 79 | | earom->data = earom->rom[earom->offset]; |
| 80 | | //printf("Read %02X = %02X\n", earom->offset, earom->data); |
| 54 | m_data = m_rom[m_offset]; |
| 55 | //printf("Read %02X = %02X\n", m_offset, m_data); |
| 81 | 56 | } |
| 82 | 57 | if ((data & 0x0c) == 0x0c) |
| 83 | 58 | { |
| 84 | | earom->rom[earom->offset]=earom->data; |
| 85 | | logerror(" written %02x:%02x\n", earom->offset, earom->data); |
| 86 | | //printf("Write %02X = %02X\n", earom->offset, earom->data); |
| 59 | m_rom[m_offset]=m_data; |
| 60 | logerror(" written %02x:%02x\n", m_offset, m_data); |
| 61 | //printf("Write %02X = %02X\n", m_offset, m_data); |
| 87 | 62 | } |
| 88 | 63 | } |
| 89 | 64 | |
| 65 | //------------------------------------------------- |
| 66 | // nvram_default - called to initialize NVRAM to |
| 67 | // its default state |
| 68 | //------------------------------------------------- |
| 90 | 69 | |
| 91 | | static DEVICE_NVRAM( atari_vg_earom ) |
| 70 | void atari_vg_earom_device::nvram_default() |
| 92 | 71 | { |
| 93 | | atari_vg_earom_state *earom = get_safe_token(device); |
| 94 | | |
| 95 | | if (read_or_write) |
| 96 | | file->write(earom->rom,EAROM_SIZE); |
| 97 | | else if (file) |
| 98 | | file->read(earom->rom,EAROM_SIZE); |
| 99 | | else |
| 100 | | memset(earom,0,EAROM_SIZE); |
| 72 | memset(m_rom,0,EAROM_SIZE); |
| 101 | 73 | } |
| 102 | 74 | |
| 75 | //------------------------------------------------- |
| 76 | // nvram_read - called to read NVRAM from the |
| 77 | // .nv file |
| 78 | //------------------------------------------------- |
| 103 | 79 | |
| 104 | | /*************************************************************************** |
| 105 | | DEVICE INTERFACE |
| 106 | | ***************************************************************************/ |
| 107 | | |
| 108 | | static DEVICE_START( atari_vg_earom ) |
| 80 | void atari_vg_earom_device::nvram_read(emu_file &file) |
| 109 | 81 | { |
| 110 | | atari_vg_earom_state *earom = get_safe_token(device); |
| 111 | | |
| 112 | | /* validate arguments */ |
| 113 | | assert(device != NULL); |
| 114 | | |
| 115 | | /* set static values */ |
| 116 | | earom->device = device; |
| 117 | | |
| 118 | | /* register for save states */ |
| 119 | | device->save_item(NAME(earom->offset)); |
| 120 | | device->save_item(NAME(earom->data)); |
| 82 | file.read(m_rom,EAROM_SIZE); |
| 121 | 83 | } |
| 122 | 84 | |
| 85 | //------------------------------------------------- |
| 86 | // nvram_write - called to write NVRAM to the |
| 87 | // .nv file |
| 88 | //------------------------------------------------- |
| 123 | 89 | |
| 124 | | static DEVICE_RESET( atari_vg_earom ) |
| 90 | void atari_vg_earom_device::nvram_write(emu_file &file) |
| 125 | 91 | { |
| 126 | | atari_vg_earom_state *earom = get_safe_token(device); |
| 127 | | |
| 128 | | earom->data = 0; |
| 129 | | earom->offset = 0; |
| 92 | file.write(m_rom,EAROM_SIZE); |
| 130 | 93 | } |
| 131 | 94 | |
| 132 | | |
| 133 | | DEVICE_GET_INFO( atari_vg_earom ) |
| 95 | //------------------------------------------------- |
| 96 | // device_start - device-specific startup |
| 97 | //------------------------------------------------- |
| 98 | void atari_vg_earom_device::device_start() |
| 134 | 99 | { |
| 135 | | switch (state) |
| 136 | | { |
| 137 | | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 138 | | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(atari_vg_earom_state); break; |
| 139 | | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 100 | /* register for save states */ |
| 101 | save_item(NAME(m_offset)); |
| 102 | save_item(NAME(m_data)); |
| 103 | } |
| 140 | 104 | |
| 141 | | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 142 | | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(atari_vg_earom);break; |
| 143 | | case DEVINFO_FCT_NVRAM: info->nvram = DEVICE_NVRAM_NAME(atari_vg_earom); break; |
| 144 | | case DEVINFO_FCT_STOP: /* Nothing */ break; |
| 145 | | case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(atari_vg_earom);break; |
| 105 | //------------------------------------------------- |
| 106 | // device_reset - device-specific reset |
| 107 | //------------------------------------------------- |
| 146 | 108 | |
| 147 | | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 148 | | case DEVINFO_STR_NAME: strcpy(info->s, "atari_vg_earom"); break; |
| 149 | | case DEVINFO_STR_FAMILY: strcpy(info->s, "EEPROM"); break; |
| 150 | | case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; |
| 151 | | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 152 | | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Nicola Salmoria and the MAME Team"); break; |
| 153 | | } |
| 109 | void atari_vg_earom_device::device_reset() |
| 110 | { |
| 111 | m_data = 0; |
| 112 | m_offset = 0; |
| 154 | 113 | } |
| 155 | 114 | |
| 156 | | |
| 157 | | DEFINE_LEGACY_NVRAM_DEVICE(ATARIVGEAROM, atari_vg_earom); |
src/mame/drivers/namcos12.c
| r14328 | r14329 | |
| 1374 | 1374 | |
| 1375 | 1375 | if( strcmp( machine.system().name, "tektagt" ) == 0 || |
| 1376 | 1376 | strcmp( machine.system().name, "tektagtac" ) == 0 || |
| 1377 | strcmp( machine.system().name, "tektagtac1" ) == 0 || |
| 1377 | 1378 | strcmp( machine.system().name, "tektagtub" ) == 0 || |
| 1378 | 1379 | strcmp( machine.system().name, "tektagtjb" ) == 0 || |
| 1379 | 1380 | strcmp( machine.system().name, "tektagtja" ) == 0 ) |
| r14328 | r14329 | |
| 1386 | 1387 | |
| 1387 | 1388 | if( strcmp( machine.system().name, "tektagt" ) == 0 || |
| 1388 | 1389 | strcmp( machine.system().name, "tektagtac" ) == 0 || |
| 1390 | strcmp( machine.system().name, "tektagtac1" ) == 0 || |
| 1389 | 1391 | strcmp( machine.system().name, "tektagtub" ) == 0 || |
| 1390 | 1392 | strcmp( machine.system().name, "tektagtjb" ) == 0 || |
| 1391 | 1393 | strcmp( machine.system().name, "tektagtja" ) == 0 || |
| r14328 | r14329 | |
| 2545 | 2547 | ROM_LOAD16_BYTE( "teg3verc.2p", 0x0000001, 0x200000, CRC(7caef9b2) SHA1(5c56d69ba2f723d0a4fbe4902196efc6ba9d5094) ) |
| 2546 | 2548 | |
| 2547 | 2549 | ROM_REGION32_LE( 0x3800000, "user2", 0 ) /* main data */ |
| 2548 | | ROM_LOAD32_WORD( "teg3rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2549 | | ROM_LOAD32_WORD( "teg3rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2550 | | ROM_LOAD32_WORD( "teg3rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2551 | | ROM_LOAD32_WORD( "teg3rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2552 | | ROM_LOAD32_WORD( "teg3rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2553 | | ROM_LOAD32_WORD( "teg3rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2550 | ROM_LOAD32_WORD( "teg1rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2551 | ROM_LOAD32_WORD( "teg1rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2552 | ROM_LOAD32_WORD( "teg1rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2553 | ROM_LOAD32_WORD( "teg1rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2554 | ROM_LOAD32_WORD( "teg1rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2555 | ROM_LOAD32_WORD( "teg1rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2554 | 2556 | |
| 2555 | | ROM_LOAD32_BYTE( "teg3flel.4", 0x3000000, 0x200000, CRC(88b3823c) SHA1(6f31acb642c57daccbfdb87b790037e261c8c73c) ) |
| 2556 | | ROM_LOAD32_BYTE( "teg3fleu.5", 0x3000001, 0x200000, CRC(36df0867) SHA1(6bec8560ad4c122dc909daa83aa9089ba5b281f7) ) |
| 2557 | | ROM_LOAD32_BYTE( "teg3flol.6", 0x3000002, 0x200000, CRC(03a76765) SHA1(ae35ae28375f2a3e52d72b77ec09750c326cc269) ) |
| 2558 | | ROM_LOAD32_BYTE( "teg3flou.7", 0x3000003, 0x200000, CRC(6d6947d1) SHA1(2f307bc4070fadb510c0473bc91d917b2d845ca5) ) |
| 2557 | ROM_LOAD32_BYTE( "teg_flel.4", 0x3000000, 0x200000, CRC(88b3823c) SHA1(6f31acb642c57daccbfdb87b790037e261c8c73c) ) /* Flash roms with no labels */ |
| 2558 | ROM_LOAD32_BYTE( "teg_fleu.5", 0x3000001, 0x200000, CRC(36df0867) SHA1(6bec8560ad4c122dc909daa83aa9089ba5b281f7) ) |
| 2559 | ROM_LOAD32_BYTE( "teg_flol.6", 0x3000002, 0x200000, CRC(03a76765) SHA1(ae35ae28375f2a3e52d72b77ec09750c326cc269) ) |
| 2560 | ROM_LOAD32_BYTE( "teg_flou.7", 0x3000003, 0x200000, CRC(6d6947d1) SHA1(2f307bc4070fadb510c0473bc91d917b2d845ca5) ) |
| 2559 | 2561 | |
| 2560 | 2562 | ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */ |
| 2561 | | ROM_LOAD16_WORD_SWAP( "teg3verb.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) |
| 2563 | ROM_LOAD16_WORD_SWAP( "teg1.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) /* No label for this one */ |
| 2562 | 2564 | |
| 2563 | 2565 | ROM_REGION( 0x1000000, "c352", 0 ) /* samples */ |
| 2564 | | ROM_LOAD( "teg3wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2565 | | ROM_LOAD( "teg3wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2566 | ROM_LOAD( "teg1wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2567 | ROM_LOAD( "teg1wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2566 | 2568 | ROM_END |
| 2567 | 2569 | |
| 2568 | 2570 | ROM_START( tektagtub ) |
| r14328 | r14329 | |
| 2571 | 2573 | ROM_LOAD16_BYTE( "teg3verb.2p", 0x0000001, 0x200000, CRC(1dbe7591) SHA1(af464caa03fdd12024ad482e9c853a36510bfba7) ) |
| 2572 | 2574 | |
| 2573 | 2575 | ROM_REGION32_LE( 0x3800000, "user2", 0 ) /* main data */ |
| 2574 | | ROM_LOAD32_WORD( "teg3rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2575 | | ROM_LOAD32_WORD( "teg3rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2576 | | ROM_LOAD32_WORD( "teg3rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2577 | | ROM_LOAD32_WORD( "teg3rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2578 | | ROM_LOAD32_WORD( "teg3rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2579 | | ROM_LOAD32_WORD( "teg3rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2576 | ROM_LOAD32_WORD( "teg1rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2577 | ROM_LOAD32_WORD( "teg1rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2578 | ROM_LOAD32_WORD( "teg1rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2579 | ROM_LOAD32_WORD( "teg1rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2580 | ROM_LOAD32_WORD( "teg1rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2581 | ROM_LOAD32_WORD( "teg1rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2580 | 2582 | |
| 2581 | | ROM_LOAD32_BYTE( "teg3flel.4", 0x3000000, 0x200000, CRC(88b3823c) SHA1(6f31acb642c57daccbfdb87b790037e261c8c73c) ) |
| 2582 | | ROM_LOAD32_BYTE( "teg3fleu.5", 0x3000001, 0x200000, CRC(36df0867) SHA1(6bec8560ad4c122dc909daa83aa9089ba5b281f7) ) |
| 2583 | | ROM_LOAD32_BYTE( "teg3flol.6", 0x3000002, 0x200000, CRC(03a76765) SHA1(ae35ae28375f2a3e52d72b77ec09750c326cc269) ) |
| 2584 | | ROM_LOAD32_BYTE( "teg3flou.7", 0x3000003, 0x200000, CRC(6d6947d1) SHA1(2f307bc4070fadb510c0473bc91d917b2d845ca5) ) |
| 2583 | ROM_LOAD32_BYTE( "teg_flel.4", 0x3000000, 0x200000, CRC(88b3823c) SHA1(6f31acb642c57daccbfdb87b790037e261c8c73c) ) /* Flash roms with no labels */ |
| 2584 | ROM_LOAD32_BYTE( "teg_fleu.5", 0x3000001, 0x200000, CRC(36df0867) SHA1(6bec8560ad4c122dc909daa83aa9089ba5b281f7) ) |
| 2585 | ROM_LOAD32_BYTE( "teg_flol.6", 0x3000002, 0x200000, CRC(03a76765) SHA1(ae35ae28375f2a3e52d72b77ec09750c326cc269) ) |
| 2586 | ROM_LOAD32_BYTE( "teg_flou.7", 0x3000003, 0x200000, CRC(6d6947d1) SHA1(2f307bc4070fadb510c0473bc91d917b2d845ca5) ) |
| 2585 | 2587 | |
| 2586 | 2588 | ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */ |
| 2587 | | ROM_LOAD16_WORD_SWAP( "teg3verb.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) |
| 2589 | ROM_LOAD16_WORD_SWAP( "teg1.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) /* No label for this one */ |
| 2588 | 2590 | |
| 2589 | 2591 | ROM_REGION( 0x1000000, "c352", 0 ) /* samples */ |
| 2590 | | ROM_LOAD( "teg3wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2591 | | ROM_LOAD( "teg3wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2592 | ROM_LOAD( "teg1wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2593 | ROM_LOAD( "teg1wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2592 | 2594 | ROM_END |
| 2593 | 2595 | |
| 2594 | 2596 | ROM_START( tektagtjb ) |
| r14328 | r14329 | |
| 2597 | 2599 | ROM_LOAD16_BYTE( "teg1verb.2j", 0x0000001, 0x200000, CRC(5413e2ed) SHA1(d453f7932654d8258c67eb7fe3639d71db7e414c) ) |
| 2598 | 2600 | |
| 2599 | 2601 | ROM_REGION32_LE( 0x3800000, "user2", 0 ) /* main data */ |
| 2600 | | ROM_LOAD32_WORD( "teg3rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2601 | | ROM_LOAD32_WORD( "teg3rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2602 | | ROM_LOAD32_WORD( "teg3rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2603 | | ROM_LOAD32_WORD( "teg3rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2604 | | ROM_LOAD32_WORD( "teg3rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2605 | | ROM_LOAD32_WORD( "teg3rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2602 | ROM_LOAD32_WORD( "teg1rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2603 | ROM_LOAD32_WORD( "teg1rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2604 | ROM_LOAD32_WORD( "teg1rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2605 | ROM_LOAD32_WORD( "teg1rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2606 | ROM_LOAD32_WORD( "teg1rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2607 | ROM_LOAD32_WORD( "teg1rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2606 | 2608 | |
| 2607 | | ROM_LOAD32_BYTE( "teg1flel.4", 0x3000000, 0x200000, NO_DUMP ) |
| 2609 | ROM_LOAD32_BYTE( "teg1flel.4", 0x3000000, 0x200000, NO_DUMP ) /* Requires different data or other issue ? */ |
| 2608 | 2610 | ROM_LOAD32_BYTE( "teg1fleu.5", 0x3000001, 0x200000, NO_DUMP ) |
| 2609 | 2611 | ROM_LOAD32_BYTE( "teg1flol.6", 0x3000002, 0x200000, NO_DUMP ) |
| 2610 | 2612 | ROM_LOAD32_BYTE( "teg1flou.7", 0x3000003, 0x200000, NO_DUMP ) |
| 2611 | 2613 | |
| 2612 | 2614 | ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */ |
| 2613 | | ROM_LOAD16_WORD_SWAP( "teg3verb.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) |
| 2615 | ROM_LOAD16_WORD_SWAP( "teg1.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) /* No label for this one */ |
| 2614 | 2616 | |
| 2615 | 2617 | ROM_REGION( 0x1000000, "c352", 0 ) /* samples */ |
| 2616 | | ROM_LOAD( "teg3wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2617 | | ROM_LOAD( "teg3wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2618 | ROM_LOAD( "teg1wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2619 | ROM_LOAD( "teg1wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2618 | 2620 | ROM_END |
| 2619 | 2621 | |
| 2620 | 2622 | ROM_START( tektagtja ) |
| r14328 | r14329 | |
| 2623 | 2625 | ROM_LOAD16_BYTE( "teg1vera.2j", 0x0000001, 0x200000, CRC(97cd9524) SHA1(8031cb465db378a6d9db9b132cf1169b94cba7dc) ) |
| 2624 | 2626 | |
| 2625 | 2627 | ROM_REGION32_LE( 0x3800000, "user2", 0 ) /* main data */ |
| 2626 | | ROM_LOAD32_WORD( "teg3rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2627 | | ROM_LOAD32_WORD( "teg3rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2628 | | ROM_LOAD32_WORD( "teg3rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2629 | | ROM_LOAD32_WORD( "teg3rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2630 | | ROM_LOAD32_WORD( "teg3rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2631 | | ROM_LOAD32_WORD( "teg3rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2628 | ROM_LOAD32_WORD( "teg1rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2629 | ROM_LOAD32_WORD( "teg1rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2630 | ROM_LOAD32_WORD( "teg1rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2631 | ROM_LOAD32_WORD( "teg1rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2632 | ROM_LOAD32_WORD( "teg1rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2633 | ROM_LOAD32_WORD( "teg1rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2632 | 2634 | |
| 2633 | | ROM_LOAD32_BYTE( "teg1flel.4", 0x3000000, 0x200000, NO_DUMP ) |
| 2635 | ROM_LOAD32_BYTE( "teg1flel.4", 0x3000000, 0x200000, NO_DUMP ) /* Requires different data or other issue ? */ |
| 2634 | 2636 | ROM_LOAD32_BYTE( "teg1fleu.5", 0x3000001, 0x200000, NO_DUMP ) |
| 2635 | 2637 | ROM_LOAD32_BYTE( "teg1flol.6", 0x3000002, 0x200000, NO_DUMP ) |
| 2636 | 2638 | ROM_LOAD32_BYTE( "teg1flou.7", 0x3000003, 0x200000, NO_DUMP ) |
| 2637 | 2639 | |
| 2638 | 2640 | ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */ |
| 2639 | | ROM_LOAD16_WORD_SWAP( "teg3verb.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) |
| 2641 | ROM_LOAD16_WORD_SWAP( "teg1.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) /* No label for this one */ |
| 2640 | 2642 | |
| 2641 | 2643 | ROM_REGION( 0x1000000, "c352", 0 ) /* samples */ |
| 2642 | | ROM_LOAD( "teg3wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2643 | | ROM_LOAD( "teg3wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2644 | ROM_LOAD( "teg1wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2645 | ROM_LOAD( "teg1wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2644 | 2646 | ROM_END |
| 2645 | 2647 | |
| 2646 | 2648 | ROM_START( tektagtac ) |
| 2647 | 2649 | ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */ |
| 2648 | | ROM_LOAD16_BYTE( "teg2verc1.2e", 0x0000000, 0x200000, CRC(c0800960) SHA1(80fc8910ebb2399b3be3c9ea87cc1d9283b42676) ) |
| 2649 | | ROM_LOAD16_BYTE( "teg2verc1.2j", 0x0000001, 0x200000, CRC(c0476713) SHA1(e51e4f3cd20ad6838fb05aaede0ab288e145e7a2) ) |
| 2650 | ROM_LOAD16_BYTE( "teg2verc.2e", 0x0000000, 0x200000, CRC(c6da0717) SHA1(9e01ae64710d85eb9899d6fa6fd0a2152aee8c11) ) /* Modified to work with alt romboard? */ |
| 2651 | ROM_LOAD16_BYTE( "teg2verc.2j", 0x0000001, 0x200000, CRC(25a1d2ff) SHA1(529a11a1bbb8655534d7ec371f1c09e9e387ed11) ) |
| 2650 | 2652 | |
| 2651 | 2653 | ROM_REGION32_LE( 0x3800000, "user2", 0 ) /* main data */ |
| 2654 | ROM_LOAD32_WORD( "teg1rom0e.9", 0x0000000, 0x800000, CRC(c962a373) SHA1(d662dbd89ef62c5ac3150a018fc2d35ef2ee94ac) ) |
| 2655 | ROM_LOAD32_WORD( "teg1rom0o.13", 0x0000002, 0x800000, CRC(badb7dcf) SHA1(8c0bf7f6351c5a2a0996df371a901cf90c68cd8c) ) |
| 2656 | ROM_LOAD32_WORD( "teg1rom1e.10", 0x1000000, 0x800000, CRC(b3d56124) SHA1(4df20c74ba63f7362caf15e9b8949fab655704fb) ) |
| 2657 | ROM_LOAD32_WORD( "teg1rom1o.14", 0x1000002, 0x800000, CRC(2434ceb6) SHA1(f19f1599acbd6fd48793a2ee5a500ca817d9df56) ) |
| 2658 | ROM_LOAD32_WORD( "teg1rom2e.11", 0x2000000, 0x800000, CRC(6e5c3428) SHA1(e3cdb60a4445406877b2e273385f34bfb0974220) ) |
| 2659 | ROM_LOAD32_WORD( "teg1rom2o.15", 0x2000002, 0x800000, CRC(21ce9dfa) SHA1(f27e8210ee236c327aa3e1ce4dd408abc6580a1b) ) |
| 2660 | |
| 2661 | ROM_LOAD32_BYTE( "teg_flel.4", 0x3000000, 0x200000, CRC(88b3823c) SHA1(6f31acb642c57daccbfdb87b790037e261c8c73c) ) /* Flash roms with no labels */ |
| 2662 | ROM_LOAD32_BYTE( "teg_fleu.5", 0x3000001, 0x200000, CRC(36df0867) SHA1(6bec8560ad4c122dc909daa83aa9089ba5b281f7) ) |
| 2663 | ROM_LOAD32_BYTE( "teg_flol.6", 0x3000002, 0x200000, CRC(03a76765) SHA1(ae35ae28375f2a3e52d72b77ec09750c326cc269) ) |
| 2664 | ROM_LOAD32_BYTE( "teg_flou.7", 0x3000003, 0x200000, CRC(6d6947d1) SHA1(2f307bc4070fadb510c0473bc91d917b2d845ca5) ) |
| 2665 | |
| 2666 | ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */ |
| 2667 | ROM_LOAD16_WORD_SWAP( "teg1.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) /* No label for this one */ |
| 2668 | |
| 2669 | ROM_REGION( 0x1000000, "c352", 0 ) /* samples */ |
| 2670 | ROM_LOAD( "teg1wave0.1", 0x0000000, 0x800000, CRC(4bd99104) SHA1(f76b0576cc28fe49d3c1c402988b933933e52e15) ) |
| 2671 | ROM_LOAD( "teg1wave1.12", 0x0800000, 0x800000, CRC(dbc74fff) SHA1(601b7e7361ea744b34e3fa1fc39d88641de7f4c6) ) |
| 2672 | ROM_END |
| 2673 | |
| 2674 | ROM_START( tektagtac1 ) |
| 2675 | ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */ |
| 2676 | ROM_LOAD16_BYTE( "teg2ver_c1.2e", 0x0000000, 0x200000, CRC(c0800960) SHA1(80fc8910ebb2399b3be3c9ea87cc1d9283b42676) ) |
| 2677 | ROM_LOAD16_BYTE( "teg2ver_c1.2j", 0x0000001, 0x200000, CRC(c0476713) SHA1(e51e4f3cd20ad6838fb05aaede0ab288e145e7a2) ) |
| 2678 | |
| 2679 | ROM_REGION32_LE( 0x3800000, "user2", 0 ) /* main data */ |
| 2652 | 2680 | ROM_LOAD32_WORD( "teg2roml0", 0x0000000, 0x400000, CRC(cf984e85) SHA1(4d8296998b5f225b3f20bfdcb092a64b6e1fa76e) ) |
| 2653 | 2681 | ROM_LOAD32_WORD( "teg2romh0", 0x0800000, 0x400000, CRC(ea088657) SHA1(fbacca78832f68a310bafd06188d645e3424e0ed) ) |
| 2654 | 2682 | ROM_LOAD32_WORD( "teg2roml00.ic13", 0x0000002, 0x400000, CRC(927723a5) SHA1(075aaca1700c9134496eb9a73cbe325ddc74eae1) ) /* located on the opposite side of the ROM PCB */ |
| r14328 | r14329 | |
| 2661 | 2689 | ROM_LOAD32_WORD( "teg2romh2", 0x2800000, 0x400000, CRC(8c03b301) SHA1(f395a4685e2deb8f7e9afc18ce15fa0d392b0cfa) ) |
| 2662 | 2690 | ROM_LOAD32_WORD( "teg2roml20.ic15", 0x2000002, 0x400000, CRC(ed5ec7f7) SHA1(c91085a64ced95ee6618303987de61893e069742) ) /* located on the opposite side of the ROM PCB */ |
| 2663 | 2691 | ROM_LOAD32_WORD( "teg2romh20", 0x2800002, 0x400000, CRC(c873c362) SHA1(d95451a7477b716c0d75ba04e1d8df3d8a4e10dd) ) |
| 2664 | | ROM_LOAD32_WORD( "teg2rf4", 0x3000000, 0x400000, CRC(612f6a37) SHA1(bd9597ef802e3c46f891f0ef523a3e0b0fe22672) ) |
| 2665 | | ROM_LOAD32_WORD( "teg2rf6", 0x3000002, 0x400000, CRC(0c9292ce) SHA1(664c6ccf18042ed8ebc29b1781ae7454acb05ba1) ) |
| 2692 | ROM_LOAD32_WORD( "teg2rf4", 0x3000000, 0x400000, CRC(612f6a37) SHA1(bd9597ef802e3c46f891f0ef523a3e0b0fe22672) ) /* Different data?? Second half blank, all 0x00? */ |
| 2693 | ROM_LOAD32_WORD( "teg2rf6", 0x3000002, 0x400000, CRC(0c9292ce) SHA1(664c6ccf18042ed8ebc29b1781ae7454acb05ba1) ) /* Different data?? Second half blank, all 0x00? */ |
| 2666 | 2694 | |
| 2667 | 2695 | ROM_REGION( 0x0080000, "sub", 0 ) /* sound prg */ |
| 2668 | | ROM_LOAD16_WORD_SWAP( "teg3verb.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) |
| 2696 | ROM_LOAD16_WORD_SWAP( "teg1.11s", 0x0000000, 0x080000, CRC(67d0c469) SHA1(da164702fc21b9f46a9e32c89e7b1d36070ddf79) ) /* No label for this one */ |
| 2669 | 2697 | |
| 2670 | 2698 | ROM_REGION( 0x1000000, "c352", 0 ) /* samples */ |
| 2671 | 2699 | ROM_LOAD( "teg2wavel0.ic12", 0x0000000, 0x400000, CRC(1865336f) SHA1(deda6d129daf709b0316f6260e67613fbf849e57) ) /* located on the opposite side of the ROM PCB */ |
| r14328 | r14329 | |
| 2795 | 2823 | GAME( 1999, gunbarl, ptblank2, coh700, ptblank2, ptblank2, ROT0, "Namco", "Gunbarl (Japan, GNB4/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC042 */ |
| 2796 | 2824 | GAME( 1999, sws99, 0, coh700, namcos12, namcos12, ROT0, "Namco", "Super World Stadium '99 (Japan, SS91/VER.A3)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC043 */ |
| 2797 | 2825 | GAME( 1999, tektagt, 0, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (US, TEG3/VER.C1)", GAME_IMPERFECT_SOUND ) /* KC044 */ |
| 2798 | | GAME( 1999, tektagtac, tektagt, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (Asia, TEG2/VER.C1)", GAME_IMPERFECT_SOUND ) /* KC044 */ |
| 2826 | GAME( 1999, tektagtac, tektagt, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (Asia, TEG2/VER.C1, set 1)", GAME_IMPERFECT_SOUND ) /* KC044 */ |
| 2827 | GAME( 1999, tektagtac1,tektagt, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (Asia, TEG2/VER.C1, set 2)", GAME_IMPERFECT_SOUND ) /* KC044 */ |
| 2799 | 2828 | GAME( 1999, tektagtub, tektagt, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (US, TEG3/VER.B)", GAME_IMPERFECT_SOUND ) /* KC044 */ |
| 2800 | 2829 | GAME( 1999, tektagtjb, tektagt, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (Japan, TEG1/VER.B)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) /* KC044 */ |
| 2801 | 2830 | GAME( 1999, tektagtja, tektagt, coh700, namcos12, namcos12, ROT0, "Namco", "Tekken Tag Tournament (Japan, TEG1/VER.A3)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) /* KC044 */ |
src/mame/drivers/centiped.c
| r14328 | r14329 | |
| 699 | 699 | AM_RANGE(0x0c03, 0x0c03) AM_READ_PORT("IN3") /* IN3 */ |
| 700 | 700 | AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey", pokey_r, pokey_w) |
| 701 | 701 | AM_RANGE(0x1400, 0x140f) AM_WRITE(centiped_paletteram_w) AM_BASE_GENERIC(paletteram) |
| 702 | | AM_RANGE(0x1600, 0x163f) AM_DEVWRITE("earom", atari_vg_earom_w) |
| 703 | | AM_RANGE(0x1680, 0x1680) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w) |
| 704 | | AM_RANGE(0x1700, 0x173f) AM_DEVREAD("earom", atari_vg_earom_r) |
| 702 | AM_RANGE(0x1600, 0x163f) AM_DEVWRITE_MODERN("earom",atari_vg_earom_device, write) |
| 703 | AM_RANGE(0x1680, 0x1680) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w) |
| 704 | AM_RANGE(0x1700, 0x173f) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read) |
| 705 | 705 | AM_RANGE(0x1800, 0x1800) AM_WRITE(irq_ack_w) |
| 706 | 706 | AM_RANGE(0x1c00, 0x1c02) AM_WRITE(coin_count_w) |
| 707 | 707 | AM_RANGE(0x1c03, 0x1c04) AM_WRITE(led_w) |
| r14328 | r14329 | |
| 725 | 725 | AM_RANGE(0x1000, 0x1001) AM_MIRROR(0x4000) AM_DEVWRITE("pokey", ay8910_data_address_w) |
| 726 | 726 | AM_RANGE(0x1001, 0x1001) AM_MIRROR(0x4000) AM_DEVREAD("pokey", ay8910_r) |
| 727 | 727 | AM_RANGE(0x1400, 0x140f) AM_MIRROR(0x4000) AM_WRITE(centiped_paletteram_w) AM_BASE_GENERIC(paletteram) |
| 728 | | AM_RANGE(0x1600, 0x163f) AM_MIRROR(0x4000) AM_DEVWRITE("earom", atari_vg_earom_w) |
| 729 | | AM_RANGE(0x1680, 0x1680) AM_MIRROR(0x4000) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w) |
| 730 | | AM_RANGE(0x1700, 0x173f) AM_MIRROR(0x4000) AM_DEVREAD("earom", atari_vg_earom_r) |
| 728 | AM_RANGE(0x1600, 0x163f) AM_MIRROR(0x4000) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write) |
| 729 | AM_RANGE(0x1680, 0x1680) AM_MIRROR(0x4000) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w) |
| 730 | AM_RANGE(0x1700, 0x173f) AM_MIRROR(0x4000) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read) |
| 731 | 731 | AM_RANGE(0x1800, 0x1800) AM_MIRROR(0x4000) AM_WRITE(irq_ack_w) |
| 732 | 732 | AM_RANGE(0x1c00, 0x1c02) AM_MIRROR(0x4000) AM_WRITE(coin_count_w) |
| 733 | 733 | AM_RANGE(0x1c03, 0x1c04) AM_MIRROR(0x4000) AM_WRITE(led_w) |
| r14328 | r14329 | |
| 756 | 756 | AM_RANGE(0x2001, 0x2001) AM_READ(milliped_IN1_r) |
| 757 | 757 | AM_RANGE(0x2010, 0x2010) AM_READ(milliped_IN2_r) |
| 758 | 758 | AM_RANGE(0x2011, 0x2011) AM_READ_PORT("IN3") |
| 759 | | AM_RANGE(0x2030, 0x2030) AM_DEVREAD("earom", atari_vg_earom_r) |
| 759 | AM_RANGE(0x2030, 0x2030) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read) |
| 760 | 760 | AM_RANGE(0x2480, 0x249f) AM_WRITE(milliped_paletteram_w) AM_BASE_GENERIC(paletteram) |
| 761 | 761 | AM_RANGE(0x2500, 0x2502) AM_WRITE(coin_count_w) |
| 762 | 762 | AM_RANGE(0x2503, 0x2504) AM_WRITE(led_w) |
| r14328 | r14329 | |
| 765 | 765 | AM_RANGE(0x2507, 0x2507) AM_WRITE(control_select_w) /* CNTRLSEL */ |
| 766 | 766 | AM_RANGE(0x2600, 0x2600) AM_WRITE(irq_ack_w) |
| 767 | 767 | AM_RANGE(0x2680, 0x2680) AM_WRITE(watchdog_reset_w) |
| 768 | | AM_RANGE(0x2700, 0x2700) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w) |
| 769 | | AM_RANGE(0x2780, 0x27bf) AM_DEVWRITE("earom", atari_vg_earom_w) |
| 768 | AM_RANGE(0x2700, 0x2700) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w) |
| 769 | AM_RANGE(0x2780, 0x27bf) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write) |
| 770 | 770 | AM_RANGE(0x4000, 0x7fff) AM_ROM |
| 771 | 771 | ADDRESS_MAP_END |
| 772 | 772 | |
| r14328 | r14329 | |
| 815 | 815 | AM_RANGE(0x2010, 0x2010) AM_READ_PORT("IN2") |
| 816 | 816 | AM_RANGE(0x2011, 0x2011) AM_READ_PORT("IN3") |
| 817 | 817 | AM_RANGE(0x2020, 0x2020) AM_READ(mazeinv_input_r) |
| 818 | | AM_RANGE(0x2030, 0x2030) AM_DEVREAD("earom", atari_vg_earom_r) |
| 818 | AM_RANGE(0x2030, 0x2030) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read) |
| 819 | 819 | AM_RANGE(0x2480, 0x249f) AM_WRITE(mazeinv_paletteram_w) AM_BASE_GENERIC(paletteram) |
| 820 | 820 | AM_RANGE(0x2500, 0x2502) AM_WRITE(coin_count_w) |
| 821 | 821 | AM_RANGE(0x2503, 0x2504) AM_WRITE(led_w) |
| r14328 | r14329 | |
| 824 | 824 | AM_RANGE(0x2580, 0x2583) AM_WRITE(mazeinv_input_select_w) |
| 825 | 825 | AM_RANGE(0x2600, 0x2600) AM_WRITE(irq_ack_w) |
| 826 | 826 | AM_RANGE(0x2680, 0x2680) AM_WRITE(watchdog_reset_w) |
| 827 | | AM_RANGE(0x2700, 0x2700) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w) |
| 828 | | AM_RANGE(0x2780, 0x27bf) AM_DEVWRITE("earom", atari_vg_earom_w) |
| 827 | AM_RANGE(0x2700, 0x2700) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w) |
| 828 | AM_RANGE(0x2780, 0x27bf) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write) |
| 829 | 829 | AM_RANGE(0x3000, 0x7fff) AM_ROM |
| 830 | 830 | ADDRESS_MAP_END |
| 831 | 831 | |
| r14328 | r14329 | |
| 843 | 843 | AM_RANGE(0x1080, 0x1080) AM_MIRROR(0x6000) AM_READ(centiped_IN0_r) |
| 844 | 844 | AM_RANGE(0x1081, 0x1081) AM_MIRROR(0x6000) AM_READ_PORT("IN1") |
| 845 | 845 | AM_RANGE(0x1082, 0x1082) AM_MIRROR(0x6000) AM_READ(centiped_IN2_r) |
| 846 | | AM_RANGE(0x1200, 0x123f) AM_MIRROR(0x6000) AM_DEVREADWRITE("earom", atari_vg_earom_r, atari_vg_earom_w) |
| 847 | | AM_RANGE(0x1280, 0x1280) AM_MIRROR(0x6000) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w) |
| 846 | AM_RANGE(0x1200, 0x123f) AM_MIRROR(0x6000) AM_DEVREADWRITE_MODERN("earom",atari_vg_earom_device, read, write) |
| 847 | AM_RANGE(0x1280, 0x1280) AM_MIRROR(0x6000) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w) |
| 848 | 848 | AM_RANGE(0x1300, 0x1300) AM_MIRROR(0x6000) AM_READ_PORT("DSW2") |
| 849 | 849 | AM_RANGE(0x1400, 0x140f) AM_MIRROR(0x6000) AM_WRITE(centiped_paletteram_w) AM_BASE_GENERIC(paletteram) |
| 850 | 850 | AM_RANGE(0x1481, 0x1481) AM_MIRROR(0x6000) AM_WRITE(bullsdrt_coin_count_w) |
src/mame/drivers/asteroid.c
| r14328 | r14329 | |
| 264 | 264 | AM_RANGE(0x2400, 0x2407) AM_READ(asteroid_IN1_r) /* IN1 */ |
| 265 | 265 | AM_RANGE(0x2800, 0x2803) AM_READ(asteroid_DSW1_r) /* DSW1 */ |
| 266 | 266 | AM_RANGE(0x2c00, 0x2c0f) AM_DEVREADWRITE("pokey", pokey_r, pokey_w) |
| 267 | | AM_RANGE(0x2c40, 0x2c7f) AM_DEVREAD("earom", atari_vg_earom_r) |
| 267 | AM_RANGE(0x2c40, 0x2c7f) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read) |
| 268 | 268 | AM_RANGE(0x3000, 0x3000) AM_WRITE(avgdvg_go_w) |
| 269 | | AM_RANGE(0x3200, 0x323f) AM_DEVWRITE("earom", atari_vg_earom_w) |
| 269 | AM_RANGE(0x3200, 0x323f) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write) |
| 270 | 270 | AM_RANGE(0x3400, 0x3400) AM_WRITE(watchdog_reset_w) |
| 271 | 271 | AM_RANGE(0x3600, 0x3600) AM_DEVWRITE("discrete", asteroid_explode_w) |
| 272 | | AM_RANGE(0x3a00, 0x3a00) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w) |
| 272 | AM_RANGE(0x3a00, 0x3a00) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w) |
| 273 | 273 | AM_RANGE(0x3c00, 0x3c01) AM_WRITE(astdelux_led_w) |
| 274 | 274 | AM_RANGE(0x3c03, 0x3c03) AM_DEVWRITE("discrete", astdelux_sounds_w) |
| 275 | 275 | AM_RANGE(0x3c04, 0x3c04) AM_WRITE(astdelux_bank_switch_w) |
| r14328 | r14329 | |
| 792 | 792 | ROM_LOAD( "prom.bin", 0x0000, 0x0100, CRC(9e237193) SHA1(f663e12d5db0fa50ea49d03591475ae0a7168bc0) ) |
| 793 | 793 | ROM_END |
| 794 | 794 | |
| 795 | ROM_START( hyperspc ) |
| 796 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 797 | ROM_LOAD( "035145-01.bin", 0x6800, 0x0800, CRC(e9bfda64) SHA1(291dc567ebb31b35df83d9fb87f4080f251ff9c8) ) |
| 798 | ROM_LOAD( "035144-01.bin", 0x7000, 0x0800, CRC(e53c28a9) SHA1(d9f081e73511ec43377f0c6457747f15a470d4dc) ) |
| 799 | ROM_LOAD( "035143-01.bin", 0x7800, 0x0800, CRC(7d4e3d05) SHA1(d88000e904e158efde50e453e2889ecd2cb95f24) ) |
| 800 | /* Vector ROM */ |
| 801 | ROM_LOAD( "035127-01.bin", 0x5000, 0x0800, CRC(7dec48bd) SHA1(8bc926a763ff80b101b2e1c24d45615c3daf67d5) ) |
| 795 | 802 | |
| 803 | /* DVG PROM */ |
| 804 | ROM_REGION( 0x100, "user1", 0 ) |
| 805 | ROM_LOAD( "034602-01.c8", 0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) ) |
| 806 | ROM_END |
| 807 | |
| 808 | |
| 796 | 809 | ROM_START( astdelux ) |
| 797 | 810 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 798 | 811 | ROM_LOAD( "036430-02.d1", 0x6000, 0x0800, CRC(a4d7a525) SHA1(abe262193ec8e1981be36928e9a89a8ac95cd0ad) ) |
| r14328 | r14329 | |
| 943 | 956 | GAME( 1979, asteroid2,asteroid, asteroid, asteroid, 0, ROT0, "Atari", "Asteroids (rev 2)", GAME_SUPPORTS_SAVE ) |
| 944 | 957 | GAME( 1979, asteroid1,asteroid, asteroid, asteroid, 0, ROT0, "Atari", "Asteroids (rev 1)", GAME_SUPPORTS_SAVE ) |
| 945 | 958 | GAME( 1979, asteroidb,asteroid, asteroid, asteroidb,asteroidb,ROT0, "bootleg", "Asteroids (bootleg on Lunar Lander hardware)", GAME_SUPPORTS_SAVE ) |
| 946 | | GAME( 1979, asterock, asteroid, asterock, asterock, asterock, ROT0, "bootleg (Sidam)", "Asterock", GAME_SUPPORTS_SAVE ) |
| 947 | | GAME( 1979, meteorts, asteroid, asteroid, asteroid, 0, ROT0, "bootleg (VGG)", "Meteorites (bootleg of Asteroids)", GAME_SUPPORTS_SAVE ) |
| 948 | | GAME( 1980, meteorho, asteroid, asteroid, asteroid, 0, ROT0, "bootleg (Hoei)", "Meteor (bootleg of Asteroids)", GAME_SUPPORTS_SAVE ) |
| 959 | GAME( 1979, asterock, asteroid, asterock, asterock, asterock, ROT0, "bootleg (Sidam)", "Asterock (bootleg of Asteroids)", GAME_SUPPORTS_SAVE ) |
| 960 | GAME( 1979, meteorts, asteroid, asteroid, asteroid, 0, ROT0, "bootleg (VGG)", "Meteorites (bootleg of Asteroids)", GAME_SUPPORTS_SAVE ) |
| 961 | GAME( 1979, meteorho, asteroid, asteroid, asteroid, 0, ROT0, "bootleg (Hoei)", "Meteor (bootleg of Asteroids)", GAME_SUPPORTS_SAVE ) |
| 962 | GAME( 1979, hyperspc, asteroid, asteroid, asteroid, 0, ROT0, "bootleg (Rumiano)", "Hyperspace (bootleg of Asteroids)", GAME_SUPPORTS_SAVE ) |
| 949 | 963 | GAMEL(1980, astdelux, 0, astdelux, astdelux, 0, ROT0, "Atari", "Asteroids Deluxe (rev 3)", GAME_SUPPORTS_SAVE, layout_ho88ffff ) |
| 950 | 964 | GAMEL(1980, astdelux2,astdelux, astdelux, astdelux, 0, ROT0, "Atari", "Asteroids Deluxe (rev 2)", GAME_SUPPORTS_SAVE, layout_ho88ffff ) |
| 951 | 965 | GAMEL(1980, astdelux1,astdelux, astdelux, astdelux, 0, ROT0, "Atari", "Asteroids Deluxe (rev 1)", GAME_SUPPORTS_SAVE, layout_ho88ffff ) |