Previous 15994 Revisions Next

r14329 Friday 3rd February, 2012 at 11:27:55 UTC by Miodrag Milanović
Sync with MAME r15273 (nw)
[src/ldplayer]ldplayer.c ldplayer_dev.lst*
[src/mame]mame.lst
[src/mame/drivers]asteroid.c atarifb.c bwidow.c bzone.c calchase.c centiped.c firebeat.c galaga.c namcos12.c runaway.c stv.c tempest.c twinkle.c
[src/mame/machine]atari_vg.c atari_vg.h

src/mame/mame.lst
r14328r14329
34513451            // 1999.07 Bust A Move 2 (Metro)
34523452tektagt         // 1999.?? Tekken Tag Tournament (US, TEG3/VER.C1)
34533453tektagtac      // 1999.?? Tekken Tag Tournament (Asia, TEG2/VER.C1)
3454tektagtac1      // 1999.?? Tekken Tag Tournament (Asia, TEG2/VER.C1) - alt mainboard & rom board
34543455tektagtub      // 1999.?? Tekken Tag Tournament (US, TEG3/VER.B)
34553456tektagtjb      // 1999.07 Tekken Tag Tournament (Japan, TEG1/VER.B)
34563457tektagtja      // 1999.07 Tekken Tag Tournament (Japan, TEG1/VER.A)
r14328r14329
44564457colmns97      // 1997.01 Columns 97
44574458shienryu      // 1997.02 Shienryu (Warashi)
44584459vmahjong      // 1997.02 Virtual Mahjong (Micronet)
4460pclub2fc      // 1997.04 Print Club 2 Felix The Cat
44594461groovef         // 1997.05 Groove on Fight (Atlus)
44604462nclubv3         // 1997.07 Name Club Ver. 3
44614463pclub2         // 1997.09 Print Club 2
44624464thunt         // 1997.09 Puzzle & Action Treasure Hunt (Sega (Deniam License))
44634465thuntk
44644466winterht      // 1997.10 Winter Heat (Data East)
4467pclub298      // 1997.10 Print Club 2 '98 Spring Ver
44654468cotton2         // 1997.11 Cotton 2 (Success)
44664469hanagumi      // 1997.11 Sakura Taisen Hanagumi Taisen Columns
44674470findlove      // 1997.12 Find Love (Daiki / FCF)
r14328r14329
62396242asteroid1      // 035127-035145    no copyright notice
62406243asteroidb      // (bootleg)
62416244asterock      // Sidam bootleg    (c) 1979
6245hyperspc      // Rumiano bootleg  (c) 1979
62426246meteorts      // VCC bootleg      (c) 1979
62436247meteorho      // Hoei? bootleg    (c) 1980
62446248astdelux      // 0351xx           (c) 1980
src/mame/machine/atari_vg.c
r14328r14329
77#include "emu.h"
88#include "atari_vg.h"
99
10#define EAROM_SIZE   0x40
1110
11// device type definition
12const device_type ATARIVGEAROM = &device_creator<atari_vg_earom_device>;
1213
13typedef struct _atari_vg_earom_state atari_vg_earom_state;
14struct _atari_vg_earom_state
15{
16   device_t *device;
14//-------------------------------------------------
15//  atari_vg_earom_device - constructor
16//-------------------------------------------------
1717
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
34INLINE atari_vg_earom_state *get_safe_token(device_t *device)
18atari_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)
3521{
36   assert(device != NULL);
37   assert(device->type() == ATARIVGEAROM);
38   return (atari_vg_earom_state *)downcast<legacy_device_base *>(device)->token();
3922}
4023
4124
42
43
44READ8_DEVICE_HANDLER( atari_vg_earom_r )
25READ8_MEMBER( atari_vg_earom_device::read )
4526{
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);
5029}
5130
5231
53WRITE8_DEVICE_HANDLER( atari_vg_earom_w )
32WRITE8_MEMBER( atari_vg_earom_device::write )
5433{
55   atari_vg_earom_state *earom = get_safe_token(device);
56
5734   logerror("write earom: %02x:%02x\n", offset, data);
58   earom->offset = offset;
59   earom->data = data;
35   m_offset = offset;
36   m_data = data;
6037}
6138
6239
6340/* 0,8 and 14 get written to this location, too.
6441 * Don't know what they do exactly
6542 */
66WRITE8_DEVICE_HANDLER( atari_vg_earom_ctrl_w )
43WRITE8_MEMBER( atari_vg_earom_device::ctrl_w )
6744{
68   atari_vg_earom_state *earom = get_safe_token(device);
69
7045   logerror("earom ctrl: %02x:%02x\n",offset, data);
7146   /*
7247        0x01 = clock
r14328r14329
7651    */
7752   if (data & 0x01)
7853   {
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);
8156   }
8257   if ((data & 0x0c) == 0x0c)
8358   {
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);
8762   }
8863}
8964
65//-------------------------------------------------
66//  nvram_default - called to initialize NVRAM to
67//  its default state
68//-------------------------------------------------
9069
91static DEVICE_NVRAM( atari_vg_earom )
70void atari_vg_earom_device::nvram_default()
9271{
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);
10173}
10274
75//-------------------------------------------------
76//  nvram_read - called to read NVRAM from the
77//  .nv file
78//-------------------------------------------------
10379
104/***************************************************************************
105    DEVICE INTERFACE
106***************************************************************************/
107
108static DEVICE_START( atari_vg_earom )
80void atari_vg_earom_device::nvram_read(emu_file &file)
10981{
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);
12183}
12284
85//-------------------------------------------------
86//  nvram_write - called to write NVRAM to the
87//  .nv file
88//-------------------------------------------------
12389
124static DEVICE_RESET( atari_vg_earom )
90void atari_vg_earom_device::nvram_write(emu_file &file)
12591{
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);
13093}
13194
132
133DEVICE_GET_INFO( atari_vg_earom )
95//-------------------------------------------------
96//  device_start - device-specific startup
97//-------------------------------------------------
98void atari_vg_earom_device::device_start()
13499{
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}
140104
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//-------------------------------------------------
146108
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   }
109void atari_vg_earom_device::device_reset()
110{
111   m_data = 0;
112   m_offset = 0;
154113}
155114
156
157DEFINE_LEGACY_NVRAM_DEVICE(ATARIVGEAROM, atari_vg_earom);
src/mame/machine/atari_vg.h
r14328r14329
44
55***************************************************************************/
66
7#include "devlegcy.h"
7#ifndef __ATARIVGEAROM_H__
8#define __ATARIVGEAROM_H__
89
9
1010/***************************************************************************
1111    DEVICE CONFIGURATION MACROS
1212***************************************************************************/
r14328r14329
1515   MCFG_DEVICE_ADD(_tag, ATARIVGEAROM, 0)
1616
1717
18/***************************************************************************
19    FUNCTION PROTOTYPES
20***************************************************************************/
18#define EAROM_SIZE   0x40
2119
22READ8_DEVICE_HANDLER( atari_vg_earom_r );
23WRITE8_DEVICE_HANDLER( atari_vg_earom_w );
24WRITE8_DEVICE_HANDLER( atari_vg_earom_ctrl_w );
20// ======================> atari_vg_earom_device
2521
26/* ----- device interface ----- */
22class atari_vg_earom_device :   public device_t,
23                  public device_nvram_interface
24{
25public:
26   // construction/destruction
27   atari_vg_earom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
28protected:
29    // device-level overrides
30    virtual void device_start();
31   virtual void device_reset();
2732
28DECLARE_LEGACY_NVRAM_DEVICE(ATARIVGEAROM, atari_vg_earom);
33   // device_nvram_interface overrides
34   virtual void nvram_default();
35   virtual void nvram_read(emu_file &file);
36   virtual void nvram_write(emu_file &file);
37public:
38   DECLARE_READ8_MEMBER( read );
39   DECLARE_WRITE8_MEMBER( write );
40   DECLARE_WRITE8_MEMBER( ctrl_w );
41private:   
42   int m_offset;
43   int m_data;
44   char m_rom[EAROM_SIZE];
45};
46
47// device type definition
48extern const device_type ATARIVGEAROM;
49
50#endif
src/mame/drivers/namcos12.c
r14328r14329
13741374
13751375   if( strcmp( machine.system().name, "tektagt" ) == 0 ||
13761376      strcmp( machine.system().name, "tektagtac" ) == 0 ||
1377      strcmp( machine.system().name, "tektagtac1" ) == 0 ||
13771378      strcmp( machine.system().name, "tektagtub" ) == 0 ||
13781379      strcmp( machine.system().name, "tektagtjb" ) == 0 ||
13791380      strcmp( machine.system().name, "tektagtja" ) == 0 )
r14328r14329
13861387
13871388   if( strcmp( machine.system().name, "tektagt" ) == 0 ||
13881389      strcmp( machine.system().name, "tektagtac" ) == 0 ||
1390      strcmp( machine.system().name, "tektagtac1" ) == 0 ||
13891391      strcmp( machine.system().name, "tektagtub" ) == 0 ||
13901392      strcmp( machine.system().name, "tektagtjb" ) == 0 ||
13911393      strcmp( machine.system().name, "tektagtja" ) == 0 ||
r14328r14329
25452547   ROM_LOAD16_BYTE( "teg3verc.2p",  0x0000001, 0x200000, CRC(7caef9b2) SHA1(5c56d69ba2f723d0a4fbe4902196efc6ba9d5094) )
25462548
25472549   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) )
25542556
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) )
25592561
25602562   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 */
25622564
25632565   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) )
25662568ROM_END
25672569
25682570ROM_START( tektagtub )
r14328r14329
25712573   ROM_LOAD16_BYTE( "teg3verb.2p",  0x0000001, 0x200000, CRC(1dbe7591) SHA1(af464caa03fdd12024ad482e9c853a36510bfba7) )
25722574
25732575   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) )
25802582
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) )
25852587
25862588   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 */
25882590
25892591   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) )
25922594ROM_END
25932595
25942596ROM_START( tektagtjb )
r14328r14329
25972599   ROM_LOAD16_BYTE( "teg1verb.2j",  0x0000001, 0x200000, CRC(5413e2ed) SHA1(d453f7932654d8258c67eb7fe3639d71db7e414c) )
25982600
25992601   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) )
26062608
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 ? */
26082610   ROM_LOAD32_BYTE( "teg1fleu.5",   0x3000001, 0x200000, NO_DUMP )
26092611   ROM_LOAD32_BYTE( "teg1flol.6",   0x3000002, 0x200000, NO_DUMP )
26102612   ROM_LOAD32_BYTE( "teg1flou.7",   0x3000003, 0x200000, NO_DUMP )
26112613
26122614   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 */
26142616
26152617   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) )
26182620ROM_END
26192621
26202622ROM_START( tektagtja )
r14328r14329
26232625   ROM_LOAD16_BYTE( "teg1vera.2j",  0x0000001, 0x200000, CRC(97cd9524) SHA1(8031cb465db378a6d9db9b132cf1169b94cba7dc) )
26242626
26252627   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) )
26322634
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 ? */
26342636   ROM_LOAD32_BYTE( "teg1fleu.5",   0x3000001, 0x200000, NO_DUMP )
26352637   ROM_LOAD32_BYTE( "teg1flol.6",   0x3000002, 0x200000, NO_DUMP )
26362638   ROM_LOAD32_BYTE( "teg1flou.7",   0x3000003, 0x200000, NO_DUMP )
26372639
26382640   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 */
26402642
26412643   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) )
26442646ROM_END
26452647
26462648ROM_START( tektagtac )
26472649   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) )
26502652
26512653   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) )
2672ROM_END
2673
2674ROM_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 */
26522680   ROM_LOAD32_WORD( "teg2roml0",       0x0000000, 0x400000, CRC(cf984e85) SHA1(4d8296998b5f225b3f20bfdcb092a64b6e1fa76e) )
26532681   ROM_LOAD32_WORD( "teg2romh0",       0x0800000, 0x400000, CRC(ea088657) SHA1(fbacca78832f68a310bafd06188d645e3424e0ed) )
26542682   ROM_LOAD32_WORD( "teg2roml00.ic13", 0x0000002, 0x400000, CRC(927723a5) SHA1(075aaca1700c9134496eb9a73cbe325ddc74eae1) ) /* located on the opposite side of the ROM PCB */
r14328r14329
26612689   ROM_LOAD32_WORD( "teg2romh2",       0x2800000, 0x400000, CRC(8c03b301) SHA1(f395a4685e2deb8f7e9afc18ce15fa0d392b0cfa) )
26622690   ROM_LOAD32_WORD( "teg2roml20.ic15", 0x2000002, 0x400000, CRC(ed5ec7f7) SHA1(c91085a64ced95ee6618303987de61893e069742) ) /* located on the opposite side of the ROM PCB */
26632691   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? */
26662694
26672695   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 */
26692697
26702698   ROM_REGION( 0x1000000, "c352", 0 ) /* samples */
26712699   ROM_LOAD( "teg2wavel0.ic12",     0x0000000, 0x400000, CRC(1865336f) SHA1(deda6d129daf709b0316f6260e67613fbf849e57) ) /* located on the opposite side of the ROM PCB */
r14328r14329
27952823GAME( 1999, gunbarl,   ptblank2, coh700,   ptblank2, ptblank2, ROT0, "Namco",           "Gunbarl (Japan, GNB4/VER.A)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC042 */
27962824GAME( 1999, sws99,     0,        coh700,   namcos12, namcos12, ROT0, "Namco",           "Super World Stadium '99 (Japan, SS91/VER.A3)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND ) /* KC043 */
27972825GAME( 1999, tektagt,   0,        coh700,   namcos12, namcos12, ROT0, "Namco",           "Tekken Tag Tournament (US, TEG3/VER.C1)", GAME_IMPERFECT_SOUND ) /* KC044 */
2798GAME( 1999, tektagtac, tektagt,  coh700,   namcos12, namcos12, ROT0, "Namco",           "Tekken Tag Tournament (Asia, TEG2/VER.C1)", GAME_IMPERFECT_SOUND ) /* KC044 */
2826GAME( 1999, tektagtac, tektagt,  coh700,   namcos12, namcos12, ROT0, "Namco",           "Tekken Tag Tournament (Asia, TEG2/VER.C1, set 1)", GAME_IMPERFECT_SOUND ) /* KC044 */
2827GAME( 1999, tektagtac1,tektagt,  coh700,   namcos12, namcos12, ROT0, "Namco",           "Tekken Tag Tournament (Asia, TEG2/VER.C1, set 2)", GAME_IMPERFECT_SOUND ) /* KC044 */
27992828GAME( 1999, tektagtub, tektagt,  coh700,   namcos12, namcos12, ROT0, "Namco",           "Tekken Tag Tournament (US, TEG3/VER.B)", GAME_IMPERFECT_SOUND ) /* KC044 */
28002829GAME( 1999, tektagtjb, tektagt,  coh700,   namcos12, namcos12, ROT0, "Namco",           "Tekken Tag Tournament (Japan, TEG1/VER.B)", GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) /* KC044 */
28012830GAME( 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
r14328r14329
699699   AM_RANGE(0x0c03, 0x0c03) AM_READ_PORT("IN3")      /* IN3 */
700700   AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey", pokey_r, pokey_w)
701701   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)
705705   AM_RANGE(0x1800, 0x1800) AM_WRITE(irq_ack_w)
706706   AM_RANGE(0x1c00, 0x1c02) AM_WRITE(coin_count_w)
707707   AM_RANGE(0x1c03, 0x1c04) AM_WRITE(led_w)
r14328r14329
725725   AM_RANGE(0x1000, 0x1001) AM_MIRROR(0x4000) AM_DEVWRITE("pokey", ay8910_data_address_w)
726726   AM_RANGE(0x1001, 0x1001) AM_MIRROR(0x4000) AM_DEVREAD("pokey", ay8910_r)
727727   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)
731731   AM_RANGE(0x1800, 0x1800) AM_MIRROR(0x4000) AM_WRITE(irq_ack_w)
732732   AM_RANGE(0x1c00, 0x1c02) AM_MIRROR(0x4000) AM_WRITE(coin_count_w)
733733   AM_RANGE(0x1c03, 0x1c04) AM_MIRROR(0x4000) AM_WRITE(led_w)
r14328r14329
756756   AM_RANGE(0x2001, 0x2001) AM_READ(milliped_IN1_r)
757757   AM_RANGE(0x2010, 0x2010) AM_READ(milliped_IN2_r)
758758   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)
760760   AM_RANGE(0x2480, 0x249f) AM_WRITE(milliped_paletteram_w) AM_BASE_GENERIC(paletteram)
761761   AM_RANGE(0x2500, 0x2502) AM_WRITE(coin_count_w)
762762   AM_RANGE(0x2503, 0x2504) AM_WRITE(led_w)
r14328r14329
765765   AM_RANGE(0x2507, 0x2507) AM_WRITE(control_select_w) /* CNTRLSEL */
766766   AM_RANGE(0x2600, 0x2600) AM_WRITE(irq_ack_w)
767767   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)
770770   AM_RANGE(0x4000, 0x7fff) AM_ROM
771771ADDRESS_MAP_END
772772
r14328r14329
815815   AM_RANGE(0x2010, 0x2010) AM_READ_PORT("IN2")
816816   AM_RANGE(0x2011, 0x2011) AM_READ_PORT("IN3")
817817   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)
819819   AM_RANGE(0x2480, 0x249f) AM_WRITE(mazeinv_paletteram_w) AM_BASE_GENERIC(paletteram)
820820   AM_RANGE(0x2500, 0x2502) AM_WRITE(coin_count_w)
821821   AM_RANGE(0x2503, 0x2504) AM_WRITE(led_w)
r14328r14329
824824   AM_RANGE(0x2580, 0x2583) AM_WRITE(mazeinv_input_select_w)
825825   AM_RANGE(0x2600, 0x2600) AM_WRITE(irq_ack_w)
826826   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)
829829   AM_RANGE(0x3000, 0x7fff) AM_ROM
830830ADDRESS_MAP_END
831831
r14328r14329
843843   AM_RANGE(0x1080, 0x1080) AM_MIRROR(0x6000) AM_READ(centiped_IN0_r)
844844   AM_RANGE(0x1081, 0x1081) AM_MIRROR(0x6000) AM_READ_PORT("IN1")
845845   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)
848848   AM_RANGE(0x1300, 0x1300) AM_MIRROR(0x6000) AM_READ_PORT("DSW2")
849849   AM_RANGE(0x1400, 0x140f) AM_MIRROR(0x6000) AM_WRITE(centiped_paletteram_w) AM_BASE_GENERIC(paletteram)
850850   AM_RANGE(0x1481, 0x1481) AM_MIRROR(0x6000) AM_WRITE(bullsdrt_coin_count_w)
src/mame/drivers/asteroid.c
r14328r14329
264264   AM_RANGE(0x2400, 0x2407) AM_READ(asteroid_IN1_r)   /* IN1 */
265265   AM_RANGE(0x2800, 0x2803) AM_READ(asteroid_DSW1_r)   /* DSW1 */
266266   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)
268268   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)
270270   AM_RANGE(0x3400, 0x3400) AM_WRITE(watchdog_reset_w)
271271   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)
273273   AM_RANGE(0x3c00, 0x3c01) AM_WRITE(astdelux_led_w)
274274   AM_RANGE(0x3c03, 0x3c03) AM_DEVWRITE("discrete", astdelux_sounds_w)
275275   AM_RANGE(0x3c04, 0x3c04) AM_WRITE(astdelux_bank_switch_w)
r14328r14329
792792   ROM_LOAD( "prom.bin",   0x0000, 0x0100, CRC(9e237193) SHA1(f663e12d5db0fa50ea49d03591475ae0a7168bc0) )
793793ROM_END
794794
795ROM_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) )
795802
803   /* DVG PROM */
804   ROM_REGION( 0x100, "user1", 0 )
805   ROM_LOAD( "034602-01.c8",   0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) )
806ROM_END
807
808
796809ROM_START( astdelux )
797810   ROM_REGION( 0x8000, "maincpu", 0 )
798811   ROM_LOAD( "036430-02.d1",  0x6000, 0x0800, CRC(a4d7a525) SHA1(abe262193ec8e1981be36928e9a89a8ac95cd0ad) )
r14328r14329
943956GAME( 1979, asteroid2,asteroid, asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 2)",        GAME_SUPPORTS_SAVE )
944957GAME( 1979, asteroid1,asteroid, asteroid, asteroid, 0,        ROT0, "Atari",   "Asteroids (rev 1)",        GAME_SUPPORTS_SAVE )
945958GAME( 1979, asteroidb,asteroid, asteroid, asteroidb,asteroidb,ROT0, "bootleg", "Asteroids (bootleg on Lunar Lander hardware)", GAME_SUPPORTS_SAVE )
946GAME( 1979, asterock, asteroid, asterock, asterock, asterock, ROT0, "bootleg (Sidam)", "Asterock",         GAME_SUPPORTS_SAVE )
947GAME( 1979, meteorts, asteroid, asteroid, asteroid, 0,        ROT0, "bootleg (VGG)",   "Meteorites (bootleg of Asteroids)", GAME_SUPPORTS_SAVE )
948GAME( 1980, meteorho, asteroid, asteroid, asteroid, 0,        ROT0, "bootleg (Hoei)",  "Meteor (bootleg of Asteroids)", GAME_SUPPORTS_SAVE )
959GAME( 1979, asterock, asteroid, asterock, asterock, asterock, ROT0, "bootleg (Sidam)",   "Asterock (bootleg of Asteroids)",    GAME_SUPPORTS_SAVE )
960GAME( 1979, meteorts, asteroid, asteroid, asteroid, 0,        ROT0, "bootleg (VGG)",     "Meteorites (bootleg of Asteroids)",  GAME_SUPPORTS_SAVE )
961GAME( 1979, meteorho, asteroid, asteroid, asteroid, 0,        ROT0, "bootleg (Hoei)",    "Meteor (bootleg of Asteroids)",      GAME_SUPPORTS_SAVE )
962GAME( 1979, hyperspc, asteroid, asteroid, asteroid, 0,        ROT0, "bootleg (Rumiano)", "Hyperspace (bootleg of Asteroids)",  GAME_SUPPORTS_SAVE )
949963GAMEL(1980, astdelux, 0,        astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 3)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
950964GAMEL(1980, astdelux2,astdelux, astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 2)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
951965GAMEL(1980, astdelux1,astdelux, astdelux, astdelux, 0,        ROT0, "Atari",   "Asteroids Deluxe (rev 1)", GAME_SUPPORTS_SAVE, layout_ho88ffff )
src/mame/drivers/stv.c
r14328r14329
21402140   ROM_LOAD( "pclub2.nv", 0x0000, 0x0080, CRC(00d0f04e) SHA1(8b5a3e1c52e34443f83fd4a8948a00cacb5071d0) )
21412141ROM_END
21422142
2143ROM_START( pclub2fc ) // set to 1p
2144   STV_BIOS
2145
2146   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
2147
2148   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, CRC(109c61a5) SHA1(bfb3e014e49064443ef290bc068ffcd459ae132d) ) // OK
2149   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(0ccc5538) SHA1(15133fc9c85f0a384d49841d874a0fe9a76057ce) ) // OK
2150   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2151   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(ff9643ca) SHA1(3309f970f87324b06cc48add386019f769abcd89) ) // OK
2152   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(03b9eacf) SHA1(d69c10f7613d9f52042dd6cce64e74e2b1ecc2d8) ) // OK
2153
2154   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
2155   ROM_LOAD( "pclub2fc.nv", 0x0000, 0x0080, CRC(c8082326) SHA1(d24ad66eb01a58d3a117a49606003522b6f1feba) )
2156ROM_END
2157
2158ROM_START( pclub298 ) // set to 1p
2159   STV_BIOS
2160
2161   ROM_REGION32_BE( 0x3000000, "game0", ROMREGION_ERASE00 ) /* SH2 code */
2162
2163   ROM_LOAD16_WORD_SWAP( "ic22",    0x0200000, 0x0200000, CRC(cb0ec98a) SHA1(efef536cb3bc71207936b26b87f04641baded10b) ) // OK
2164   ROM_LOAD16_WORD_SWAP( "ic24",    0x0400000, 0x0200000, CRC(645e7e24) SHA1(7362b0c4b500639c20ec27002f543a0b4390eaa8) ) // OK
2165   ROM_LOAD16_WORD_SWAP( "ic26",    0x0600000, 0x0200000, CRC(9d3ad85d) SHA1(71fe330594ab58be331aa5311472855be07cb44c) ) // OK
2166   ROM_LOAD16_WORD_SWAP( "ic28",    0x0800000, 0x0200000, CRC(877e73cc) SHA1(dd9928a3fe0ed759611e1b7be8ea10b45084e392) ) // OK
2167   ROM_LOAD16_WORD_SWAP( "ic30",    0x0a00000, 0x0200000, CRC(03b9eacf) SHA1(d69c10f7613d9f52042dd6cce64e74e2b1ecc2d8) ) // OK
2168   ROM_LOAD16_WORD_SWAP( "ic32",    0x0c00000, 0x0200000, CRC(62c10626) SHA1(58cb0ca0330fa7a62b277ab0ff84bff65b81bb23) ) // OK
2169   ROM_LOAD16_WORD_SWAP( "ic34",    0x1000000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2170   ROM_LOAD16_WORD_SWAP( "ic36",    0x1200000, 0x0200000, CRC(8d89877e) SHA1(7d76d48d64d7ac5411d714a4bb83f37e3e5b8df6) ) // OK
2171
2172   ROM_REGION16_BE( 0x80, "eeprom", 0 ) // preconfigured to 1 player
2173   ROM_LOAD( "pclub298.nv", 0x0000, 0x0080, CRC(a23dd0f2) SHA1(457282b5d40a17477b95330bba91e05c603f951e) )
2174ROM_END
2175
21432176ROM_START( pclub2v3 ) // set to 1p / runs with the USA bios
21442177   STV_BIOS
21452178   ROM_DEFAULT_BIOS( "us" )
r14328r14329
22302263GAME( 1998, stress,    stvbios, stv,      stv,      stv,       ROT0,   "Sega",                    "Stress Busters (J 981020 V1.000)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
22312264GAME( 1997, nclubv3,   stvbios, stv,      stv,      nameclv3,   ROT0,   "Sega",                    "Name Club Ver.3 (J 970723 V1.000)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
22322265GAME( 1997, pclub2,    stvbios, stv,      stv,      stv,       ROT0,   "Atlus",                   "Print Club 2 (U 970921 V1.000)", GAME_NOT_WORKING )
2266GAME( 1999, pclub2fc,  pclub2,  stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club 2 Felix The Cat (Rev. A) (J 970415 V1.100)", GAME_NOT_WORKING )
2267GAME( 1997, pclub298,  pclub2,  stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club 2 '98 Spring Ver (J 971017 V1.100)", GAME_NOT_WORKING )
22332268GAME( 1999, pclub2v3,  pclub2,  stv,      stv,      stv,       ROT0,   "Atlus",                   "Print Club 2 Vol. 3 (U 990310 V1.000)", GAME_NOT_WORKING )
22342269GAME( 1999, pclubpok,  stvbios, stv,      stv,      stv,        ROT0,   "Atlus",                        "Print Club Pokemon B (U 991126 V1.000)", GAME_NOT_WORKING )
22352270
src/mame/drivers/runaway.c
r14328r14329
8686   AM_RANGE(0x0400, 0x07bf) AM_RAM_WRITE(runaway_video_ram_w) AM_BASE_MEMBER(runaway_state, m_video_ram)
8787   AM_RANGE(0x07c0, 0x07ff) AM_RAM AM_BASE_MEMBER(runaway_state, m_sprite_ram)
8888   AM_RANGE(0x1000, 0x1000) AM_WRITE(runaway_irq_ack_w)
89   AM_RANGE(0x1400, 0x143f) AM_DEVWRITE("earom", atari_vg_earom_w)
90   AM_RANGE(0x1800, 0x1800) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w)
89   AM_RANGE(0x1400, 0x143f) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write)
90   AM_RANGE(0x1800, 0x1800) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w)
9191   AM_RANGE(0x1c00, 0x1c0f) AM_WRITE(runaway_paletteram_w)
9292   AM_RANGE(0x2000, 0x2000) AM_WRITENOP /* coin counter? */
9393   AM_RANGE(0x2001, 0x2001) AM_WRITENOP /* coin counter? */
r14328r14329
9696
9797   AM_RANGE(0x3000, 0x3007) AM_READ(runaway_input_r)
9898   AM_RANGE(0x4000, 0x4000) AM_READ_PORT("4000")
99   AM_RANGE(0x5000, 0x5000) AM_DEVREAD("earom", atari_vg_earom_r)
99   AM_RANGE(0x5000, 0x5000) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read)
100100   AM_RANGE(0x6000, 0x600f) AM_DEVREADWRITE("pokey1", pokey_r,pokey_w)
101101   AM_RANGE(0x7000, 0x700f) AM_DEVREADWRITE("pokey2", pokey_r,pokey_w)
102102   AM_RANGE(0x8000, 0xcfff) AM_ROM
src/mame/drivers/tempest.c
r14328r14329
406406   AM_RANGE(0x4800, 0x4800) AM_WRITE(avgdvg_go_w)
407407   AM_RANGE(0x5000, 0x5000) AM_WRITE(wdclr_w)
408408   AM_RANGE(0x5800, 0x5800) AM_WRITE(avgdvg_reset_w)
409   AM_RANGE(0x6000, 0x603f) AM_DEVWRITE("earom", atari_vg_earom_w)
410   AM_RANGE(0x6040, 0x6040) AM_DEVREAD("mathbox", mathbox_status_r) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w)
411   AM_RANGE(0x6050, 0x6050) AM_DEVREAD("earom", atari_vg_earom_r)
409   AM_RANGE(0x6000, 0x603f) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write)
410   AM_RANGE(0x6040, 0x6040) AM_DEVREAD("mathbox", mathbox_status_r) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w)
411   AM_RANGE(0x6050, 0x6050) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read)
412412   AM_RANGE(0x6060, 0x6060) AM_DEVREAD("mathbox", mathbox_lo_r)
413413   AM_RANGE(0x6070, 0x6070) AM_DEVREAD("mathbox", mathbox_hi_r)
414414   AM_RANGE(0x6080, 0x609f) AM_DEVWRITE("mathbox", mathbox_go_w)
src/mame/drivers/twinkle.c
r14328r14329
624624   AM_RANGE(0x1f260000, 0x1f260003) AM_WRITE(serial_w)
625625   AM_RANGE(0x1f270000, 0x1f270003) AM_WRITE_PORT("OUTSEC")
626626   AM_RANGE(0x1f280000, 0x1f280003) AM_READ_PORT("INSEC")
627   AM_RANGE(0x1f290000, 0x1f29007f) AM_DEVREADWRITE8("rtc", rtc65271_rtc_r, rtc65271_rtc_w, 0x00ff00ff)
628   AM_RANGE(0x1f2a0000, 0x1f2a007f) AM_DEVREADWRITE8("rtc", rtc65271_xram_r, rtc65271_xram_w, 0x00ff00ff)
627   AM_RANGE(0x1f290000, 0x1f29007f) AM_DEVREADWRITE8_MODERN("rtc", rtc65271_device, rtc_r, rtc_w, 0x00ff00ff)
628   AM_RANGE(0x1f2a0000, 0x1f2a007f) AM_DEVREADWRITE8_MODERN("rtc", rtc65271_device, xram_r, xram_w, 0x00ff00ff)
629629   AM_RANGE(0x1f2b0000, 0x1f2b00ff) AM_WRITE(twinkle_output_w)
630630   AM_RANGE(0x1fc00000, 0x1fc7ffff) AM_ROM AM_SHARE("share2") AM_REGION("user1", 0) /* bios */
631631   AM_RANGE(0x80000000, 0x803fffff) AM_RAM AM_SHARE("share1") /* ram mirror */
r14328r14329
876876   I2CMEM_SLAVE_ADDRESS, 0, 0x100
877877};
878878
879static const rtc65271_interface twinkle_rtc =
880{
881   DEVCB_NULL
882};
883
879884static MACHINE_CONFIG_START( twinkle, twinkle_state )
880885   /* basic machine hardware */
881886   MCFG_CPU_ADD( "maincpu", CXD8530CQ, XTAL_67_7376MHz )
r14328r14329
893898   MCFG_I2CMEM_ADD("security",i2cmem_interface)
894899
895900   MCFG_IDE_CONTROLLER_ADD("ide", ide_interrupt)
896   MCFG_RTC65271_ADD("rtc", NULL)
901   MCFG_RTC65271_ADD("rtc", twinkle_rtc)
897902
898903   /* video hardware */
899904   MCFG_PSXGPU_ADD( "maincpu", "gpu", CXD8561Q, 0x200000, XTAL_53_693175MHz )
src/mame/drivers/bzone.c
r14328r14329
332332   AM_RANGE(0x1806, 0x1806) AM_DEVREAD("mathbox", mathbox_hi_r)
333333   AM_RANGE(0x1808, 0x1808) AM_DEVWRITE("custom", redbaron_joysound_w)   /* and select joystick pot also */
334334   AM_RANGE(0x180a, 0x180a) AM_WRITENOP            /* sound reset, yet todo */
335   AM_RANGE(0x180c, 0x180c) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w)
335   AM_RANGE(0x180c, 0x180c) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w)
336336   AM_RANGE(0x1810, 0x181f) AM_DEVREADWRITE("pokey", pokey_r, pokey_w)
337   AM_RANGE(0x1820, 0x185f) AM_DEVREADWRITE("earom", atari_vg_earom_r, atari_vg_earom_w)
337   AM_RANGE(0x1820, 0x185f) AM_DEVREADWRITE_MODERN("earom", atari_vg_earom_device, read, write)
338338   AM_RANGE(0x1860, 0x187f) AM_DEVWRITE("mathbox", mathbox_go_w)
339339   AM_RANGE(0x2000, 0x2fff) AM_RAM AM_BASE(&avgdvg_vectorram) AM_SIZE(&avgdvg_vectorram_size) AM_REGION("maincpu", 0x2000)
340340   AM_RANGE(0x3000, 0x7fff) AM_ROM
src/mame/drivers/calchase.c
r14328r14329
739739   state->m_bios_ram = auto_alloc_array(machine, UINT32, 0x20000/4);
740740
741741   pc_vga_init(machine, vga_setting, NULL);
742   pc_vga_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000);
742   pc_svga_trident_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000);
743743
744744   init_pc_common(machine, PCCOMMON_KEYBOARD_AT, calchase_set_keyb_int);
745745
src/mame/drivers/firebeat.c
r14328r14329
17631763   AM_RANGE(0x7d400000, 0x7d5fffff) AM_READWRITE(flashram_r, flashram_w)
17641764   AM_RANGE(0x7d800000, 0x7dbfffff) AM_READWRITE(soundflash_r, soundflash_w)
17651765   AM_RANGE(0x7dc00000, 0x7dc0000f) AM_READWRITE(comm_uart_r, comm_uart_w)
1766   AM_RANGE(0x7e000000, 0x7e00003f) AM_DEVREADWRITE8("rtc", rtc65271_rtc_r, rtc65271_rtc_w, 0xffffffff)
1767   AM_RANGE(0x7e000100, 0x7e00013f) AM_DEVREADWRITE8("rtc", rtc65271_xram_r, rtc65271_xram_w, 0xffffffff)
1766   AM_RANGE(0x7e000000, 0x7e00003f) AM_DEVREADWRITE8_MODERN("rtc", rtc65271_device, rtc_r, rtc_w, 0xffffffff)
1767   AM_RANGE(0x7e000100, 0x7e00013f) AM_DEVREADWRITE8_MODERN("rtc", rtc65271_device, xram_r, xram_w, 0xffffffff)
17681768   AM_RANGE(0x7e800000, 0x7e8000ff) AM_READWRITE(gcu0_r, gcu0_w)
17691769   AM_RANGE(0x7e800100, 0x7e8001ff) AM_READWRITE(gcu1_r, gcu1_w)
17701770   AM_RANGE(0x7fe00000, 0x7fe0000f) AM_READWRITE(atapi_command_r, atapi_command_w)
r14328r14329
19671967   cdda_set_cdrom(machine.device("cdda"), cd);
19681968}
19691969
1970const rtc65271_interface firebeat_rtc =
1971{
1972   DEVCB_NULL
1973};
1974
19701975static MACHINE_CONFIG_START( firebeat, firebeat_state )
19711976
19721977   /* basic machine hardware */
r14328r14329
19771982   MCFG_MACHINE_START(firebeat)
19781983   MCFG_MACHINE_RESET(firebeat)
19791984
1980   MCFG_RTC65271_ADD("rtc", NULL)
1985   MCFG_RTC65271_ADD("rtc", firebeat_rtc)
19811986
19821987   MCFG_FUJITSU_29F016A_ADD("flash0")
19831988   MCFG_FUJITSU_29F016A_ADD("flash1")
r14328r14329
20202025   MCFG_MACHINE_START(firebeat)
20212026   MCFG_MACHINE_RESET(firebeat)
20222027
2023   MCFG_RTC65271_ADD("rtc", NULL)
2028   MCFG_RTC65271_ADD("rtc", firebeat_rtc)
20242029
20252030   MCFG_FUJITSU_29F016A_ADD("flash0")
20262031   MCFG_FUJITSU_29F016A_ADD("flash1")
src/mame/drivers/galaga.c
r14328r14329
990990   AM_RANGE(0x9000, 0x93ff) AM_RAM AM_SHARE("share3") AM_BASE_MEMBER(digdug_state, m_digdug_posram)   /* work RAM + sprite registers */
991991   AM_RANGE(0x9800, 0x9bff) AM_RAM AM_SHARE("share4") AM_BASE_MEMBER(digdug_state, m_digdug_flpram)   /* work RAM + sprite registers */
992992   AM_RANGE(0xa000, 0xa007) AM_READNOP AM_WRITE(digdug_PORT_w)      /* video latches (spurious reads when setting latch bits) */
993   AM_RANGE(0xb800, 0xb83f) AM_DEVREADWRITE("earom", atari_vg_earom_r, atari_vg_earom_w)   /* non volatile memory data */
994   AM_RANGE(0xb840, 0xb840) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w)               /* non volatile memory control */
993   AM_RANGE(0xb800, 0xb83f) AM_DEVREADWRITE_MODERN("earom", atari_vg_earom_device, read, write)   /* non volatile memory data */
994   AM_RANGE(0xb840, 0xb840) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w)               /* non volatile memory control */
995995ADDRESS_MAP_END
996996
997997
src/mame/drivers/bwidow.c
r14328r14329
368368   AM_RANGE(0x2800, 0x5fff) AM_ROM
369369   AM_RANGE(0x6000, 0x67ff) AM_DEVREADWRITE("pokey1", pokey_r, pokey_w)
370370   AM_RANGE(0x6800, 0x6fff) AM_DEVREADWRITE("pokey2", pokey_r, pokey_w)
371   AM_RANGE(0x7000, 0x7000) AM_DEVREAD("earom", atari_vg_earom_r)
371   AM_RANGE(0x7000, 0x7000) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read)
372372   AM_RANGE(0x7800, 0x7800) AM_READ_PORT("IN0")
373373   AM_RANGE(0x8000, 0x8000) AM_READ_PORT("IN3")
374374   AM_RANGE(0x8800, 0x8800) AM_READ_PORT("IN4")
r14328r14329
376376   AM_RANGE(0x8840, 0x8840) AM_WRITE(avgdvg_go_w)
377377   AM_RANGE(0x8880, 0x8880) AM_WRITE(avgdvg_reset_w)
378378   AM_RANGE(0x88c0, 0x88c0) AM_WRITE(irq_ack_w) /* interrupt acknowledge */
379   AM_RANGE(0x8900, 0x8900) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w)
380   AM_RANGE(0x8940, 0x897f) AM_DEVWRITE("earom", atari_vg_earom_w)
379   AM_RANGE(0x8900, 0x8900) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w)
380   AM_RANGE(0x8940, 0x897f) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write)
381381   AM_RANGE(0x8980, 0x89ed) AM_WRITENOP /* watchdog clear */
382382   AM_RANGE(0x9000, 0xffff) AM_ROM
383383ADDRESS_MAP_END
r14328r14329
388388   AM_RANGE(0x0800, 0x0800) AM_READ_PORT("IN0")
389389   AM_RANGE(0x0900, 0x0907) AM_READ(spacduel_IN3_r)   /* IN1 */
390390   AM_RANGE(0x0905, 0x0906) AM_WRITENOP /* ignore? */
391   AM_RANGE(0x0a00, 0x0a00) AM_DEVREAD("earom", atari_vg_earom_r)
391   AM_RANGE(0x0a00, 0x0a00) AM_DEVREAD_MODERN("earom", atari_vg_earom_device, read)
392392//  AM_RANGE(0x0c00, 0x0c00) AM_WRITE(coin_counter_w) /* coin out */
393393   AM_RANGE(0x0c80, 0x0c80) AM_WRITE(avgdvg_go_w)
394394   AM_RANGE(0x0d00, 0x0d00) AM_WRITENOP /* watchdog clear */
395395   AM_RANGE(0x0d80, 0x0d80) AM_WRITE(avgdvg_reset_w)
396396   AM_RANGE(0x0e00, 0x0e00) AM_WRITE(irq_ack_w) /* interrupt acknowledge */
397   AM_RANGE(0x0e80, 0x0e80) AM_DEVWRITE("earom", atari_vg_earom_ctrl_w)
398   AM_RANGE(0x0f00, 0x0f3f) AM_DEVWRITE("earom", atari_vg_earom_w)
397   AM_RANGE(0x0e80, 0x0e80) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, ctrl_w)
398   AM_RANGE(0x0f00, 0x0f3f) AM_DEVWRITE_MODERN("earom", atari_vg_earom_device, write)
399399   AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey1", pokey_r, pokey_w)
400400   AM_RANGE(0x1400, 0x140f) AM_DEVREADWRITE("pokey2", pokey_r, pokey_w)
401401   AM_RANGE(0x2000, 0x27ff) AM_RAM AM_BASE(&avgdvg_vectorram) AM_SIZE(&avgdvg_vectorram_size) AM_REGION("maincpu", 0x2000)
src/mame/drivers/atarifb.c
r14328r14329
712712   ROM_LOAD_NIB_LOW ( "034726.b0", 0x6400, 0x0400, CRC(1f8d506c) SHA1(875464ca2ee50b36ceb5989cd40a28c69953c641) )
713713   ROM_LOAD_NIB_HIGH( "034724.l0", 0x6400, 0x0400, CRC(ecd18ed2) SHA1(6ffbc9a4108ebf190455fad3725b72dda4125ac7) )
714714   ROM_LOAD_NIB_LOW ( "034721.d1", 0x6800, 0x0400, CRC(1a0541f2) SHA1(ba74f024deb173678166262c4c6b1c328248aa9a) )
715   ROM_LOAD_NIB_HIGH( "034715.j1", 0x6800, 0x0400, CRC(accb96f5) SHA1(1cd6603c818dacf4f71fc350ebd3adf3369056b2) ) /* created from 8-bit set */
715   ROM_LOAD_NIB_HIGH( "034715.h1", 0x6800, 0x0400, CRC(accb96f5) SHA1(1cd6603c818dacf4f71fc350ebd3adf3369056b2) ) /* created from 8-bit set */
716716   ROM_LOAD_NIB_LOW ( "034722.d0", 0x6c00, 0x0400, CRC(f9c1174e) SHA1(9d1be9ce4985edd19e0969d8998946d05fbbdf1f) ) /* The code in these 2 differs */
717   ROM_LOAD_NIB_HIGH( "034716.j0", 0x6c00, 0x0400, CRC(d5622749) SHA1(6a48d428751939857be6869b44a61b8f054d4206) ) /* from the 8-bit set */
718   ROM_LOAD_NIB_LOW ( "034717.e1", 0x7000, 0x0400, CRC(c941f64b) SHA1(e4d309c8ae71adc42dab0ffeea8f58da310c52f3) )
717   ROM_LOAD_NIB_HIGH( "034716.h0", 0x6c00, 0x0400, CRC(d5622749) SHA1(6a48d428751939857be6869b44a61b8f054d4206) ) /* from the 8-bit set */
718   ROM_LOAD_NIB_LOW ( "034717.f1", 0x7000, 0x0400, CRC(c941f64b) SHA1(e4d309c8ae71adc42dab0ffeea8f58da310c52f3) )
719719   ROM_LOAD_NIB_HIGH( "034711.k1", 0x7000, 0x0400, CRC(fab61782) SHA1(01b6de2822d09ebe0725307eeeaeb667f53ca8f1) )
720   ROM_LOAD_NIB_LOW ( "034718.e0", 0x7400, 0x0400, CRC(3fe7dc1c) SHA1(91c3af7d8acdb5c4275f5fa57c19dc589f4a63aa) )
720   ROM_LOAD_NIB_LOW ( "034718.f0", 0x7400, 0x0400, CRC(3fe7dc1c) SHA1(91c3af7d8acdb5c4275f5fa57c19dc589f4a63aa) )
721721   ROM_LOAD_NIB_HIGH( "034712.k0", 0x7400, 0x0400, CRC(0e368e1a) SHA1(29bbe4be07d8d441a4251ed6fbfa9e225487c2d8) )
722   ROM_LOAD_NIB_LOW ( "034719.h1", 0x7800, 0x0400, CRC(85046ee5) SHA1(2e8559349460a44734c95a1440a84713c5344495) )
723   ROM_LOAD_NIB_HIGH( "034713.f1", 0x7800, 0x0400, CRC(0c67c48d) SHA1(eec24da32632c1ba00aee22f1b9abb144b38cc8a) )
724   ROM_LOAD_NIB_LOW ( "034720.h0", 0x7c00, 0x0400, CRC(37c5f149) SHA1(89ad4471b949f8318abbdb38c4f373f711130198) )
725   ROM_LOAD_NIB_HIGH( "034714.f0", 0x7c00, 0x0400, CRC(920979ea) SHA1(aba499376c084b8ceb6f0cc6599bd51cec133cc7) )
722   ROM_LOAD_NIB_LOW ( "034719.e1", 0x7800, 0x0400, CRC(85046ee5) SHA1(2e8559349460a44734c95a1440a84713c5344495) )
723   ROM_LOAD_NIB_HIGH( "034713.j1", 0x7800, 0x0400, CRC(0c67c48d) SHA1(eec24da32632c1ba00aee22f1b9abb144b38cc8a) )
724   ROM_LOAD_NIB_LOW ( "034720.e0", 0x7c00, 0x0400, CRC(37c5f149) SHA1(89ad4471b949f8318abbdb38c4f373f711130198) )
725   ROM_LOAD_NIB_HIGH( "034714.j0", 0x7c00, 0x0400, CRC(920979ea) SHA1(aba499376c084b8ceb6f0cc6599bd51cec133cc7) )
726726
727727   ROM_REGION( 0x0400, "gfx1", 0 )
728   ROM_LOAD_NIB_LOW ( "034710.d5", 0x0000, 0x0400, CRC(31275d86) SHA1(465ff2032e62bcd5a7bb5c947212da4ea4d59353) )
728   ROM_LOAD_NIB_LOW ( "034710.n7", 0x0000, 0x0400, CRC(31275d86) SHA1(465ff2032e62bcd5a7bb5c947212da4ea4d59353) )
729729
730730   ROM_REGION( 0x0200, "gfx2", 0 )
731   ROM_LOAD_NIB_LOW ( "034708.n7", 0x0000, 0x0200, CRC(8a0f971b) SHA1(f7de50eeb15c8291f1560e299e3b1b29bba58422) )
732   ROM_LOAD_NIB_HIGH( "034709.c5", 0x0000, 0x0200, CRC(021d1067) SHA1(da0fa8e4f6c0240a4feb41312fa057c65d809e62) )
731   ROM_LOAD_NIB_LOW ( "034708.c5", 0x0000, 0x0200, CRC(8a0f971b) SHA1(f7de50eeb15c8291f1560e299e3b1b29bba58422) )
732   ROM_LOAD_NIB_HIGH( "034709.d5", 0x0000, 0x0200, CRC(021d1067) SHA1(da0fa8e4f6c0240a4feb41312fa057c65d809e62) )
733733ROM_END
734734
735735
src/ldplayer/ldplayer_dev.lst
r0r14329
1/******************************************************************************
2
3    ldplayer_dev.lst
4
5    List of all enabled devices in the system. This file is parsed by
6    makedev.exe, sorted, and output as C code describing the devices.
7
8****************************************************************************
9
10    Copyright Aaron Giles
11    All rights reserved.
12
13    Redistribution and use in source and binary forms, with or without
14    modification, are permitted provided that the following conditions are
15    met:
16
17        * Redistributions of source code must retain the above copyright
18          notice, this list of conditions and the following disclaimer.
19        * Redistributions in binary form must reproduce the above copyright
20          notice, this list of conditions and the following disclaimer in
21          the documentation and/or other materials provided with the
22          distribution.
23        * Neither the name 'MAME' nor the names of its contributors may be
24          used to endorse or promote products derived from this software
25          without specific prior written permission.
26
27    THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND ANY EXPRESS OR
28    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
30    DISCLAIMED. IN NO EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
31    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
32    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
33    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
35    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
36    IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37    POSSIBILITY OF SUCH DAMAGE.
38
39******************************************************************************/
40
41PIONEER_LDV1000
42PIONEER_PR8210
No newline at end of file
src/ldplayer/ldplayer.c
r14328r14329
1313#include "emuopts.h"
1414#include "uimenu.h"
1515#include "cpu/mcs48/mcs48.h"
16#include "machine/pr8210.h"
16#include "machine/ldpr8210.h"
1717#include "machine/ldv1000.h"
1818#include <ctype.h>
1919

Previous 15994 Revisions Next


© 1998-2018 The MESS Team