Previous 15994 Revisions Next

r14676 Thursday 1st March, 2012 at 13:45:11 UTC by Miodrag Milanović
Sync with MAME r15585 (no whatsnew)
[src/emu/sound]votrax.c votrax.h
[src/mame]mame.lst
[src/mame/audio]gorf.c gottlieb.c wow.c
[src/mame/drivers]astrocde.c bfm_sc1.c gottlieb.c mediagx.c popobear.c segas16b.c
[src/mame/includes]astrocde.h gottlieb.h
[src/mess/drivers]votrtnt.c

src/mame/mame.lst
r14675r14676
1187411874
1187511875// Scorpion 1 games
1187611876
11877sc1lotus      // (c) 198? BFM Dutch ROMS, prelim
11877sc1lotus      // (c) 198? BFM Dutch ROMS
11878sc1lotusa
1187811879sc1roul      // (c) 198? BFM Dutch ROMS, prelim
1187911880sc1clatt      // (c) 1990 BFM,     Game Card 39-370-196
1188011881sc1clatta
r14675r14676
1188211883sc1armad
1188311884sc1bartk
1188411885sc1barcd
11886sc1barcda
1188511887sc1bigmt
1188611888sc1calyp
1188711889sc1carro
1188811890sc1cshat
11891sc1cshata
11892sc1cshatb
11893sc1cshatc
1188911894sc1cshcd
1189011895sc1cshcda
1189111896sc1cshcdb
1189211897sc1ccoin
11893sc1cexpd   // Cash Explosion (Bellfruit) [Dutch]
11898sc1cexpd   // Cash Explosion (Bellfruit) (Dutch)
1189411899sc1cexpl   // Cash Explosion (Bellfruit)
11900sc1cexpla
11901sc1cexplb
11902sc1cexplc
11903sc1cexpld
1189511904sc1cshwz   // Cash Wise (Bellfruit)
11896sc1cshin   // Cashino (Bellfruit) [Dutch]
11905sc1cshwza
11906sc1cshwzb
11907sc1cshwzc
11908sc1cshin   // Cashino (Bellfruit) (Dutch)
1189711909sc1china   // China Town Club (Bellfruit)
11910sc1chinap
11911sc1chinaa
11912sc1chinaap
11913sc1chinab
11914sc1chinabp
1189811915sc1class   // Classic (Bellfruit)
1189911916sc1cwcl      // Clockwise Club (Bellfruit)
1190011917sc1clown   // Clown Around (Bellfruit)
1190111918sc1cl2k      // Club 2000 (Bellfruit)
1190211919sc1cl2k1   // Club 2001 (Bellfruit)
1190311920sc1cl65      // Club 65 Special (Bellfruit)
11921sc1cl65a
11922sc1cl65ap
11923sc1cl65b
11924sc1cl65bp
11925sc1cl65c
11926sc1cl65d
11927sc1cl65dp
1190411928sc1clbdm   // Club Diamond (Bellfruit)
1190511929sc1clbxp   // Club Explosion (Bellfruit)
1190611930sc1clbrn   // Club Runner (Bellfruit)
1190711931sc1clbsp   // Club Spinner (Bellfruit)
1190811932sc1clbtm   // Club Temptation (Bellfruit)
11933sc1clbtma
1190911934sc1clbw      // Club Wise (Bellfruit)
11935sc1clbwa
11936sc1clbwb
1191011937sc1copdd   // Cops 'n' Robbers Deluxe (Bellfruit) [Dutch]
1191111938sc1copdx   // Cops 'n' Robbers Deluxe (Bellfruit)
1191211939sc1count   // Count Cash Club (Bellfruit)
11940sc1countp
11941sc1counta
11942sc1countap
11943sc1countb
1191311944sc1dago      // Dagobert's Vault (Bellfruit)
1191411945sc1disc      // Discovey (Bellfruit)
11946sc1disca
1191511947sc1dblch   // Double Chance (Bellfruit)
11948sc1dblcha
1191611949sc1dream   // Dream Machine (Bellfruit)
1191711950sc1final   // Final Touch (Bellfruit)
1191811951sc1flash   // Flash (Bellfruit)
1191911952sc1fruit   // Fruit Lines (Bellfruit)
1192011953sc1frtln   // Fruitlines (Bellfruit)
1192111954sc1funh      // Fun House Club (Bellfruit)
11955sc1funhp
11956sc1funha
11957sc1funhb
1192211958sc1gtime   // Good Times (Bellfruit)
1192311959sc1tiara   // Tiara (Elam)
1192411960sc1gprix   // Grand Prix (Bellfruit)
11925sc1gslam   // Grand Slam (Bellfruit) [Dutch]
11961sc1gslam   // Grand Slam (Bellfruit) (Dutch)
1192611962sc1happy   // Happy Hour (Bellfruit - Elam)
1192711963sc1impc      // Impact (Bellfruit)
1192811964sc1kings   // Kings Club (Bellfruit)
1192911965sc1linx      // Linx (Bellfruit)
11966sc1linxa
11967sc1linxp
1193011968sc1magc      // Magic Circle (Bellfruit)
1193111969sc1manha   // Manhattan (Bellfruit)
1193211970sc1mast      // Master Club (Bellfruit)
r14675r14676
1193511973sc1olym      // Olympia (Bellfruit)
1193611974sc1orac      // Oracle (Bellfruit)
1193711975sc1pwrl      // Power Lines (Bellfruit)
11976sc1pwrla
1193811977sc1rain      // Rainbow (Bellfruit)
1193911978sc1re      // Reel Cash (Bellfruit)
1194011979sc1rese      // Reel Cash SE (Bellfruit)
11941sc1revo      // Revolution (Bellfruit) [Dutch]
11980sc1revo      // Revolution (Bellfruit) (Dutch)
1194211981sc1rose      // Rose 'n' Crown (Bellfruit)
1194311982sc1sant      // Santana (Bellfruit)
1194411983sc1sat      // Satellite (Bellfruit)
1194511984sc1shan      // Shanghai (Bellfruit)
1194611985sc1spct      // Spectre (Bellfruit)
11986sc1spcta
1194711987sc1spit      // Spitfire (Elam)
1194811988sc1ster      // Sterling (Bellfruit)
1194911989sc1str4      // Strike 4 (Bellfruit)
1195011990sc1str4a   //
1195111991sc1sir      // Strike It Rich (Bellfruit)
11952sc1sups      // Superstar (Bellfruit) [Dutch]
11992sc1sira
11993sc1sirb
11994sc1sirc
11995sc1sups      // Superstar (Bellfruit) (Dutch)
1195311996sc1torn      // Tornado (Bellfruit)
11997sc1torna
1195411998sc1tri      // Tri Star (Bellfruit)
11999sc1tria
12000sc1triap
12001sc1trib
12002sc1tribp
1195512003sc1typ      // Typhoon Club (Bellfruit)
12004sc1typp
1195612005sc1ult      // Ultimate (Bellfruit)
1195712006sc1vent      // Ventura (Bellfruit)
1195812007sc1vict      // Victory (Bellfruit)
1195912008sc1voy      // Voyager (Bellfruit)
11960sc1voya      //
12009sc1voya
1196112010sc1winfl   // Winfalls (Bellfruit)
1196212011sc1winst   // Winning Streak (Bellfruit)
12012sc1winstp
12013sc1winsta
12014sc1winstb
12015sc1winstbp
12016sc1winstc
12017sc1winstcp
12018sc1winstd
12019sc1winstdp
12020sc1winste
12021sc1winstep
12022sc1winstf
12023sc1winstfp
12024sc1winstg
1196312025sc1zep      // Zeppelin (Bellfruit)
1196412026sc1wthn      // Wild Thing (Eurocoin)
1196512027sc1days      // All In A Days Work (Global)
12028sc1daysa
1196612029sc1cscl      // Cash Classic (Global)
12030sc1cscla
12031sc1csclb   //Maygay?
12032sc1csclc   //Maygay?
1196712033sc1driv      // Driving School (Global)
12034sc1driva
12035sc1drivb
12036sc1drivc
1196812037sc1vsd      // Vegas Super Deal (Global)
1196912038sc1moonl   // Moon Lite (Bwb)
1197012039sc1ltdv      // Little Devil (Pcp)
r14675r14676
1197212041sc1dip      // Diplomat (Eurocoin)
1197312042sc1lamb      // Lambada (Eurocoin)
1197412043sc1reply   // Replay (Eurocoin)
11975sc1smoke   //
11976sc1ccroc   //
11977sc1crocr   //
11978sc1btclk   //
12044sc1smoke   // Smokey Vs The Bandit (Mdm)
12045sc1smokea
12046sc1ccroc   // Crazy Crocs (Mdm)
12047sc1ccroca
12048sc1ccrocb
12049sc1ccrocc
12050sc1crocr   // Croc And Roll (Mdm)
12051sc1btclk   // Beat The Clock (Mdm)
1197912052sc1btbc      // Beat The Bank Club (Bellfruit)
1198012053sc1boncl   // Bonanza Club (Bellfruit)
1198112054sc1clins   // Cash Lines (Bellfruit)
r14675r14676
1199412067sc1supfl   // Super Flush (Bellfruit)
1199512068sc1ofs56   // zzz_unk ofs56cp (Bellfruit)
1199612069sc1frpus   // Fruit Pursuit (Bellfruit)
11997sc1wof      //
12070sc1wof      // Wheel Of Fortune (Global)
1199812071sc1wofa      //
1199912072sc1wofb      //
12000sc1crzyc   //
12073sc1crzyc   // Crazy Cash (Global)
1200112074sc1crzyca   //
12002sc1clbdy   //
12075sc1clbdy   // Club Dynamite (Global)
1200312076sc1clbdya   //
12004sc1chqfl   //
12005sc1s1000   //
12077sc1chqfl   // Chequered Flag (Global)
12078sc1s1000   // Super 1000 (Deltasoft)
1200612079sc1cdm      // Club Diamond (Crystal)
1200712080sc1hfcc      // Hi-Flyer Club (Crystal)
12008sc1twice   //
12009sc1chain   //
12010sc1potp      //
12011sc1potpa   //
12081sc1twice   // Twice As Nice (Associated Leisure)
12082sc1chain   // Chain Reaction (Bellfruit)
12083sc1chainp
12084sc1chaina
12085sc1potp      // Pick Of The Pack (Bellfruit)
12086sc1potpa   // Double Dealer (Bellfruit)?
1201212087sc1scunk   //
1201312088
1201412089// Scorpion 1 + Adder Video board
src/mame/audio/gorf.c
r14675r14676
2020#include "emu.h"
2121#include "cpu/z80/z80.h"
2222#include "sound/samples.h"
23#include "sound/votrax.h"
2324#include "includes/astrocde.h"
2425
2526
r14675r14676
111112
112113READ8_HANDLER( gorf_speech_r )
113114{
115   UINT8 data = offset >> 8;
116#if USE_FAKE_VOTRAX
114117   astrocde_state *state = space->machine().driver_data<astrocde_state>();
115118   samples_device *samples = space->machine().device<samples_device>("samples");
116119   int Phoneme, Intonation;
117120   int i = 0;
118   UINT8 data = offset >> 8;
119121   offset &= 0xff;
120122
121123   state->m_totalword_ptr = state->m_totalword;
r14675r14676
169171         return data;
170172      }
171173   }
174#else
175   votrax_sc01_device *votrax = space->machine().device<votrax_sc01_device>("votrax");
176   votrax->inflection_w(*space, 0, data >> 6);
177   votrax->write(*space, 0, data);
178#endif
172179
173180   /* Note : We should really also use volume in this as well as frequency */
174181   return data;                               /* Return nicely */
r14675r14676
177184
178185CUSTOM_INPUT( gorf_speech_status_r )
179186{
187#if USE_FAKE_VOTRAX
180188   samples_device *samples = field.machine().device<samples_device>("samples");
181189   return !samples->playing(0);
190#else
191   votrax_sc01_device *votrax = field.machine().device<votrax_sc01_device>("votrax");
192   return votrax->request();
193#endif
182194}
src/mame/audio/gottlieb.c
r14675r14676
11/***************************************************************************
22
3    Gottlieb hardware
4    dedicated to Warren Davis, Jeff Lee, Tim Skelly & David Thiel
3    gottlieb.h
54
6***************************************************************************/
5    Gottlieb 6502-based sound hardware implementations.
76
8#include "emu.h"
9#include "debugger.h"
10#include "cpu/m6502/m6502.h"
11#include "machine/6532riot.h"
12#include "sound/samples.h"
13#include "sound/dac.h"
14#include "sound/ay8910.h"
15//#include "sound/votrax.h"
16#include "sound/sp0250.h"
17#include "includes/gottlieb.h"
7   Dedicated to Warren Davis, Jeff Lee, Tim Skelly & David Thiel
188
9****************************************************************************
1910
20#define SOUND1_CLOCK      XTAL_3_579545MHz
21#define SOUND2_CLOCK      XTAL_4MHz
22#define SOUND2_SPEECH_CLOCK   XTAL_3_12MHz
11    Copyright Aaron Giles
12    All rights reserved.
2313
14    Redistribution and use in source and binary forms, with or without
15    modification, are permitted provided that the following conditions are
16    met:
2417
18        * Redistributions of source code must retain the above copyright
19          notice, this list of conditions and the following disclaimer.
20        * Redistributions in binary form must reproduce the above copyright
21          notice, this list of conditions and the following disclaimer in
22          the documentation and/or other materials provided with the
23          distribution.
24        * Neither the name 'MAME' nor the names of its contributors may be
25          used to endorse or promote products derived from this software
26          without specific prior written permission.
2527
28    THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND ANY EXPRESS OR
29    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
30    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31    DISCLAIMED. IN NO EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
32    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36    STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
37    IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38    POSSIBILITY OF SUCH DAMAGE.
2639
40***************************************************************************/
41#define ADDRESS_MAP_MODERN
2742
43#include "emu.h"
44#include "includes/gottlieb.h"
2845
2946
47#define SOUND1_CLOCK      XTAL_3_579545MHz
48#define SOUND2_CLOCK      XTAL_4MHz
49#define SOUND2_SPEECH_CLOCK   XTAL_3_12MHz
3050
3151
32static void gottlieb1_sh_w(device_t *riot, UINT8 data);
33static void gottlieb2_sh_w(address_space *space, UINT8 data);
34static void trigger_sample(samples_device *samples, UINT8 data);
52//**************************************************************************
53//  GLOBAL VARIABLES
54//**************************************************************************
3555
56extern const device_type GOTTLIEB_SOUND_REV1 = &device_creator<gottlieb_sound_r1_device>;
57extern const device_type GOTTLIEB_SOUND_REV1_WITH_VOTRAX = &device_creator<gottlieb_sound_r1_with_votrax_device>;
58extern const device_type GOTTLIEB_SOUND_REV2 = &device_creator<gottlieb_sound_r2_device>;
3659
3760
38/*************************************
39 *
40 *  Generic interfaces
41 *
42 *************************************/
4361
44WRITE8_HANDLER( gottlieb_sh_w )
45{
46   device_t *riot = space->machine().device("riot");
62//**************************************************************************
63//  OLD CRAPPY SAMPLE PLAYER
64//**************************************************************************
4765
48   /* identify rev1 boards by the presence of a 6532 RIOT device */
49   if (riot != NULL)
50      gottlieb1_sh_w(riot, data);
51   else
52      gottlieb2_sh_w(space, data);
53}
66#if USE_FAKE_VOTRAX
5467
55
56
57/*************************************
58 *
59 *  Rev. 1 handlers
60 *
61 *************************************/
62
63static void gottlieb1_sh_w(device_t *riot, UINT8 data)
68void gottlieb_sound_r1_device::trigger_sample(UINT8 data)
6469{
65   samples_device *samples = riot->machine().device<samples_device>("samples");
66   int pa7 = (data & 0x0f) != 0xf;
67   int pa0_5 = ~data & 0x3f;
68
69   /* snoop the data looking for commands that need samples */
70   if (pa7 && samples != NULL)
71      trigger_sample(samples, pa0_5);
72
73   /* write the command data to the low 6 bits, and the trigger to the upper bit */
74   riot6532_porta_in_set(riot, pa0_5 | (pa7 << 7), 0xbf);
75}
76
77
78
79/*************************************
80 *
81 *  Rev. 1 RIOT interfaces
82 *
83 *************************************/
84
85static WRITE_LINE_DEVICE_HANDLER( snd_interrupt )
86{
87   cputag_set_input_line(device->machine(), "audiocpu", M6502_IRQ_LINE, state);
88}
89
90
91static WRITE8_DEVICE_HANDLER( r6532_portb_w )
92{
93   /* unsure if this is ever used, but the NMI is connected to the RIOT's PB7 */
94   cputag_set_input_line(device->machine(), "audiocpu", INPUT_LINE_NMI, (data & 0x80) ? CLEAR_LINE : ASSERT_LINE);
95}
96
97
98static const riot6532_interface gottlieb_riot6532_intf =
99{
100   DEVCB_NULL,
101   DEVCB_INPUT_PORT("SB1"),
102   DEVCB_NULL,
103   DEVCB_HANDLER(r6532_portb_w),
104   DEVCB_LINE(snd_interrupt)
105};
106
107
108
109/*************************************
110 *
111 *  Rev. 1 sample players
112 *
113 *************************************/
114
115static void play_sample(samples_device *samples, const char *phonemes)
116{
117   if (strcmp(phonemes, "[0] HEH3LOOW     AH1EH3I3YMTERI2NDAHN") == 0)     /* Q-Bert - Hello, I am turned on */
118      samples->start(0, 42);
119   else if (strcmp(phonemes, "[0]BAH1EH1Y") == 0)                       /* Q-Bert - Bye, bye */
120      samples->start(0, 43);
121   else if (strcmp(phonemes, "[0]A2YHT LEH2FTTH") == 0)                 /* Reactor - Eight left */
122      samples->start(0, 0);
123   else if (strcmp(phonemes, "[0]SI3KS DTYN LEH2FTTH") == 0)              /* Reactor - Sixteen left */
124      samples->start(0, 1);
125   else if (strcmp(phonemes, "[0]WO2RNYNG KO2R UH1NSDTABUH1L") == 0)        /* Reactor - Warning core unstable */
126      samples->start(0, 5);
127   else if (strcmp(phonemes, "[0]CHAMBERR   AE1EH2KTI1VA1I3DTEH1DT ") == 0) /* Reactor - Chamber activated */
128      samples->start(0, 7);
129}
130
131
132static void trigger_sample(samples_device *samples, UINT8 data)
133{
134   gottlieb_state *state = samples->machine().driver_data<gottlieb_state>();
13570   /* Reactor samples */
136   if (strcmp(samples->machine().system().name, "reactor") == 0)
71   if (strcmp(machine().system().name, "reactor") == 0)
13772   {
13873      switch (data)
13974      {
r14675r14676
14176         case 56:
14277         case 57:
14378         case 59:
144            samples->start(0, data - 53);
79            m_samples->start(0, data - 53);
14580            break;
14681
14782         case 31:
148            state->m_score_sample = 7;
83            m_score_sample = 7;
14984            break;
15085
15186         case 39:
152            state->m_score_sample++;
153            if (state->m_score_sample < 20)
154               samples->start(0, state->m_score_sample);
87            m_score_sample++;
88            if (m_score_sample < 20)
89               m_samples->start(0, m_score_sample);
15590            break;
15691      }
15792   }
r14675r14676
166101         case 19:
167102         case 20:
168103         case 21:
169            samples->start(0, (data - 17) * 8 + state->m_random_offset);
170            state->m_random_offset = (state->m_random_offset + 1) & 7;
104            m_samples->start(0, (data - 17) * 8 + m_random_offset);
105            m_random_offset = (m_random_offset + 1) & 7;
171106            break;
172107
173108         case 22:
174            samples->start(0,40);
109            m_samples->start(0,40);
175110            break;
176111
177112         case 23:
178            samples->start(0,41);
113            m_samples->start(0,41);
179114            break;
180115      }
181116   }
182117}
183118
184
185#ifdef UNUSED_FUNCTION
186void gottlieb_knocker(running_machine &machine)
119void gottlieb_sound_r1_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
187120{
188   samples_device *samples = space->machine().device<samples_device>("samples");
189   if (!strcmp(machine.system().name,"reactor"))   /* reactor */
190   {
191   }
192   else if (samples != NULL)   /* qbert */
193      samples->start(0,44);
121   m_audiocpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE);
194122}
195#endif
196123
197
198
199/*************************************
200 *
201 *  Rev. 1 speech interface
202 *
203 *************************************/
204
205/* callback for the timer */
206static TIMER_CALLBACK( gottlieb_nmi_generate )
124void gottlieb_sound_r1_device::fake_votrax_data_w(UINT8 data)
207125{
208   cputag_set_input_line(machine, "audiocpu", INPUT_LINE_NMI, PULSE_LINE);
209}
210
211
212static WRITE8_HANDLER( vortrax_data_w )
213{
214   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
215126   static const char *const PhonemeTable[0x40] =
216127   {
217128      "EH3", "EH2", "EH1", "PA0", "DT" , "A1" , "A2" , "ZH",
r14675r14676
228139
229140logerror("Votrax: intonation %d, phoneme %02x %s\n",data >> 6,data & 0x3f,PhonemeTable[data & 0x3f]);
230141
231   state->m_votrax_queue[state->m_votrax_queuepos++] = data;
142   m_votrax_queue[m_votrax_queuepos++] = data;
232143
233144   if ((data & 0x3f) == 0x3f)
234145   {
235      if (state->m_votrax_queuepos > 1)
146      if (m_votrax_queuepos > 1)
236147      {
237         samples_device *samples = space->machine().device<samples_device>("samples");
238148         int last = -1;
239149         int i;
240150         char phonemes[200];
241151
242152         phonemes[0] = 0;
243         for (i = 0;i < state->m_votrax_queuepos-1;i++)
153         for (i = 0;i < m_votrax_queuepos-1;i++)
244154         {
245155            static const char *const inf[4] = { "[0]", "[1]", "[2]", "[3]" };
246            int phoneme = state->m_votrax_queue[i] & 0x3f;
247            int inflection = state->m_votrax_queue[i] >> 6;
156            int phoneme = m_votrax_queue[i] & 0x3f;
157            int inflection = m_votrax_queue[i] >> 6;
248158            if (inflection != last) strcat(phonemes, inf[inflection]);
249159            last = inflection;
250160            if (phoneme == 0x03 || phoneme == 0x3e) strcat(phonemes," ");
r14675r14676
252162         }
253163
254164         mame_printf_debug("Votrax played '%s'\n", phonemes);
255         play_sample(samples, phonemes);
256#if 0
257         popmessage("%s", phonemes);
258#endif
165         if (strcmp(phonemes, "[0] HEH3LOOW     AH1EH3I3YMTERI2NDAHN") == 0)     /* Q-Bert - Hello, I am turned on */
166            m_samples->start(0, 42);
167         else if (strcmp(phonemes, "[0]BAH1EH1Y") == 0)                       /* Q-Bert - Bye, bye */
168            m_samples->start(0, 43);
169         else if (strcmp(phonemes, "[0]A2YHT LEH2FTTH") == 0)                 /* Reactor - Eight left */
170            m_samples->start(0, 0);
171         else if (strcmp(phonemes, "[0]SI3KS DTYN LEH2FTTH") == 0)              /* Reactor - Sixteen left */
172            m_samples->start(0, 1);
173         else if (strcmp(phonemes, "[0]WO2RNYNG KO2R UH1NSDTABUH1L") == 0)        /* Reactor - Warning core unstable */
174            m_samples->start(0, 5);
175         else if (strcmp(phonemes, "[0]CHAMBERR   AE1EH2KTI1VA1I3DTEH1DT ") == 0) /* Reactor - Chamber activated */
176            m_samples->start(0, 7);
259177      }
260178
261      state->m_votrax_queuepos = 0;
179      m_votrax_queuepos = 0;
262180   }
263181
264182   /* generate a NMI after a while to make the CPU continue to send data */
265   space->machine().scheduler().timer_set(attotime::from_usec(50), FUNC(gottlieb_nmi_generate));
183   timer_set(attotime::from_usec(50));
266184}
267185
268static WRITE8_HANDLER( speech_clock_dac_w )
186static const char *const reactor_sample_names[] =
269187{
270   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
271if (data != state->m_last)
272   mame_printf_debug("clock = %02X\n", data);
273state->m_last = data;
188   "*reactor",
189   "fx_53", /* "8 left" */
190   "fx_54", /* "16 left" */
191   "fx_55", /* "24 left" */
192   "fx_56", /* "32 left" */
193   "fx_57", /* "40 left" */
194   "fx_58", /* "warning, core unstable" */
195   "fx_59", /* "bonus" */
196   "fx_31", /* "chamber activated" */
197   "fx_39a", /* "2000" */
198   "fx_39b", /* "5000" */
199   "fx_39c", /* "10000" */
200   "fx_39d", /* "15000" */
201   "fx_39e", /* "20000" */
202   "fx_39f", /* "25000" */
203   "fx_39g", /* "30000" */
204   "fx_39h", /* "35000" */
205   "fx_39i", /* "40000" */
206   "fx_39j", /* "45000" */
207   "fx_39k", /* "50000" */
208   "fx_39l", /* "55000" */
209     0   /* end of array */
210};
211
212static const char *const qbert_sample_names[] =
213{
214   "*qbert",
215   "fx_17a", /* random speech, voice clock 255 */
216   "fx_17b", /* random speech, voice clock 255 */
217   "fx_17c", /* random speech, voice clock 255 */
218   "fx_17d", /* random speech, voice clock 255 */
219   "fx_17e", /* random speech, voice clock 255 */
220   "fx_17f", /* random speech, voice clock 255 */
221   "fx_17g", /* random speech, voice clock 255 */
222   "fx_17h", /* random speech, voice clock 255 */
223   "fx_18a", /* random speech, voice clock 176 */
224   "fx_18b", /* random speech, voice clock 176 */
225   "fx_18c", /* random speech, voice clock 176 */
226   "fx_18d", /* random speech, voice clock 176 */
227   "fx_18e", /* random speech, voice clock 176 */
228   "fx_18f", /* random speech, voice clock 176 */
229   "fx_18g", /* random speech, voice clock 176 */
230   "fx_18h", /* random speech, voice clock 176 */
231   "fx_19a", /* random speech, voice clock 128 */
232   "fx_19b", /* random speech, voice clock 128 */
233   "fx_19c", /* random speech, voice clock 128 */
234   "fx_19d", /* random speech, voice clock 128 */
235   "fx_19e", /* random speech, voice clock 128 */
236   "fx_19f", /* random speech, voice clock 128 */
237   "fx_19g", /* random speech, voice clock 128 */
238   "fx_19h", /* random speech, voice clock 128 */
239   "fx_20a", /* random speech, voice clock 96 */
240   "fx_20b", /* random speech, voice clock 96 */
241   "fx_20c", /* random speech, voice clock 96 */
242   "fx_20d", /* random speech, voice clock 96 */
243   "fx_20e", /* random speech, voice clock 96 */
244   "fx_20f", /* random speech, voice clock 96 */
245   "fx_20g", /* random speech, voice clock 96 */
246   "fx_20h", /* random speech, voice clock 96 */
247   "fx_21a", /* random speech, voice clock 62 */
248   "fx_21b", /* random speech, voice clock 62 */
249   "fx_21c", /* random speech, voice clock 62 */
250   "fx_21d", /* random speech, voice clock 62 */
251   "fx_21e", /* random speech, voice clock 62 */
252   "fx_21f", /* random speech, voice clock 62 */
253   "fx_21g", /* random speech, voice clock 62 */
254   "fx_21h", /* random speech, voice clock 62 */
255   "fx_22", /* EH2 with decreasing voice clock */
256   "fx_23", /* O1 with varying voice clock */
257   "fx_28",
258   "fx_36",
259   "knocker",
260   0   /* end of array */
261};
262
263static const samples_interface reactor_samples_interface =
264{
265   1,   /* one channel */
266   reactor_sample_names
267};
268
269static const samples_interface qbert_samples_interface =
270{
271   1,   /* one channel */
272   qbert_sample_names
273};
274
275MACHINE_CONFIG_FRAGMENT( reactor_samples )
276   MCFG_SAMPLES_ADD("samples", reactor_samples_interface)
277   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
278MACHINE_CONFIG_END
279
280MACHINE_CONFIG_FRAGMENT( qbert_samples )
281   MCFG_SAMPLES_ADD("samples", qbert_samples_interface)
282   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
283MACHINE_CONFIG_END
284
285#endif
286
287
288
289//**************************************************************************
290//  REV 1 SOUND BOARD: 6502 + DAC
291//**************************************************************************
292
293//-------------------------------------------------
294//  gottlieb_sound_r1_device - constructors
295//-------------------------------------------------
296
297gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
298   : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", "gotsndr1", tag, owner, clock),
299     device_mixer_interface(mconfig, *this),
300     m_audiocpu(*this, "audiocpu"),
301     m_riot(*this, "riot"),
302     m_dac(*this, "dac"),
303     m_votrax(*this, "votrax"),
304     m_populate_votrax(false),
305     m_last_speech_clock(0)
306#if USE_FAKE_VOTRAX
307     , m_samples(*this, ":samples"),
308     m_score_sample(0),
309     m_random_offset(0),
310     m_votrax_queuepos(0)
311#endif
312{
274313}
275314
315gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax)
316   : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", "gotsndr1", tag, owner, clock),
317     device_mixer_interface(mconfig, *this),
318     m_audiocpu(*this, "audiocpu"),
319     m_riot(*this, "riot"),
320     m_dac(*this, "dac"),
321     m_votrax(*this, "votrax"),
322     m_populate_votrax(populate_votrax),
323     m_last_speech_clock(0)
324#if USE_FAKE_VOTRAX
325     , m_samples(*this, ":samples"),
326     m_score_sample(0),
327     m_random_offset(0),
328     m_votrax_queuepos(0)
329#endif
330{
331}
276332
277/*************************************
278 *
279 *  Rev 1. initialization
280 *
281 *************************************/
282333
283static SOUND_START( gottlieb1 )
334//-------------------------------------------------
335//  write - handle an external command write
336//-------------------------------------------------
337
338WRITE8_MEMBER( gottlieb_sound_r1_device::write )
284339{
285   gottlieb_state *state = machine.driver_data<gottlieb_state>();
286   state->m_score_sample = 7;
287   state->m_random_offset = 0;
340   // write the command data to the low 6 bits, and the trigger to the upper bit
341   UINT8 pa7 = (data & 0x0f) != 0xf;
342   UINT8 pa0_5 = ~data & 0x3f;
343   m_riot->porta_in_set(pa0_5 | (pa7 << 7), 0xbf);
288344
289   state_save_register_global_array(machine, state->m_votrax_queue);
290   state_save_register_global(machine, state->m_votrax_queuepos);
345#if USE_FAKE_VOTRAX
346   if (pa7 && m_samples != NULL)
347      trigger_sample(pa0_5);
348#endif
291349}
292350
293351
352//-------------------------------------------------
353//  snd_interrupt - signal a sound interrupt
354//-------------------------------------------------
294355
295/*************************************
296 *
297 *  Rev 1. address map
298 *
299 *************************************/
356WRITE_LINE_MEMBER( gottlieb_sound_r1_device::snd_interrupt )
357{
358   m_audiocpu->set_input_line(M6502_IRQ_LINE, state);
359}
300360
301static ADDRESS_MAP_START( gottlieb_sound1_map, AS_PROGRAM, 8 )
302   /* A15 not decoded except in expansion socket */
361
362//-------------------------------------------------
363//  r6532_portb_w - handle writes to the RIOT's
364//   port B
365//-------------------------------------------------
366
367WRITE8_MEMBER( gottlieb_sound_r1_device::r6532_portb_w )
368{
369   // unsure if this is ever used, but the NMI is connected to the RIOT's PB7
370   m_audiocpu->set_input_line(INPUT_LINE_NMI, (data & 0x80) ? CLEAR_LINE : ASSERT_LINE);
371}
372
373
374//-------------------------------------------------
375//  votrax_data_w - write data to the Votrax SC-01
376//  speech chip
377//-------------------------------------------------
378
379WRITE8_MEMBER( gottlieb_sound_r1_device::votrax_data_w )
380{
381   if (m_votrax != NULL)
382   {
383      m_votrax->inflection_w(space, offset, data >> 6);
384      m_votrax->write(space, offset, ~data & 0x3f);
385   }
386
387#if USE_FAKE_VOTRAX
388   fake_votrax_data_w(data);
389#endif
390}
391
392
393//-------------------------------------------------
394//  speech_clock_dac_w - modify the clock driving
395//    the Votrax SC-01 speech chip
396//-------------------------------------------------
397
398WRITE8_MEMBER( gottlieb_sound_r1_device::speech_clock_dac_w )
399{
400   if (m_votrax != NULL)
401   {
402      // nominal clock is 0xa0
403      if (data != m_last_speech_clock)
404      {
405         mame_printf_debug("clock = %02X\n", data);
406         
407         // totally random guesswork; would like to get real measurements on a board
408         if (m_votrax != NULL)
409            m_votrax->set_unscaled_clock(600000 + (data - 0xa0) * 10000);
410         m_last_speech_clock = data;
411      }
412   }
413}
414
415
416//-------------------------------------------------
417//  votrax_request - map the VOTRAX SC-01 request
418//   line to the NMI pin on the sound chip
419//-------------------------------------------------
420
421WRITE_LINE_MEMBER( gottlieb_sound_r1_device::votrax_request )
422{
423   m_audiocpu->set_input_line(INPUT_LINE_NMI, state);
424}
425
426
427//-------------------------------------------------
428//  RIOT interface
429//-------------------------------------------------
430
431static const riot6532_interface gottlieb_riot6532_intf =
432{
433   DEVCB_NULL,
434   DEVCB_INPUT_PORT("SB1"),
435   DEVCB_NULL,
436   DEVCB_DEVICE_MEMBER(DEVICE_SELF_OWNER, gottlieb_sound_r1_device, r6532_portb_w),
437   DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, gottlieb_sound_r1_device, snd_interrupt)
438};
439
440
441//-------------------------------------------------
442//  VOTRAX interface
443//-------------------------------------------------
444
445static const votrax_sc01_interface gottlieb_votrax_interface =
446{
447   DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, gottlieb_sound_r1_device, votrax_request)
448};
449
450
451//-------------------------------------------------
452//  audio CPU map
453//-------------------------------------------------
454
455static ADDRESS_MAP_START( gottlieb_sound_r1_map, AS_PROGRAM, 8, gottlieb_sound_r1_device )
456   // A15 not decoded except in expansion socket
303457   ADDRESS_MAP_GLOBAL_MASK(0x7fff)
304458   AM_RANGE(0x0000, 0x007f) AM_MIRROR(0x0d80) AM_RAM
305   AM_RANGE(0x0200, 0x021f) AM_MIRROR(0x0de0) AM_DEVREADWRITE("riot", riot6532_r, riot6532_w)
306   AM_RANGE(0x1000, 0x1000) AM_MIRROR(0x0fff) AM_DEVWRITE("dac", dac_w)
307   AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x0fff) AM_WRITE(vortrax_data_w)
459   AM_RANGE(0x0200, 0x021f) AM_MIRROR(0x0de0) AM_DEVREADWRITE("riot", riot6532_device, read, write)
460   AM_RANGE(0x1000, 0x1000) AM_MIRROR(0x0fff) AM_DEVWRITE_LEGACY("dac", dac_w)
461   AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x0fff) AM_WRITE(votrax_data_w)
308462   AM_RANGE(0x3000, 0x3000) AM_MIRROR(0x0fff) AM_WRITE(speech_clock_dac_w)
309463   AM_RANGE(0x6000, 0x7fff) AM_ROM
310464ADDRESS_MAP_END
311465
312466
467//-------------------------------------------------
468//  machine configuration
469//-------------------------------------------------
313470
314/*************************************
315 *
316 *  Rev. 1 machine driver
317 *
318 *************************************/
471MACHINE_CONFIG_FRAGMENT( gottlieb_sound_r1 )
472   // audio CPU
473   MCFG_CPU_ADD("audiocpu", M6502, SOUND1_CLOCK/4)   // the board can be set to /2 as well
474   MCFG_CPU_PROGRAM_MAP(gottlieb_sound_r1_map)
319475
320MACHINE_CONFIG_FRAGMENT( gottlieb_soundrev1 )
321   MCFG_SOUND_START(gottlieb1)
322
476   // I/O configuration
323477   MCFG_RIOT6532_ADD("riot", SOUND1_CLOCK/4, gottlieb_riot6532_intf)
324478
325   MCFG_CPU_ADD("audiocpu", M6502, SOUND1_CLOCK/4)   /* the board can be set to /2 as well */
326   MCFG_CPU_PROGRAM_MAP(gottlieb_sound1_map)
327
328   /* sound hardware */
479   // sound devices
329480   MCFG_SOUND_ADD("dac", DAC, 0)
330   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
481   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 0.50)
331482MACHINE_CONFIG_END
332483
484MACHINE_CONFIG_FRAGMENT( gottlieb_sound_r1_with_votrax )
485   MCFG_FRAGMENT_ADD(gottlieb_sound_r1)
486   
487   // add the VOTRAX
488   MCFG_VOTRAX_SC01_ADD("votrax", 720000, gottlieb_votrax_interface)
489   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 0.50)
490MACHINE_CONFIG_END
333491
334492
335/*************************************
336 *
337 *  Rev. 1 input ports
338 *
339 *************************************/
493//-------------------------------------------------
494//  input ports
495//-------------------------------------------------
340496
341INPUT_PORTS_START( gottlieb1_sound )
497INPUT_PORTS_START( gottlieb_sound_r1 )
342498   PORT_START("SB1")
343499   PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "SB1:7" )
344500   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SB1:6" )
r14675r14676
349505   PORT_DIPNAME( 0x40, 0x40, "Sound Test" )         PORT_DIPLOCATION("SB1:2")
350506   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
351507   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
352   PORT_BIT( 0x80, 0x80, IPT_UNKNOWN )   /* To U3-6 on QBert */
508   PORT_BIT( 0x80, 0x80, IPT_SPECIAL )
353509INPUT_PORTS_END
354510
511INPUT_PORTS_START( gottlieb_sound_r1_with_votrax )
512   PORT_INCLUDE(gottlieb_sound_r1)
513   PORT_MODIFY("SB1")
514   PORT_BIT( 0x80, 0x80, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("votrax", votrax_sc01_device, request)
515INPUT_PORTS_END
355516
356517
357/*************************************
358 *
359 *  Rev. 2 communication handlers
360 *
361 *************************************/
518//-------------------------------------------------
519//  device_mconfig_additions - return a pointer to
520//  the device's machine fragment
521//-------------------------------------------------
362522
363static void gottlieb2_sh_w(address_space *space, UINT8 data)
523machine_config_constructor gottlieb_sound_r1_device::device_mconfig_additions() const
364524{
365   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
366   /* when data is not 0xff, the transparent latch at A3 allows it to pass through unmolested */
367   if (data != 0xff)
368   {
369      /* each CPU has its own latch */
370      soundlatch_w(space, 0, data);
371      soundlatch2_w(space, 0, data);
525   return MACHINE_CONFIG_NAME( gottlieb_sound_r1 );
526}
372527
373      /* if the previous data was 0xff, clock an IRQ on each */
374      if (state->m_last_command == 0xff)
375      {
376         cputag_set_input_line(space->machine(), "audiocpu", M6502_IRQ_LINE, ASSERT_LINE);
377         cputag_set_input_line(space->machine(), "speech", M6502_IRQ_LINE, ASSERT_LINE);
378      }
379   }
380   state->m_last_command = data;
528
529//-------------------------------------------------
530//  device_input_ports - return a pointer to
531//  the device's I/O ports
532//-------------------------------------------------
533
534ioport_constructor gottlieb_sound_r1_device::device_input_ports() const
535{
536   return INPUT_PORTS_NAME( gottlieb_sound_r1 );
381537}
382538
383539
384static READ8_HANDLER( speech_data_r )
540//-------------------------------------------------
541//  device_start - device-specific startup
542//-------------------------------------------------
543
544void gottlieb_sound_r1_device::device_start()
385545{
386   cputag_set_input_line(space->machine(), "speech", M6502_IRQ_LINE, CLEAR_LINE);
387   return soundlatch_r(space, offset);
388546}
389547
390548
391static READ8_HANDLER( audio_data_r )
549
550//**************************************************************************
551//  REV 1 SOUND BOARD WITH VOTRAX
552//**************************************************************************
553
554//-------------------------------------------------
555//  gottlieb_sound_r1_with_votrax_device -
556//   constructor
557//-------------------------------------------------
558
559gottlieb_sound_r1_with_votrax_device::gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
560   : gottlieb_sound_r1_device(mconfig, tag, owner, clock, true)
392561{
393   cputag_set_input_line(space->machine(), "audiocpu", M6502_IRQ_LINE, CLEAR_LINE);
394   return soundlatch2_r(space, offset);
395562}
396563
397564
398static WRITE8_HANDLER( signal_audio_nmi_w )
565//-------------------------------------------------
566//  device_mconfig_additions - return a pointer to
567//  the device's machine fragment
568//-------------------------------------------------
569
570machine_config_constructor gottlieb_sound_r1_with_votrax_device::device_mconfig_additions() const
399571{
400   cputag_set_input_line(space->machine(), "audiocpu", INPUT_LINE_NMI, ASSERT_LINE);
401   cputag_set_input_line(space->machine(), "audiocpu", INPUT_LINE_NMI, CLEAR_LINE);
572   return MACHINE_CONFIG_NAME( gottlieb_sound_r1_with_votrax );
402573}
403574
404575
576//-------------------------------------------------
577//  device_input_ports - return a pointer to
578//  the device's I/O ports
579//-------------------------------------------------
405580
406/*************************************
407 *
408 *  Rev. 2 NMI timer
409 *
410 *************************************/
581ioport_constructor gottlieb_sound_r1_with_votrax_device::device_input_ports() const
582{
583   return INPUT_PORTS_NAME( gottlieb_sound_r1_with_votrax );
584}
411585
412INLINE void nmi_timer_adjust(running_machine &machine)
586
587
588//**************************************************************************
589//  REV 2 SOUND BOARD: 6502 + 2 x DAC + 2 x AY-8913
590//**************************************************************************
591
592//-------------------------------------------------
593//  gottlieb_sound_r2_device - constructor
594//-------------------------------------------------
595
596gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
597   : device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", "gotsndr2", tag, owner, clock),
598     device_mixer_interface(mconfig, *this),
599     m_audiocpu(*this, "audiocpu"),
600     m_speechcpu(*this, "speechcpu"),
601     m_dac(*this, "dac"),
602     m_ay1(*this, "ay1"),
603     m_ay2(*this, "ay2"),
604     m_sp0250(*this, "spsnd"),
605     m_cobram3_mod(false),
606     m_nmi_timer(NULL),
607     m_nmi_state(0),
608     m_audiocpu_latch(0),
609     m_speechcpu_latch(0),
610     m_speech_control(0),
611     m_last_command(0),
612     m_psg_latch(0),
613     m_psg_data_latch(0),
614     m_sp0250_latch(0)
413615{
414   gottlieb_state *state = machine.driver_data<gottlieb_state>();
415   /* adjust timer to go off in the future based on the current rate */
416   state->m_nmi_timer->adjust(attotime::from_hz(SOUND2_CLOCK/16) * (256 * (256 - state->m_nmi_rate)));
417616}
418617
419618
420INLINE void nmi_state_update(running_machine &machine)
619//-------------------------------------------------
620//  static_enable_cobram3_mods - enable changes
621//   for cobram3
622//-------------------------------------------------
623
624void gottlieb_sound_r2_device::static_enable_cobram3_mods(device_t &device)
421625{
422   gottlieb_state *state = machine.driver_data<gottlieb_state>();
423   /* update the NMI line state based on the enable and state */
424   cputag_set_input_line(machine, "speech", INPUT_LINE_NMI, (state->m_nmi_state && (state->m_speech_control & 1)) ? ASSERT_LINE : CLEAR_LINE);
626   downcast<gottlieb_sound_r2_device &>(device).m_cobram3_mod = true;
425627}
426628
427629
428static TIMER_CALLBACK( nmi_clear )
630//-------------------------------------------------
631//  write - handle an external command write
632//-------------------------------------------------
633
634WRITE8_MEMBER( gottlieb_sound_r2_device::write )
429635{
430   gottlieb_state *state = machine.driver_data<gottlieb_state>();
431   /* clear the NMI state and update it */
432   state->m_nmi_state = 0;
433   nmi_state_update(machine);
636   // when data is not 0xff, the transparent latch at A3 allows it to pass through unmolested
637   if (data != 0xff)
638   {
639      // latch data on a timer
640      synchronize(TID_SOUND_LATCH_WRITE, data);
641
642      // if the previous data was 0xff, clock an IRQ on each
643      if (m_last_command == 0xff)
644      {
645         m_audiocpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE);
646         m_speechcpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE);
647      }
648   }
649   m_last_command = data;
434650}
435651
436652
437static TIMER_CALLBACK( nmi_callback )
653//-------------------------------------------------
654//  nmi_timer_adjust - adjust the NMI timer to
655//   fire based on its configured rate
656//-------------------------------------------------
657
658inline void gottlieb_sound_r2_device::nmi_timer_adjust()
438659{
439   gottlieb_state *state = machine.driver_data<gottlieb_state>();
440   /* assert the NMI if it is not disabled */
441   state->m_nmi_state = 1;
442   nmi_state_update(machine);
660   // adjust timer to go off in the future based on the current rate
661   m_nmi_timer->adjust(attotime::from_hz(SOUND2_CLOCK/16) * (256 * (256 - m_nmi_rate)));
662}
443663
444   /* set a timer to turn it off again on hte next SOUND_CLOCK/16 */
445   machine.scheduler().timer_set(attotime::from_hz(SOUND2_CLOCK/16), FUNC(nmi_clear));
446664
447   /* adjust the NMI timer for the next time */
448   nmi_timer_adjust(machine);
665//-------------------------------------------------
666//  nmi_state_update - update the NMI state based
667//   on the timer firing and the enable control
668//-------------------------------------------------
669
670inline void gottlieb_sound_r2_device::nmi_state_update()
671{
672   // update the NMI line state based on the enable and state
673   m_speechcpu->set_input_line(INPUT_LINE_NMI, (m_nmi_state && (m_speech_control & 1)) ? ASSERT_LINE : CLEAR_LINE);
449674}
450675
451676
452static WRITE8_HANDLER( nmi_rate_w )
677//-------------------------------------------------
678//  speech_data_r - read the input command latch
679//   from the audio CPU
680//-------------------------------------------------
681
682READ8_MEMBER( gottlieb_sound_r2_device::audio_data_r )
453683{
454   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
455   /* the new rate is picked up when the previous timer expires */
456   state->m_nmi_rate = data;
684   m_audiocpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE);
685   return m_audiocpu_latch;
457686}
458687
459688
689//-------------------------------------------------
690//  speech_data_r - read the input command latch
691//   from the speech CPU
692//-------------------------------------------------
460693
461/*************************************
462 *
463 *  Rev. 2 sound chip access
464 *
465 *************************************/
466
467static CUSTOM_INPUT( speech_drq_custom_r )
694READ8_MEMBER( gottlieb_sound_r2_device::speech_data_r )
468695{
469   return sp0250_drq_r(field.machine().device("spsnd"));
696   m_speechcpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE);
697   return m_speechcpu_latch;
470698}
471699
472700
473static WRITE8_DEVICE_HANDLER( gottlieb_dac_w )
701//-------------------------------------------------
702//  signal_audio_nmi_w - signal an NMI from the
703//   speech CPU to the audio CPU
704//-------------------------------------------------
705
706WRITE8_MEMBER( gottlieb_sound_r2_device::signal_audio_nmi_w )
474707{
475   gottlieb_state *state = device->machine().driver_data<gottlieb_state>();
476   /* dual DAC; the first DAC serves as the reference voltage for the
477       second, effectively scaling the output */
478   state->m_dac_data[offset] = data;
479   dac_data_16_w(device, state->m_dac_data[0] * state->m_dac_data[1]);
708   m_audiocpu->set_input_line(INPUT_LINE_NMI, ASSERT_LINE);
709   m_audiocpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
480710}
481711
482712
483static WRITE8_HANDLER( speech_control_w )
713//-------------------------------------------------
714//  nmi_rate_w - adjust the NMI rate on the speech
715//   CPU
716//-------------------------------------------------
717
718WRITE8_MEMBER( gottlieb_sound_r2_device::nmi_rate_w )
484719{
485   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
486   UINT8 previous = state->m_speech_control;
487   state->m_speech_control = data;
720   // the new rate is picked up when the previous timer expires
721   m_nmi_rate = data;
722}
488723
489   /* bit 0 enables/disables the NMI line */
490   nmi_state_update(space->machine());
491724
492   /* bit 1 controls a LED on the sound board */
725//-------------------------------------------------
726//  speech_drq_custom_r - return the SP0250
727//   request line as an input port bit
728//-------------------------------------------------
493729
494   /* bit 2 goes to 8913 BDIR pin */
495   if ((previous & 0x04) != 0 && (data & 0x04) == 0)
496   {
497      /* bit 3 selects which of the two 8913 to enable */
498      /* bit 4 goes to the 8913 BC1 pin */
499      device_t *ay = space->machine().device((data & 0x08) ? "ay1" : "ay2");
500      ay8910_data_address_w(ay, data >> 4, *state->m_psg_latch);
501   }
730CUSTOM_INPUT_MEMBER( gottlieb_sound_r2_device::speech_drq_custom_r )
731{
732   return sp0250_drq_r(m_sp0250);
733}
502734
503   /* bit 5 goes to the speech chip DIRECT DATA TEST pin */
504735
505   /* bit 6 = speech chip DATA PRESENT pin; high then low to make the chip read data */
506   if ((previous & 0x40) == 0 && (data & 0x40) != 0)
507   {
508      device_t *sp = space->machine().device("spsnd");
509      sp0250_w(sp, 0, *state->m_sp0250_latch);
510   }
736//-------------------------------------------------
737//  dac_w - write to one of the two DACs on the
738//   board
739//-------------------------------------------------
511740
512   /* bit 7 goes to the speech chip RESET pin */
513   if ((previous ^ data) & 0x80)
514      space->machine().device("spsnd")->reset();
741WRITE8_MEMBER( gottlieb_sound_r2_device::dac_w )
742{
743   // dual DAC; the first DAC serves as the reference voltage for the
744    // second, effectively scaling the output
745   m_dac_data[offset] = data;
746   dac_data_16_w(m_dac, m_dac_data[0] * m_dac_data[1]);
515747}
516748
517static WRITE8_HANDLER( cobram3_speech_control_w )
749
750//-------------------------------------------------
751//  speech_control_w - primary audio control
752//   register on the speech board
753//-------------------------------------------------
754
755WRITE8_MEMBER( gottlieb_sound_r2_device::speech_control_w )
518756{
519   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
520   UINT8 previous = state->m_speech_control;
521   state->m_speech_control = data;
757   UINT8 previous = m_speech_control;
758   m_speech_control = data;
522759
523   /* bit 0 enables/disables the NMI line */
524   nmi_state_update(space->machine());
760   // bit 0 enables/disables the NMI line
761   nmi_state_update();
525762
526   /* bit 1 controls a LED on the sound board */
527
528   if ( data & 0x10 )
763   // bit 1 controls a LED on the sound board
764   
765   // bits 2-4 control the AY-8913, but act differently between the
766   // standard sound board and the modified Cobra Command board
767   if (!m_cobram3_mod)
529768   {
530      state->m_psg_data_latch = *state->m_psg_latch;
769      // bit 2 goes to 8913 BDIR pin
770      if ((previous & 0x04) != 0 && (data & 0x04) == 0)
771      {
772         // bit 3 selects which of the two 8913 to enable
773         // bit 4 goes to the 8913 BC1 pin
774         if ((data & 0x08) != 0)
775            ay8910_data_address_w(m_ay1, data >> 4, m_psg_latch);
776         else
777            ay8910_data_address_w(m_ay2, data >> 4, m_psg_latch);
778      }
531779   }
532780   else
533781   {
534      device_t *ay = space->machine().device((data & 0x08) ? "ay1" : "ay2");
535      ay8910_address_w(ay, 0, *state->m_psg_latch);
536      ay8910_data_w(ay, 0, state->m_psg_data_latch);
782      if ( data & 0x10 )
783      {
784         m_psg_data_latch = m_psg_latch;
785      }
786      else
787      {
788         device_t *ay = machine().device((data & 0x08) ? "ay1" : "ay2");
789         ay8910_address_w(ay, 0, m_psg_latch);
790         ay8910_data_w(ay, 0, m_psg_data_latch);
791      }
537792   }
538   /* bit 5 goes to the speech chip DIRECT DATA TEST pin */
539793
540   /* bit 6 = speech chip DATA PRESENT pin; high then low to make the chip read data */
794   // bit 5 goes to the speech chip DIRECT DATA TEST pin
795
796   // bit 6 = speech chip DATA PRESENT pin; high then low to make the chip read data
541797   if ((previous & 0x40) == 0 && (data & 0x40) != 0)
542   {
543      device_t *sp = space->machine().device("spsnd");
544      sp0250_w(sp, 0, *state->m_sp0250_latch);
545   }
798      sp0250_w(m_sp0250, 0, m_sp0250_latch);
546799
547   /* bit 7 goes to the speech chip RESET pin */
800   // bit 7 goes to the speech chip RESET pin
548801   if ((previous ^ data) & 0x80)
549      space->machine().device("spsnd")->reset();
802      m_sp0250->reset();
550803}
551804
552805
553/*************************************
554 *
555 *  Rev. 2 initialization
556 *
557 *************************************/
806//-------------------------------------------------
807//  psg_latch_w - store an 8-bit value in the PSG
808//   latch register
809//-------------------------------------------------
558810
559static SOUND_START( gottlieb2 )
811WRITE8_MEMBER( gottlieb_sound_r2_device::psg_latch_w )
560812{
561   gottlieb_state *state = machine.driver_data<gottlieb_state>();
562   /* set up the NMI timer */
563   state->m_nmi_timer = machine.scheduler().timer_alloc(FUNC(nmi_callback));
564   state->m_nmi_rate = 0;
565   nmi_timer_adjust(machine);
813   m_psg_latch = data;
814}
566815
567   state->m_dac_data[0] = state->m_dac_data[1] = 0xff;
568816
569   /* register for save states */
570   state_save_register_global(machine, state->m_nmi_rate);
571   state_save_register_global(machine, state->m_nmi_state);
572   state_save_register_global(machine, state->m_speech_control);
573   state_save_register_global(machine, state->m_last_command);
817//-------------------------------------------------
818//  psg_latch_w - store an 8-bit value in the
819//   SP0250 latch register
820//-------------------------------------------------
821
822WRITE8_MEMBER( gottlieb_sound_r2_device::sp0250_latch_w )
823{
824   m_sp0250_latch = data;
574825}
575826
576827
828//-------------------------------------------------
829//  sound CPU address map
830//-------------------------------------------------
577831
578/*************************************
579 *
580 *  Rev. 2 address map
581 *
582 *************************************/
583
584static ADDRESS_MAP_START( gottlieb_speech2_map, AS_PROGRAM, 8 )
585   AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x1c00) AM_RAM
586   AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x1fff) AM_WRITEONLY AM_BASE_MEMBER(gottlieb_state, m_sp0250_latch)
587   AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x1fff) AM_WRITE(speech_control_w)
588   AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x1fff) AM_READ_PORT("SB2")
589   AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x1fff) AM_WRITEONLY AM_BASE_MEMBER(gottlieb_state, m_psg_latch)
590   AM_RANGE(0xa000, 0xa000) AM_MIRROR(0x07ff) AM_WRITE(nmi_rate_w)
591   AM_RANGE(0xa800, 0xa800) AM_MIRROR(0x07ff) AM_READ(speech_data_r)
592   AM_RANGE(0xb000, 0xb000) AM_MIRROR(0x07ff) AM_WRITE(signal_audio_nmi_w)
593   AM_RANGE(0xc000, 0xffff) AM_ROM
832static ADDRESS_MAP_START( gottlieb_sound_r2_map, AS_PROGRAM, 8, gottlieb_sound_r2_device )
833   AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x3c00) AM_RAM
834   AM_RANGE(0x4000, 0x4001) AM_MIRROR(0x3ffe) AM_WRITE(dac_w)
835   AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x3fff) AM_READ(audio_data_r)
836   AM_RANGE(0xe000, 0xffff) AM_MIRROR(0x2000) AM_ROM
594837ADDRESS_MAP_END
595838
596839
597static ADDRESS_MAP_START( gottlieb_cobram3_speech2_map, AS_PROGRAM, 8 )
840//-------------------------------------------------
841//  sppech CPU address map
842//-------------------------------------------------
843
844static ADDRESS_MAP_START( gottlieb_speech_r2_map, AS_PROGRAM, 8, gottlieb_sound_r2_device )
598845   AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x1c00) AM_RAM
599   AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x1fff) AM_WRITEONLY AM_BASE_MEMBER(gottlieb_state, m_sp0250_latch)
600   AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x1fff) AM_WRITE(cobram3_speech_control_w)
846   AM_RANGE(0x2000, 0x2000) AM_MIRROR(0x1fff) AM_WRITE(sp0250_latch_w)
847   AM_RANGE(0x4000, 0x4000) AM_MIRROR(0x1fff) AM_WRITE(speech_control_w)
601848   AM_RANGE(0x6000, 0x6000) AM_MIRROR(0x1fff) AM_READ_PORT("SB2")
602   AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x1fff) AM_WRITEONLY AM_BASE_MEMBER(gottlieb_state, m_psg_latch)
849   AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x1fff) AM_WRITE(psg_latch_w)
603850   AM_RANGE(0xa000, 0xa000) AM_MIRROR(0x07ff) AM_WRITE(nmi_rate_w)
604851   AM_RANGE(0xa800, 0xa800) AM_MIRROR(0x07ff) AM_READ(speech_data_r)
605852   AM_RANGE(0xb000, 0xb000) AM_MIRROR(0x07ff) AM_WRITE(signal_audio_nmi_w)
606853   AM_RANGE(0xc000, 0xffff) AM_ROM
607854ADDRESS_MAP_END
608855
609static ADDRESS_MAP_START( gottlieb_audio2_map, AS_PROGRAM, 8 )
610   AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x3c00) AM_RAM
611   AM_RANGE(0x4000, 0x4001) AM_MIRROR(0x3ffe) AM_DEVWRITE("dac1", gottlieb_dac_w) AM_BASE_MEMBER(gottlieb_state, m_dac_data)
612   AM_RANGE(0x8000, 0x8000) AM_MIRROR(0x3fff) AM_READ(audio_data_r)
613   AM_RANGE(0xe000, 0xffff) AM_MIRROR(0x2000) AM_ROM
614ADDRESS_MAP_END
615856
857//-------------------------------------------------
858//  machine configuration
859//-------------------------------------------------
616860
617
618/*************************************
619 *
620 *  Rev. 2 machine driver
621 *
622 *************************************/
623
624MACHINE_CONFIG_FRAGMENT( gottlieb_soundrev2 )
625   /* audio CPUs */
861MACHINE_CONFIG_FRAGMENT( gottlieb_sound_r2 )
862   // audio CPUs
626863   MCFG_CPU_ADD("audiocpu", M6502, SOUND2_CLOCK/4)
627   MCFG_CPU_PROGRAM_MAP(gottlieb_audio2_map)
864   MCFG_CPU_PROGRAM_MAP(gottlieb_sound_r2_map)
628865
629   MCFG_CPU_ADD("speech", M6502, SOUND2_CLOCK/4)
630   MCFG_CPU_PROGRAM_MAP(gottlieb_speech2_map)
866   MCFG_CPU_ADD("speechcpu", M6502, SOUND2_CLOCK/4)
867   MCFG_CPU_PROGRAM_MAP(gottlieb_speech_r2_map)
631868
632   /* sound hardware */
633   MCFG_SOUND_START( gottlieb2 )
869   // sound hardware
870   MCFG_SOUND_ADD("dac", DAC, 0)
871   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 0.15)
634872
635   MCFG_SOUND_ADD("dac1", DAC, 0)
636   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
637
638   MCFG_SOUND_ADD("dac2", DAC, 0)
639   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
640
641873   MCFG_SOUND_ADD("ay1", AY8913, SOUND2_CLOCK/2)
642   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
874   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 0.15)
643875
644876   MCFG_SOUND_ADD("ay2", AY8913, SOUND2_CLOCK/2)
645   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
877   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 0.15)
646878
647879   MCFG_SOUND_ADD("spsnd", SP0250, SOUND2_SPEECH_CLOCK)
648   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
880   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 1.0)
649881MACHINE_CONFIG_END
650882
651MACHINE_CONFIG_FRAGMENT( gottlieb_cobram3_soundrev2 )
652   /* audio CPUs */
653   MCFG_CPU_ADD("audiocpu", M6502, SOUND2_CLOCK/4)
654   MCFG_DEVICE_DISABLE()
655   MCFG_CPU_PROGRAM_MAP(gottlieb_audio2_map)
656883
657   MCFG_CPU_ADD("speech", M6502, SOUND2_CLOCK/4)
658   MCFG_CPU_PROGRAM_MAP(gottlieb_cobram3_speech2_map)
884//-------------------------------------------------
885//  input ports
886//-------------------------------------------------
659887
660   /* sound hardware */
661   MCFG_SOUND_START( gottlieb2 )
662
663   MCFG_SOUND_ADD("dac1", DAC, 0)
664   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
665
666   MCFG_SOUND_ADD("dac2", DAC, 0)
667   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.15)
668
669   MCFG_SOUND_ADD("ay1", AY8913, SOUND2_CLOCK/2)
670   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
671
672   MCFG_SOUND_ADD("ay2", AY8913, SOUND2_CLOCK/2)
673   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
674
675   MCFG_SOUND_ADD("spsnd", SP0250, SOUND2_SPEECH_CLOCK)
676   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
677MACHINE_CONFIG_END
678
679
680/*************************************
681 *
682 *  Rev. 2 input ports
683 *
684 *************************************/
685
686INPUT_PORTS_START( gottlieb2_sound )
888INPUT_PORTS_START( gottlieb_sound_r2 )
687889   PORT_START("SB2")
688890   PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "SB2:1")
689891   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SB2:2")
r14675r14676
694896   PORT_DIPNAME( 0x40, 0x40, "Sound Test" )         PORT_DIPLOCATION("SB2:7")
695897   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
696898   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
697   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(speech_drq_custom_r, NULL)
899   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, gottlieb_sound_r2_device, speech_drq_custom_r, NULL)
698900INPUT_PORTS_END
901
902
903//-------------------------------------------------
904//  device_mconfig_additions - return a pointer to
905//  the device's machine fragment
906//-------------------------------------------------
907
908machine_config_constructor gottlieb_sound_r2_device::device_mconfig_additions() const
909{
910   return MACHINE_CONFIG_NAME( gottlieb_sound_r2 );
911}
912
913
914//-------------------------------------------------
915//  device_input_ports - return a pointer to
916//  the device's I/O ports
917//-------------------------------------------------
918
919ioport_constructor gottlieb_sound_r2_device::device_input_ports() const
920{
921   return INPUT_PORTS_NAME( gottlieb_sound_r2 );
922}
923
924
925//-------------------------------------------------
926//  device_start - device-specific startup
927//-------------------------------------------------
928
929void gottlieb_sound_r2_device::device_start()
930{
931   // set up the NMI timer
932   m_nmi_timer = timer_alloc(TID_NMI_GENERATE);
933   m_nmi_rate = 0;
934   nmi_timer_adjust();
935
936   // reset the DACs
937   m_dac_data[0] = m_dac_data[1] = 0xff;
938   
939   // disable the non-speech CPU for cobram3
940   if (m_cobram3_mod)
941      m_audiocpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
942
943   // register for save states
944   save_item(NAME(m_nmi_rate));
945   save_item(NAME(m_nmi_state));
946   save_item(NAME(m_speech_control));
947   save_item(NAME(m_last_command));
948}
949
950
951//-------------------------------------------------
952//  device_timer - handle timer-based behaviors
953//-------------------------------------------------
954
955void gottlieb_sound_r2_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
956{
957   switch (id)
958   {
959      case TID_NMI_GENERATE:
960         // update state
961         m_nmi_state = 1;
962         nmi_state_update();
963
964         // set a timer to turn it off again on hte next SOUND_CLOCK/16
965         timer_set(attotime::from_hz(SOUND2_CLOCK/16), TID_NMI_CLEAR);
966
967         // adjust the NMI timer for the next time
968         nmi_timer_adjust();
969         break;
970     
971      case TID_NMI_CLEAR:
972         // update state
973         m_nmi_state = 0;
974         nmi_state_update();
975         break;
976     
977      case TID_SOUND_LATCH_WRITE:
978         // each CPU has its own latch
979         m_audiocpu_latch = param;
980         m_speechcpu_latch = param;
981         break;
982   }
983}
src/mame/audio/wow.c
r14675r14676
2121#include "emu.h"
2222#include "cpu/z80/z80.h"
2323#include "sound/samples.h"
24#include "sound/votrax.h"
2425#include "includes/astrocde.h"
2526
2627
r14675r14676
102103
103104READ8_HANDLER( wow_speech_r )
104105{
106   UINT8 data = offset >> 8;
107#if USE_FAKE_VOTRAX
105108   astrocde_state *state = space->machine().driver_data<astrocde_state>();
106109   samples_device *samples = space->machine().device<samples_device>("samples");
107110   int Phoneme/*, Intonation*/;
108111   int i = 0;
109   UINT8 data = offset >> 8;
110112   offset &= 0xff;
111113
112114   state->m_totalword_ptr = state->m_totalword;
r14675r14676
163165         return data;
164166      }
165167   }
168#else
169   votrax_sc01_device *votrax = space->machine().device<votrax_sc01_device>("votrax");
170   votrax->inflection_w(*space, 0, data >> 6);
171   votrax->write(*space, 0, data);
172#endif
166173
167174   /* Note : We should really also use volume in this as well as frequency */
168175   return data;                               /* Return nicely */
r14675r14676
171178
172179CUSTOM_INPUT( wow_speech_status_r )
173180{
181#if USE_FAKE_VOTRAX
174182   samples_device *samples = field.machine().device<samples_device>("samples");
175183   return !samples->playing(0);
184#else
185   votrax_sc01_device *votrax = field.machine().device<votrax_sc01_device>("votrax");
186   return votrax->request();
187#endif
176188}
src/mame/includes/astrocde.h
r14675r14676
1111#define AC_STARS         (0x04)
1212#define AC_MONITOR_BW      (0x08)
1313
14#define USE_FAKE_VOTRAX      (1)
1415
16
1517class astrocde_state : public driver_device
1618{
1719public:
src/mame/includes/gottlieb.h
r14675r14676
44
55***************************************************************************/
66
7#include "cpu/i86/i86.h"
8#include "cpu/m6502/m6502.h"
79#include "machine/6532riot.h"
10#include "sound/dac.h"
11#include "sound/ay8910.h"
12#include "sound/sp0250.h"
13#include "sound/samples.h"
14#include "sound/votrax.h"
815#include "machine/ldpr8210.h"
916
1017
18// set to 0 to enable Votrax device and disable samples
19#define USE_FAKE_VOTRAX         (1)
20
21
1122#define GOTTLIEB_VIDEO_HCOUNT   318
1223#define GOTTLIEB_VIDEO_HBLANK   256
1324#define GOTTLIEB_VIDEO_VCOUNT   256
1425#define GOTTLIEB_VIDEO_VBLANK   240
1526
1627
28//**************************************************************************
29//  GLOBAL VARIABLES
30//**************************************************************************
31
32extern const device_type GOTTLIEB_SOUND_REV1;
33extern const device_type GOTTLIEB_SOUND_REV1_WITH_VOTRAX;
34extern const device_type GOTTLIEB_SOUND_REV2;
35
36
37
38//**************************************************************************
39//  DEVICE CONFIGURATION MACROS
40//**************************************************************************
41
42#define MCFG_GOTTLIEB_SOUND_R1_ADD(_tag) \
43   MCFG_DEVICE_ADD(_tag, GOTTLIEB_SOUND_REV1, 0) \
44
45#define MCFG_GOTTLIEB_SOUND_R1_ADD_VOTRAX(_tag) \
46   MCFG_DEVICE_ADD(_tag, GOTTLIEB_SOUND_REV1_WITH_VOTRAX, 0) \
47
48
49#define MCFG_GOTTLIEB_SOUND_R2_ADD(_tag) \
50   MCFG_DEVICE_ADD(_tag, GOTTLIEB_SOUND_REV2, 0) \
51
52#define MCFG_GOTTLIEB_SOUND_R2_ADD_COBRAM3(_tag) \
53   MCFG_DEVICE_ADD(_tag, GOTTLIEB_SOUND_REV2, 0) \
54   gottlieb_sound_r2_device::static_enable_cobram3_mods(*device); \
55
56
57
58//**************************************************************************
59//  TYPE DEFINITIONS
60//**************************************************************************
61
62// ======================> gottlieb_sound_r1_device
63
64// rev 1 sound board, with unpopulated VOTRAX
65class gottlieb_sound_r1_device :    public device_t,
66                           public device_mixer_interface
67{
68public:
69   // construction/destruction
70   gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
71   gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax);
72
73   // read/write
74   DECLARE_WRITE8_MEMBER( write );
75   
76   // internal communications
77   DECLARE_WRITE_LINE_MEMBER( snd_interrupt );
78   DECLARE_WRITE8_MEMBER( r6532_portb_w );
79   DECLARE_WRITE8_MEMBER( votrax_data_w );
80   DECLARE_WRITE8_MEMBER( speech_clock_dac_w );
81   DECLARE_WRITE_LINE_MEMBER( votrax_request );
82
83protected:
84   // device-level overrides
85   virtual machine_config_constructor device_mconfig_additions() const;
86   virtual ioport_constructor device_input_ports() const;
87   virtual void device_start();
88
89private:
90   // devices
91   required_device<m6502_device>       m_audiocpu;
92   required_device<riot6532_device>    m_riot;
93   required_device<dac_device>       m_dac;
94   optional_device<votrax_sc01_device>   m_votrax;
95
96   // internal state
97   bool         m_populate_votrax;
98   UINT8          m_last_speech_clock;
99
100#if USE_FAKE_VOTRAX
101protected:
102   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
103private:
104   void fake_votrax_data_w(UINT8 data);
105   void trigger_sample(UINT8 data);
106   optional_device<samples_device> m_samples;
107   UINT8 m_score_sample;
108   UINT8 m_random_offset;
109   UINT8 m_votrax_queue[100];
110   UINT8 m_votrax_queuepos;
111#endif
112};
113
114// fully populated rev 1 sound board
115class gottlieb_sound_r1_with_votrax_device : public gottlieb_sound_r1_device
116{
117public:
118   // construction/destruction
119   gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
120
121protected:
122   // device-level overrides
123   virtual machine_config_constructor device_mconfig_additions() const;
124   virtual ioport_constructor device_input_ports() const;
125};
126
127
128// ======================> gottlieb_sound_r2_device
129
130// fully populated rev 2 sound board
131class gottlieb_sound_r2_device :    public device_t,
132                           public device_mixer_interface
133{
134public:
135   // construction/destruction
136   gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
137
138   // static configuration helpers
139   static void static_enable_cobram3_mods(device_t &device);
140
141   // read/write
142   DECLARE_WRITE8_MEMBER( write );
143   
144   // internal communications
145   DECLARE_READ8_MEMBER( speech_data_r );
146   DECLARE_READ8_MEMBER( audio_data_r );
147   DECLARE_WRITE8_MEMBER( signal_audio_nmi_w );
148   DECLARE_WRITE8_MEMBER( nmi_rate_w );
149   CUSTOM_INPUT_MEMBER( speech_drq_custom_r );
150   DECLARE_WRITE8_MEMBER( dac_w );
151   DECLARE_WRITE8_MEMBER( speech_control_w );
152   DECLARE_WRITE8_MEMBER( sp0250_latch_w );
153   DECLARE_WRITE8_MEMBER( psg_latch_w );
154
155protected:
156   // device-level overrides
157   virtual machine_config_constructor device_mconfig_additions() const;
158   virtual ioport_constructor device_input_ports() const;
159   virtual void device_start();
160   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
161
162private:
163   // internal helpers
164   void nmi_timer_adjust();
165   void nmi_state_update();
166
167   // timer IDs
168   enum
169   {
170      TID_NMI_GENERATE,
171      TID_NMI_CLEAR,
172      TID_SOUND_LATCH_WRITE
173   };
174   
175   // devices
176   required_device<m6502_device>    m_audiocpu;
177   required_device<m6502_device>    m_speechcpu;
178   required_device<dac_device>    m_dac;
179   required_device<ay8913_device>    m_ay1;
180   required_device<ay8913_device>    m_ay2;
181   optional_device<sp0250_device>    m_sp0250;
182
183   // internal state
184   bool      m_cobram3_mod;
185   emu_timer *   m_nmi_timer;
186   UINT8       m_nmi_rate;
187   UINT8       m_nmi_state;
188   UINT8      m_audiocpu_latch;
189   UINT8      m_speechcpu_latch;
190   UINT8       m_speech_control;
191   UINT8       m_last_command;
192   UINT8       m_dac_data[2];
193   UINT8      m_psg_latch;
194   UINT8       m_psg_data_latch;
195   UINT8      m_sp0250_latch;
196};
197
198
199// ======================> gottlieb_state
200
201// shared driver state
17202class gottlieb_state : public driver_device
18203{
19204public:
20205   gottlieb_state(const machine_config &mconfig, device_type type, const char *tag)
21206      : driver_device(mconfig, type, tag),
22        m_laserdisc(*this, "laserdisc") { }
207        m_maincpu(*this, "maincpu"),
208        m_laserdisc(*this, "laserdisc"),
209        m_r1_sound(*this, "r1sound"),
210        m_r2_sound(*this, "r2sound") { }
23211
212   // devices
213   required_device<i8088_device> m_maincpu;
214   optional_device<pioneer_pr8210_device> m_laserdisc;
215   optional_device<gottlieb_sound_r1_device> m_r1_sound;
216   optional_device<gottlieb_sound_r2_device> m_r2_sound;
217
24218   UINT8 *m_videoram;
25   UINT8 m_votrax_queue[100];
26   UINT8 m_votrax_queuepos;
27   emu_timer *m_nmi_timer;
28   UINT8 m_nmi_rate;
29   UINT8 m_nmi_state;
30   UINT8 m_speech_control;
31   UINT8 m_last_command;
32   UINT8 *m_dac_data;
33   UINT8 *m_psg_latch;
34   UINT8 m_psg_data_latch;
35   UINT8 *m_sp0250_latch;
36   int m_score_sample;
37   int m_random_offset;
38   int m_last;
39219   UINT8 m_joystick_select;
40220   UINT8 m_track[2];
41   optional_device<pioneer_pr8210_device> m_laserdisc;
42221   emu_timer *m_laserdisc_bit_timer;
43222   emu_timer *m_laserdisc_philips_timer;
44223   UINT8 m_laserdisc_select;
r14675r14676
64243};
65244
66245
67/*----------- defined in audio/gottlieb.c -----------*/
68
69WRITE8_HANDLER( gottlieb_sh_w );
70
71MACHINE_CONFIG_EXTERN( gottlieb_soundrev1 );
72MACHINE_CONFIG_EXTERN( gottlieb_soundrev2 );
73MACHINE_CONFIG_EXTERN( gottlieb_cobram3_soundrev2 );
74
75INPUT_PORTS_EXTERN( gottlieb1_sound );
76INPUT_PORTS_EXTERN( gottlieb2_sound );
77
78
79246/*----------- defined in video/gottlieb.c -----------*/
80247
81248extern WRITE8_HANDLER( gottlieb_videoram_w );
r14675r14676
87254VIDEO_START( gottlieb );
88255VIDEO_START( screwloo );
89256SCREEN_UPDATE_RGB32( gottlieb );
257
258#if USE_FAKE_VOTRAX
259MACHINE_CONFIG_EXTERN( reactor_samples );
260MACHINE_CONFIG_EXTERN( qbert_samples );
261#endif
src/mame/drivers/bfm_sc1.c
r14675r14676
12271227
12281228// ROM definition ///////////////////////////////////////////////////////////////////
12291229
1230/* are these used, or for one of the other revs? */
1231#define sc1_china_sound \
1232   ROM_REGION( 0x20000, "upd", 0 )  \
1233   ROM_LOAD( "ctowsnd1.bin", 0x00000, 0x010000, CRC(faf28e18) SHA1(0586a905f944bcc990d4a1b400629412a69fc160) )\
1234   ROM_LOAD( "ctowsnd2.bin", 0x10000, 0x010000, CRC(f4f9c1a4) SHA1(af5aff58b3e362a14e26a5e8cae83affda905819) )\
1235
1236#define sc1_cl65_sound \
1237   ROM_REGION( 0x20000, "upd", 0 )\
1238   ROM_LOAD( "65sndp1.bin", 0x000000, 0x010000, CRC(e532fcf5) SHA1(7de3bd4a3efae7d1cfeee23c008efbff39ce46f8) )\
1239   ROM_LOAD( "65sndp2.bin", 0x010000, 0x010000, CRC(2703ea2d) SHA1(a4876a10d8d4b1de01dfab76e4ee21cb120aa783) )\
1240
1241/* This is in the set too, for now I'm storing it separately in the club sets that it appeared to come from, but it may need to be compared*/
1242
1243#define sc1_cl65_sound_alt  \
1244   ROM_REGION( 0x20000, "upd", 0 )\
1245   ROM_LOAD( "club-six-five-special_snd_a.bin", 0x0000, 0x010000, CRC(915802cd) SHA1(5bca3a80199a6534e084a5cf4337da4e9c48f45c) )\
1246   ROM_LOAD( "club-six-five-special_snd_b.bin", 0x0000, 0x010000, CRC(b3b230d8) SHA1(022e95f38b14922137222805c0bec7498c5956cc) )\
1247
1248#define sc1_clbw_sound \
1249   ROM_REGION( 0x20000, "upd", 0 )\
1250   ROM_LOAD( "wisesnd1.bin", 0x0000, 0x010000, CRC(204605a6) SHA1(193a60878ed46f122e5d2d8f35fc6ea967b8734f) )\
1251   ROM_LOAD( "wisesnd2.bin", 0x010000, 0x010000, CRC(6aa66166) SHA1(2e7cc67afdce2febb541bb1d0e7c107876d4233d) )\
1252
1253#define sc1_dblch_sound \
1254   ROM_REGION( 0x40000, "upd", 0 )\
1255   ROM_LOAD( "doublechancesnd1.bin", 0x0000, 0x010000, CRC(bee6af3e) SHA1(334fe491a00f58a2142f65344674b26c766a7c5b) )\
1256   ROM_LOAD( "doublechancesnd2.bin", 0x0000, 0x010000, CRC(bbadc876) SHA1(902e387ea9bcd833cf75a6f049b5b2822ec6dc2a) )\
1257
1258#define sc1_funh_sound \
1259   ROM_REGION( 0x40000, "upd", 0 )\
1260   ROM_LOAD( "fhsesnd1.bin", 0x0000, 0x010000, CRC(bf371dbf) SHA1(0c9bc0d0964a858fba5324080a2cf5da119bf3db) )\
1261   ROM_LOAD( "fhsesnd2.bin", 0x0000, 0x010000, CRC(c51415e3) SHA1(f0e4eb5ce38faaef336a5b69e598985ea2486ceb) )\
1262
1263   #define sc1_pwrl_sound \
1264   ROM_REGION( 0x40000, "upd", 0 )\
1265   ROM_LOAD( "powl_snd.bin", 0x00000, 0x40000, CRC(e87af436) SHA1(fc853eca052fe13babde5f4579e202321ecb8f7e) )\
1266
1267#define sc1_winst_sound \
1268   ROM_REGION( 0x80000, "upd", 0 )\
1269   ROM_LOAD( "winningstreaksnd.bin", 0x0000, 0x080000, CRC(ba30cb97) SHA1(e7f5ca36ca993ad14b3a348868e73d7ba02be7c5) )\
1270
1271//not upd?
1272#define sc1_driv_sound \
1273   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )\
1274   ROM_LOAD( "ds_snd1.bin", 0x000000, 0x020000, CRC(a9d7e8ec) SHA1(5b1d459d378e23d3108a1190b5988eebedf95667) )\
1275   ROM_LOAD( "ds_snd2.bin", 0x020000, 0x020000, CRC(3b67c1b3) SHA1(8b9dbff45955f72a73fb739b5e74aa2f9c23dd08) )\
1276   ROM_LOAD( "ds_snd3.bin", 0x040000, 0x020000, CRC(00c252ec) SHA1(5de2e70f142a71f22eeb28a271ca9d7809322faa) )\
1277
12301278ROM_START( sc1lotus )
12311279   ROM_REGION( 0x10000, "maincpu", 0 )
1232   ROM_LOAD( "lotusse.bin",  0x0000, 0x10000,  CRC(636dadc4) SHA1(85bad5d76dac028fe9f3303dd09e8266aba7db4d))
1280   ROM_LOAD( "lotusse.bin",  0x00000, 0x10000,  CRC(636dadc4) SHA1(85bad5d76dac028fe9f3303dd09e8266aba7db4d))
1281ROM_END
12331282
1234   ROM_REGION( 0x10000, "altrevs", 0 )
1235   ROM_LOAD( "lotusse_.bin", 0x0000, 0x010000, CRC(e5f51a36) SHA1(9cddf757c1636911fce370168e636ffcff7bfab6) )
1283ROM_START( sc1lotusa )
1284   ROM_REGION( 0x10000, "maincpu", 0 )
1285   ROM_LOAD( "lotusse_.bin", 0x00000, 0x010000, CRC(e5f51a36) SHA1(9cddf757c1636911fce370168e636ffcff7bfab6) )
12361286ROM_END
12371287
12381288/////////////////////////////////////////////////////////////////////////////////////
12391289
12401290ROM_START( sc1roul )
12411291   ROM_REGION( 0x10000, "maincpu", 0 )
1242   ROM_LOAD( "rou029.bin",   0x8000, 0x08000,  CRC(31723f0A) SHA1(e220976116a0aaf24dc0c4af78a9311a360e8104))
1292   ROM_LOAD( "rou029.bin",   0x8000, 0x8000,  CRC(31723f0A) SHA1(e220976116a0aaf24dc0c4af78a9311a360e8104))
12431293ROM_END
12441294
12451295/////////////////////////////////////////////////////////////////////////////////////
12461296
12471297ROM_START( sc1clatt )
12481298   ROM_REGION( 0x10000, "maincpu", 0 )
1249   ROM_LOAD( "39370196.1",   0x8000, 0x08000,  CRC(4c2e465f) SHA1(101939d37d9c033f6d1dfb83b4beb54e4061aec2))
1250   ROM_LOAD( "39370196.2",   0x0000, 0x08000,  CRC(c809c22d) SHA1(fca7515bc84d432150ffe5e32fccc6aed458b8b0))
1299   ROM_LOAD( "39370196.2",   0x0000, 0x8000,  CRC(c809c22d) SHA1(fca7515bc84d432150ffe5e32fccc6aed458b8b0))
1300   ROM_LOAD( "39370196.1",   0x8000, 0x8000,  CRC(4c2e465f) SHA1(101939d37d9c033f6d1dfb83b4beb54e4061aec2))
12511301ROM_END
12521302
12531303ROM_START( sc1clatta )
12541304   ROM_REGION( 0x10000, "maincpu", 0 )
1255   ROM_LOAD( "club attraction 393717552 prom a.bin", 0x8000, 0x008000, CRC(795e93cf) SHA1(017fa5ea3d9ad1f7a7a619d88a5892a9ffe6f3bc) )
1256   ROM_LOAD( "club attraction 393717553 prom b.bin", 0x0000, 0x008000, CRC(06f41627) SHA1(0e54314147a5f0d833d83f6f0ee828bd1c875f3e) )
1305   ROM_LOAD( "club attraction 393717553 prom b.bin", 0x0000, 0x8000, CRC(06f41627) SHA1(0e54314147a5f0d833d83f6f0ee828bd1c875f3e) )
1306   ROM_LOAD( "club attraction 393717552 prom a.bin", 0x8000, 0x8000, CRC(795e93cf) SHA1(017fa5ea3d9ad1f7a7a619d88a5892a9ffe6f3bc) )
12571307ROM_END
12581308
12591309
r14675r14676
12621312
12631313ROM_START( m_tppokr )
12641314   ROM_REGION( 0x10000, "maincpu", 0 )
1265   ROM_LOAD( "95750899.bin", 0x0000, 0x10000,  CRC(639d1d62) SHA1(80620c14bf9f953588555510fc2e6e930140923f))
1315   ROM_LOAD( "95750899.bin", 0x00000, 0x10000,  CRC(639d1d62) SHA1(80620c14bf9f953588555510fc2e6e930140923f))
12661316
12671317   ROM_REGION( 0x20000, "adder2", 0 )
1268   ROM_LOAD( "tpk010.vid", 0x0000, 0x20000,  CRC(ea4eddca) SHA1(5fb805d35376ec7ee8d58684e584621dbb2b2a9c))
1318   ROM_LOAD( "tpk010.vid", 0x00000, 0x20000,  CRC(ea4eddca) SHA1(5fb805d35376ec7ee8d58684e584621dbb2b2a9c))
12691319
12701320   ROM_REGION( 0x40000, "gfx1", ROMREGION_ERASEFF )
12711321   ROM_LOAD( "tpk011.chr",   0x00000, 0x20000,  CRC(4dc23ad8) SHA1(8e8cc699412dbb092e16e14518f407353f477ee1))
r14675r14676
12841334
12851335ROM_START( sc1armad )
12861336   ROM_REGION( 0x10000, "maincpu", 0 )
1287   ROM_LOAD( "armada.bin", 0x0000, 0x010000, CRC(9a1be4ca) SHA1(d18b7c8779a8eb50321fbff4d6d8cf6d512bea8b) )
1337   ROM_LOAD( "armada.bin", 0x00000, 0x010000, CRC(9a1be4ca) SHA1(d18b7c8779a8eb50321fbff4d6d8cf6d512bea8b) )
12881338ROM_END
12891339
12901340
r14675r14676
13031353   ROM_LOAD( "95740352 b.bin", 0x0000, 0x8000, CRC(6dc3cfd3) SHA1(d71d433ae560ac4db345630ee7f04a7cfb7e933e) )
13041354   ROM_LOAD( "95740351 a.bin", 0x8000, 0x8000, CRC(0891350b) SHA1(ea1295768738b9b89eac19d04411220a8c9d10c7) )
13051355
1306   ROM_REGION( 0x10000, "altrevs", 0 )
1307   ROM_LOAD( "barcode 5_10p a.bin", 0x0000, 0x008000, CRC(e864aba1) SHA1(b3f707b6d5f3d7236e4a5e9ed78c61a78c3e8196) )
1308   ROM_LOAD( "barcode 5_10p b.bin", 0x0000, 0x008000, CRC(69d4d0b2) SHA1(bb73b917cf414623dcd239c5daeeccb4e0ccc2ed) )
1309   ROM_LOAD( "barcode.p1", 0x0000, 0x008000, CRC(0be64bfb) SHA1(3b5cfee8825f2b7d2598f04411d50b8f1245ac65) )
1310   ROM_LOAD( "barcode.p2", 0x0000, 0x008000, CRC(44b79b14) SHA1(ec0745be0dde818c673c62ca584e22871a73e66e) )
1356   ROM_REGION( 0x20000, "upd", 0 )
1357   ROM_LOAD( "barsnd1.bin", 0x00000, 0x10000, CRC(c9de8ff4) SHA1(c3e77e84d4ecc1c779929a96d1c445a1af24865b) )
1358   ROM_LOAD( "barsnd2.bin", 0x10000, 0x10000, CRC(56af984a) SHA1(aebd30f3ca767dc5fc77fb01765833ee627a5aee) )
1359ROM_END
13111360
1361ROM_START( sc1barcda )
1362   ROM_REGION( 0x10000, "maincpu", 0 )
1363   ROM_LOAD( "barcode 5_10p b.bin", 0x0000, 0x8000, CRC(69d4d0b2) SHA1(bb73b917cf414623dcd239c5daeeccb4e0ccc2ed) )
1364   ROM_LOAD( "barcode 5_10p a.bin", 0x8000, 0x8000, CRC(e864aba1) SHA1(b3f707b6d5f3d7236e4a5e9ed78c61a78c3e8196) )
1365
13121366   ROM_REGION( 0x20000, "upd", 0 )
1313   ROM_LOAD( "barsnd1.bin", 0x000000, 0x010000, CRC(c9de8ff4) SHA1(c3e77e84d4ecc1c779929a96d1c445a1af24865b) )
1314   ROM_LOAD( "barsnd2.bin", 0x010000, 0x010000, CRC(56af984a) SHA1(aebd30f3ca767dc5fc77fb01765833ee627a5aee) )
1367   ROM_LOAD( "barsnd1.bin", 0x00000, 0x10000, CRC(c9de8ff4) SHA1(c3e77e84d4ecc1c779929a96d1c445a1af24865b) )
1368   ROM_LOAD( "barsnd2.bin", 0x10000, 0x10000, CRC(56af984a) SHA1(aebd30f3ca767dc5fc77fb01765833ee627a5aee) )
13151369ROM_END
13161370
1371ROM_START( sc1barcdb )
1372   ROM_REGION( 0x10000, "maincpu", 0 )
1373   ROM_LOAD( "barcode.p2", 0x0000, 0x8000, CRC(44b79b14) SHA1(ec0745be0dde818c673c62ca584e22871a73e66e) )
1374   ROM_LOAD( "barcode.p1", 0x8000, 0x8000, CRC(0be64bfb) SHA1(3b5cfee8825f2b7d2598f04411d50b8f1245ac65) )
1375
1376   ROM_REGION( 0x20000, "upd", 0 )
1377   ROM_LOAD( "barsnd1.bin", 0x00000, 0x10000, CRC(c9de8ff4) SHA1(c3e77e84d4ecc1c779929a96d1c445a1af24865b) )
1378   ROM_LOAD( "barsnd2.bin", 0x10000, 0x10000, CRC(56af984a) SHA1(aebd30f3ca767dc5fc77fb01765833ee627a5aee) )
1379ROM_END
1380
13171381ROM_START( sc1bigmt )
13181382   ROM_REGION( 0x10000, "maincpu", 0 )
1319   ROM_LOAD( "bigmatch.bin", 0x0000, 0x010000, CRC(3c81663c) SHA1(a9670a48059d35d6581ce3007c0a6223291e0a12) )
1383   ROM_LOAD( "bigmatch.bin", 0x00000, 0x10000, CRC(3c81663c) SHA1(a9670a48059d35d6581ce3007c0a6223291e0a12) )
13201384
13211385   ROM_REGION( 0x20000, "upd", 0 )
1322   ROM_LOAD( "bigmsnd1.bin", 0x000000, 0x010000, CRC(51828aa0) SHA1(99b46c1c4b45f26a393bf3e658ad499c84bdf8f5) )
1323   ROM_LOAD( "bigmsnd2.bin", 0x010000, 0x010000, CRC(cf1f0f6b) SHA1(6521f0fe52a0587af049940bb81846d40d8847b8) )
1386   ROM_LOAD( "bigmsnd1.bin", 0x00000, 0x10000, CRC(51828aa0) SHA1(99b46c1c4b45f26a393bf3e658ad499c84bdf8f5) )
1387   ROM_LOAD( "bigmsnd2.bin", 0x10000, 0x10000, CRC(cf1f0f6b) SHA1(6521f0fe52a0587af049940bb81846d40d8847b8) )
13241388ROM_END
13251389
13261390
13271391ROM_START( sc1calyp )
13281392   ROM_REGION( 0x10000, "maincpu", 0 )
1329   ROM_LOAD( "calypso.bin", 0x0000, 0x010000, CRC(b8194d31) SHA1(de7d374d8a1c18ec324daf92112652461e2a113e) )
1393   ROM_LOAD( "calypso.bin", 0x00000, 0x10000, CRC(b8194d31) SHA1(de7d374d8a1c18ec324daf92112652461e2a113e) )
13301394ROM_END
13311395
13321396ROM_START( sc1carro )
13331397   ROM_REGION( 0x10000, "maincpu", 0 )
1334   ROM_LOAD( "carrousel.bin", 0x0000, 0x010000, CRC(d1f7ae57) SHA1(301727b95f30d8e934a9c790838daf65aadd6dc7) )
1398   ROM_LOAD( "carrousel.bin", 0x00000, 0x10000, CRC(d1f7ae57) SHA1(301727b95f30d8e934a9c790838daf65aadd6dc7) )
13351399ROM_END
13361400
13371401ROM_START( sc1cshat )
13381402   ROM_REGION( 0x10000, "maincpu", 0 )
13391403   ROM_LOAD( "cash_attraction_b", 0x0000, 0x8000, CRC(79870574) SHA1(89e5db89064a9e24bc37389d78f4defb7d2f479b) )
13401404   ROM_LOAD( "cash_attraction_a", 0x8000, 0x8000, CRC(fab3283c) SHA1(669b425687faad0ebf88c1aaaafa40c446fa2e24) )
1341
1405   
13421406   ROM_REGION( 0x10000, "altrevs", 0 )
1343   ROM_LOAD( "957172.20 std var% a.bin", 0x0000, 0x008000, CRC(e67fc9e1) SHA1(39ac2c30d605f2b3109a57c6633a597e77651e79) )
1344   ROM_LOAD( "957172.21 var% b.bin", 0x0000, 0x008000, CRC(ea705443) SHA1(fdd941b5e6785d97e990f4ca74578e539512422b) )
13451407   ROM_LOAD( "957172.40 b std var%.bin", 0x0000, 0x008000, CRC(5e4381f9) SHA1(ae6d64c42ae7ddc2ed0ab5c3b56222090004d88a) )
1346   ROM_LOAD( "95717270 20 n.p a.bin", 0x0000, 0x008000, CRC(4e90868a) SHA1(f88a1b578b2d9091f5e5212768547db19e6b5379) )
1347   ROM_LOAD( "95717271 20p std b.bin", 0x0000, 0x008000, CRC(79870574) SHA1(89e5db89064a9e24bc37389d78f4defb7d2f479b) )
13481408   ROM_LOAD( "957182.20 var% proto a.bin", 0x0000, 0x008000, CRC(3a2dd72d) SHA1(29d962702095aa0f252210da68a89c557fa9db69) )
13491409   ROM_LOAD( "957182.39 74-78 proto a.bin", 0x0000, 0x008000, CRC(f890b2d3) SHA1(e714973c63486e6983912fb6aebee3a71e003be5) )
13501410   ROM_LOAD( "957182.39 proto var%.bin", 0x0000, 0x008000, CRC(43f452a7) SHA1(13ef94b4a4ecf729dfe481da26804f2e6f0631b0) )
1351   ROM_LOAD( "957272.20 74-78 standard.bin", 0x0000, 0x008000, CRC(06def19d) SHA1(721d8ffc7e6b0e76f097d82b3be7618d97d73041) )
1352   ROM_LOAD( "957272.21 74-78b.bin", 0x0000, 0x008000, CRC(531e97fb) SHA1(c7ae94c503f9e13d68ae463dd19212f146b0e8bc) )
13531411   ROM_LOAD( "957272.40 74-78b.bin", 0x0000, 0x008000, CRC(e72d4241) SHA1(487a00f49fa5451f39c2400f6f23a5f067afaa66) )
1354   ROM_LOAD( "95728.20 74-78 proto a.bin", 0x0000, 0x008000, CRC(7e557f21) SHA1(49bbbbafff757acd078d156bae2c942991f055af) )
13551412   ROM_LOAD( "957282.20 74-78 proto a.bin", 0x0000, 0x008000, CRC(7e557f21) SHA1(49bbbbafff757acd078d156bae2c942991f055af) )
13561413ROM_END
13571414
1415ROM_START( sc1cshata )
1416   ROM_REGION( 0x10000, "maincpu", 0 )
1417   ROM_LOAD( "957272.21 74-78b.bin", 0x0000, 0x8000, CRC(531e97fb) SHA1(c7ae94c503f9e13d68ae463dd19212f146b0e8bc) )
1418   ROM_LOAD( "957272.20 74-78 standard.bin", 0x8000, 0x8000, CRC(06def19d) SHA1(721d8ffc7e6b0e76f097d82b3be7618d97d73041) )
1419ROM_END
13581420
1421ROM_START( sc1cshatb )
1422   ROM_REGION( 0x10000, "maincpu", 0 )
1423   ROM_LOAD( "957172.71 20p std b.bin", 0x0000, 0x8000, CRC(79870574) SHA1(89e5db89064a9e24bc37389d78f4defb7d2f479b) )
1424   ROM_LOAD( "957172.70 20 n.p a.bin", 0x8000, 0x8000, CRC(4e90868a) SHA1(f88a1b578b2d9091f5e5212768547db19e6b5379) )
1425ROM_END
1426
1427ROM_START( sc1cshatc )
1428   ROM_REGION( 0x10000, "maincpu", 0 )
1429   ROM_LOAD( "957172.21 var% b.bin", 0x0000, 0x8000, CRC(ea705443) SHA1(fdd941b5e6785d97e990f4ca74578e539512422b) )
1430   ROM_LOAD( "957172.20 std var% a.bin", 0x8000, 0x8000, CRC(e67fc9e1) SHA1(39ac2c30d605f2b3109a57c6633a597e77651e79) )
1431ROM_END
1432
13591433ROM_START( sc1cshcd )
13601434   ROM_REGION( 0x10000, "maincpu", 0 )
13611435   ROM_LOAD( "cascrd2.bin", 0x0000, 0x8000, CRC(862d5ea9) SHA1(f0c0334aed028ab995b4d092abe10ece90be40a5) )
r14675r14676
13881462   ROM_LOAD( "cashexpl.bin", 0x8000, 0x008000, CRC(83c6196c) SHA1(931fb5223c3ebc52ca2bd232d71000b8af4397e1) )
13891463ROM_END
13901464
1391
13921465ROM_START( sc1cexpl )
13931466   ROM_REGION( 0x10000, "maincpu", 0 )
1394   ROM_LOAD( "cashxpl2.bin", 0x0000, 0x008000, CRC(0199136c) SHA1(bed1df64ecc0d7ef951a59717e219e6fe7ebf99c) )
1395   ROM_LOAD( "cashxpl1.bin", 0x8000, 0x008000, CRC(0fe62ead) SHA1(bd56a216292e9bf2b7753616a6cd25b37e22095f) )
1396
1397   ROM_REGION( 0x10000, "altrevs", 0 ) // i think some of this is on different hw
1398   ROM_LOAD( "95717083a mk1.bin", 0x0000, 0x008000, CRC(949c2d18) SHA1(26db983c7d8624c3fd0461dba2336d5c59be29f0) )
1399   ROM_LOAD( "95717083a mk2 var%.bin", 0x0000, 0x008000, CRC(1fe1b3a1) SHA1(dd10d74c71a455900a2325ac9d7b3c8e45eb9c6c) )
1400   ROM_LOAD( "95717083a.bin", 0x0000, 0x008000, CRC(1fe1b3a1) SHA1(dd10d74c71a455900a2325ac9d7b3c8e45eb9c6c) )
1401   ROM_LOAD( "95717084b mk1.bin", 0x0000, 0x008000, CRC(e2d973be) SHA1(56ed3e3d6caf12f82d6ccc1527ff8da215e09cb0) )
1402   ROM_LOAD( "95717084b mk2 var%.bin", 0x0000, 0x008000, CRC(e2d973be) SHA1(56ed3e3d6caf12f82d6ccc1527ff8da215e09cb0) )
1403   ROM_LOAD( "95717084b.bin", 0x0000, 0x008000, CRC(e2d973be) SHA1(56ed3e3d6caf12f82d6ccc1527ff8da215e09cb0) )
1467   ROM_LOAD( "cashxpl2.bin", 0x0000, 0x8000, CRC(0199136c) SHA1(bed1df64ecc0d7ef951a59717e219e6fe7ebf99c) )
1468   ROM_LOAD( "cashxpl1.bin", 0x8000, 0x8000, CRC(0fe62ead) SHA1(bd56a216292e9bf2b7753616a6cd25b37e22095f) )
1469   
1470   ROM_REGION( 0x10000, "altrevs", 0 ) // i think some of this is on different hw (SC2?)
14041471   ROM_LOAD( "cash_explosion_dat_ac_8_10pnd_20p_a.bin", 0x0000, 0x010000, CRC(1d155799) SHA1(4e76328a4d093d1f9c64c633c3558db2dce4e219) )
14051472   ROM_LOAD( "cash_explosion_dat_ac_var_8pnd_a.bin", 0x0000, 0x010000, CRC(4aa53121) SHA1(cf0510e224de62b837915d39c2fe3559cfe8c85f) )
14061473   ROM_LOAD( "cash_explosion_dat_wi_ac_10pnd_20p_a.bin", 0x0000, 0x010000, CRC(889eb206) SHA1(91b23a2cc475e68470d01976b88b9ea7aa0afed9) )
14071474   ROM_LOAD( "cash_explosion_std_ac_8_10pnd_20p_a.bin", 0x0000, 0x010000, CRC(de6bbee2) SHA1(3c321fa442b25a27c3f14b7ac94255f020056663) )
14081475   ROM_LOAD( "cash_explosion_std_ac_var_8pnd_a.bin", 0x0000, 0x010000, CRC(e8a21401) SHA1(479edd734ca949e344fb7e17ed7af7c8c9604efc) )
14091476   ROM_LOAD( "cash_explosion_std_wi_ac_10pnd_20p_a.bin", 0x0000, 0x010000, CRC(2901a315) SHA1(c9733488894ccead7a69b161f2afacdb3f892b89) )
1410   ROM_LOAD( "cbexpp1", 0x0000, 0x008000, CRC(8819728c) SHA1(691d6317fd38e09fa333fc49c82e85f69a04e359) )
1411   ROM_LOAD( "cbexpp2", 0x0000, 0x008000, CRC(82eb61ac) SHA1(9c06542b43b01be5ec7be081fead92bfe9f905c5) )
14121477ROM_END
14131478
1479ROM_START( sc1cexpla )
1480   ROM_REGION( 0x10000, "maincpu", 0 )
1481   ROM_LOAD( "95717084b mk1.bin", 0x0000, 0x8000, CRC(e2d973be) SHA1(56ed3e3d6caf12f82d6ccc1527ff8da215e09cb0) )
1482   ROM_LOAD( "95717083a mk1.bin", 0x8000, 0x8000, CRC(949c2d18) SHA1(26db983c7d8624c3fd0461dba2336d5c59be29f0) )
1483ROM_END
14141484
1485ROM_START( sc1cexplb )
1486   ROM_REGION( 0x10000, "maincpu", 0 )
1487   ROM_LOAD( "95717084b mk2 var%.bin", 0x0000, 0x8000, CRC(e2d973be) SHA1(56ed3e3d6caf12f82d6ccc1527ff8da215e09cb0) )
1488   ROM_LOAD( "95717083a mk2 var%.bin", 0x8000, 0x8000, CRC(1fe1b3a1) SHA1(dd10d74c71a455900a2325ac9d7b3c8e45eb9c6c) )
1489ROM_END
1490
1491ROM_START( sc1cexplc )
1492   ROM_REGION( 0x10000, "maincpu", 0 )
1493   ROM_LOAD( "95717084b.bin", 0x0000, 0x8000, CRC(e2d973be) SHA1(56ed3e3d6caf12f82d6ccc1527ff8da215e09cb0) )
1494   ROM_LOAD( "95717083a.bin", 0x8000, 0x8000, CRC(1fe1b3a1) SHA1(dd10d74c71a455900a2325ac9d7b3c8e45eb9c6c) )
1495ROM_END
1496
1497ROM_START( sc1cexpld )
1498   ROM_REGION( 0x10000, "maincpu", 0 )
1499   ROM_LOAD( "cbexpp2", 0x0000, 0x8000, CRC(82eb61ac) SHA1(9c06542b43b01be5ec7be081fead92bfe9f905c5) )
1500   ROM_LOAD( "cbexpp1", 0x8000, 0x8000, CRC(8819728c) SHA1(691d6317fd38e09fa333fc49c82e85f69a04e359) )
1501ROM_END
1502
14151503ROM_START( sc1cshwz )
14161504   ROM_REGION( 0x10000, "maincpu", 0 )
1417   ROM_LOAD( "95717205a std.bin", 0x8000, 0x008000, CRC(795bbeea) SHA1(22e0fc9bc3c70e05e51cb98837a9c706eb2ca080) )
1418   ROM_LOAD( "95717206b std.bin", 0x0000, 0x008000, CRC(2478530f) SHA1(be82a4e36a3c076b9e94fa2364904ca463b6b4ed) )
1419
1420   ROM_REGION( 0x10000, "altrevs", 0 )
1505   ROM_LOAD( "95717206b std.bin", 0x0000, 0x8000, CRC(2478530f) SHA1(be82a4e36a3c076b9e94fa2364904ca463b6b4ed) )
1506   ROM_LOAD( "95717205a std.bin", 0x8000, 0x8000, CRC(795bbeea) SHA1(22e0fc9bc3c70e05e51cb98837a9c706eb2ca080) )
1507   
1508   ROM_REGION( 0x10000, "altrevs", 0 )//these seem to be halves without a partner, do these share the same b ROM?
14211509   ROM_LOAD( "95718205a std ptel.bin", 0x0000, 0x008000, CRC(c88f476c) SHA1(a5d8f12ade77bdb100ece5f2eecec35ae09f3b0e) )
14221510   ROM_LOAD( "95718210a proto var.bin", 0x0000, 0x008000, CRC(0997c4e9) SHA1(1013a12803796d3926cceeb671c7c07cc66d418e) )
1423   ROM_LOAD( "95727205a 74-78 adj.bin", 0x0000, 0x008000, CRC(7c7ddabc) SHA1(b4c7a9ee929b5635091366948257f273a21d7818) )
1424   ROM_LOAD( "95727206b 74-78 adj.bin", 0x0000, 0x008000, CRC(2b0ea9dc) SHA1(a9099abe2cf4cdf119a00e5a218507798d410eff) )
1425   ROM_LOAD( "95727210a 74-78 sw.bin", 0x0000, 0x008000, CRC(6276ee67) SHA1(cc9b794f0add6d68677858719831e10afbdbc699) )
1426   ROM_LOAD( "95727211b 74-78 sw.bin", 0x0000, 0x008000, CRC(e20ee4d3) SHA1(3440ad647f8e009a13de6ff9797a47c636a50123) )
14271511   ROM_LOAD( "95728205a 74-78 adj proto.bin", 0x0000, 0x008000, CRC(1cdadddb) SHA1(33c7ed10b1c9ddc0fc6065ad9b1cf80ee9f8e958) )
14281512   ROM_LOAD( "95728210a 74-78 proto.bin", 0x0000, 0x008000, CRC(5c502423) SHA1(4fc93de9dd3aff7a8a8f828760d8b095b7a13630) )
1429   ROM_LOAD( "cashwisep1.bin", 0x0000, 0x008000, CRC(6276ee67) SHA1(cc9b794f0add6d68677858719831e10afbdbc699) )
1430   ROM_LOAD( "cashwisep2.bin", 0x0000, 0x008000, CRC(e20ee4d3) SHA1(3440ad647f8e009a13de6ff9797a47c636a50123) )
1431   ROM_LOAD( "cwise_a.bin", 0x0000, 0x008000, CRC(5b305f11) SHA1(592ea71fcb72eaa90fd421e3bd3761cfd686b019) )
1432   ROM_LOAD( "cwise_b.bin", 0x0000, 0x008000, CRC(0528a718) SHA1(27f4225c948d93ce1c833679f97e045f3b7a6aac) )
1513
14331514ROM_END
14341515
1516ROM_START( sc1cshwza )
1517   ROM_REGION( 0x10000, "maincpu", 0 )
1518   ROM_LOAD( "95727206b 74-78 adj.bin", 0x0000, 0x8000, CRC(2b0ea9dc) SHA1(a9099abe2cf4cdf119a00e5a218507798d410eff) )
1519   ROM_LOAD( "95727205a 74-78 adj.bin", 0x8000, 0x8000, CRC(7c7ddabc) SHA1(b4c7a9ee929b5635091366948257f273a21d7818) )
1520ROM_END
14351521
1522ROM_START( sc1cshwzb )
1523   ROM_REGION( 0x10000, "maincpu", 0 )
1524   ROM_LOAD( "cwise_b.bin", 0x0000, 0x8000, CRC(0528a718) SHA1(27f4225c948d93ce1c833679f97e045f3b7a6aac) )
1525   ROM_LOAD( "cwise_a.bin", 0x8000, 0x8000, CRC(5b305f11) SHA1(592ea71fcb72eaa90fd421e3bd3761cfd686b019) )
1526ROM_END
1527
1528ROM_START( sc1cshwzc )
1529   ROM_REGION( 0x10000, "maincpu", 0 )
1530   ROM_LOAD( "95727211b 74-78 sw.bin", 0x0000, 0x8000, CRC(e20ee4d3) SHA1(3440ad647f8e009a13de6ff9797a47c636a50123) )
1531   ROM_LOAD( "95727210a 74-78 sw.bin", 0x8000, 0x8000, CRC(6276ee67) SHA1(cc9b794f0add6d68677858719831e10afbdbc699) )
1532ROM_END
1533
14361534ROM_START( sc1cshin )
14371535   ROM_REGION( 0x10000, "maincpu", 0 )
1438   ROM_LOAD( "cashino-a.bin", 0x8000, 0x008000, CRC(8a585683) SHA1(01859c82a6d6b082de11e9208f8d38c519dc2575) )
1439   ROM_LOAD( "cashino-b.bin", 0x0000, 0x008000, CRC(c0d3fb09) SHA1(7e0a302547b18946851d31be4d25c17aca32b767) )
1536   ROM_LOAD( "cashino-b.bin", 0x0000, 0x8000, CRC(c0d3fb09) SHA1(7e0a302547b18946851d31be4d25c17aca32b767) )
1537   ROM_LOAD( "cashino-a.bin", 0x8000, 0x8000, CRC(8a585683) SHA1(01859c82a6d6b082de11e9208f8d38c519dc2575) )
14401538ROM_END
14411539
1442
14431540ROM_START( sc1china )
14441541   ROM_REGION( 0x10000, "maincpu", 0 )
1445   ROM_LOAD( "club-china-town_dat_ac_200pnd_ass.bin", 0x8000, 0x008000, CRC(5aa465b9) SHA1(3c2d805f0421d7d1db93f21358a2beb648c05f8e) )
1446   ROM_LOAD( "club-china-town_dat_ac_200pnd_bss.bin", 0x0000, 0x008000, CRC(4895098f) SHA1(e08f9b85c634a423a93608a7b592436ae253ca42) )
1542   ROM_LOAD( "club-china-town_std_ac_200pnd_rot_bss.bin", 0x0000, 0x8000, CRC(4895098f) SHA1(e08f9b85c634a423a93608a7b592436ae253ca42) )
1543   ROM_LOAD( "club-china-town_std_ac_200pnd_rot_ass.bin", 0x8000, 0x8000, CRC(a9ed6493) SHA1(8049fe4b42110afab91dd2d9ccd132d4f2c1c0ff) )
1544   sc1_china_sound
1545ROM_END
14471546
1448   ROM_REGION( 0x10000, "altrevs", 0 )
1449   ROM_LOAD( "39371857.p1", 0x0000, 0x008000, CRC(5aa465b9) SHA1(3c2d805f0421d7d1db93f21358a2beb648c05f8e) )
1450   ROM_LOAD( "club-china-town_dat_ac_150pnd_lfj_ass.bin", 0x0000, 0x008000, CRC(9547727a) SHA1(ac4a23ae78d9331261ee0ab59816f65c5c1547d7) )
1451   ROM_LOAD( "club-china-town_dat_ac_150pnd_lfj_bss.bin", 0x0000, 0x008000, CRC(d41c6999) SHA1(cc2eb2e74ca3bfa78d74dd08f83acb2fe650e13d) )
1452   ROM_LOAD( "club-china-town_dat_ac_rot_ass.bin", 0x0000, 0x008000, CRC(109b722c) SHA1(19426f3f907f108dc16b4036d3986c6395f799d0) )
1453   ROM_LOAD( "club-china-town_dat_ac_rot_bss.bin", 0x0000, 0x008000, CRC(6e09a878) SHA1(4084b1dc3425ceb980ef5c63a883720f3ad84d7f) )
1454   ROM_LOAD( "club-china-town_std_ac_150pnd_lfj_ass.bin", 0x0000, 0x008000, CRC(8c3e69f1) SHA1(cb0cbf7a6039549b969160a162a0cd5511b24cd3) )
1455   ROM_LOAD( "club-china-town_std_ac_150pnd_lfj_bss.bin", 0x0000, 0x008000, CRC(d41c6999) SHA1(cc2eb2e74ca3bfa78d74dd08f83acb2fe650e13d) )
1456   ROM_LOAD( "club-china-town_std_ac_200pnd_rot_ass.bin", 0x0000, 0x008000, CRC(a9ed6493) SHA1(8049fe4b42110afab91dd2d9ccd132d4f2c1c0ff) )
1457   ROM_LOAD( "club-china-town_std_ac_200pnd_rot_bss.bin", 0x0000, 0x008000, CRC(4895098f) SHA1(e08f9b85c634a423a93608a7b592436ae253ca42) )
1458   ROM_LOAD( "club-china-town_std_ac_rot_ass.bin", 0x0000, 0x008000, CRC(de12ac34) SHA1(0caeb2a6b209ee34d67d4c619dd63562c839261e) )
1459   ROM_LOAD( "club-china-town_std_ac_rot_bss.bin", 0x0000, 0x008000, CRC(6e09a878) SHA1(4084b1dc3425ceb980ef5c63a883720f3ad84d7f) )
1547ROM_START( sc1chinap )
1548   ROM_REGION( 0x10000, "maincpu", 0 )
1549   ROM_LOAD( "club-china-town_dat_ac_200pnd_bss.bin", 0x0000, 0x8000, CRC(4895098f) SHA1(e08f9b85c634a423a93608a7b592436ae253ca42) )
1550   ROM_LOAD( "club-china-town_dat_ac_200pnd_ass.bin", 0x8000, 0x8000, CRC(5aa465b9) SHA1(3c2d805f0421d7d1db93f21358a2beb648c05f8e) )//39371857
14601551
1461   ROM_REGION( 0x20000, "upd", 0 ) // are these used, or for one of the other revs?
1462   ROM_LOAD( "ctowsnd1.bin", 0x00000, 0x010000, CRC(faf28e18) SHA1(0586a905f944bcc990d4a1b400629412a69fc160) )
1463   ROM_LOAD( "ctowsnd2.bin", 0x10000, 0x010000, CRC(f4f9c1a4) SHA1(af5aff58b3e362a14e26a5e8cae83affda905819) )
1552   sc1_china_sound
14641553ROM_END
14651554
1555ROM_START( sc1chinaa )
1556   ROM_REGION( 0x10000, "maincpu", 0 )
1557   ROM_LOAD( "club-china-town_std_ac_rot_bss.bin", 0x0000, 0x8000, CRC(6e09a878) SHA1(4084b1dc3425ceb980ef5c63a883720f3ad84d7f) )
1558   ROM_LOAD( "club-china-town_std_ac_rot_ass.bin", 0x8000, 0x8000, CRC(de12ac34) SHA1(0caeb2a6b209ee34d67d4c619dd63562c839261e) )
1559   sc1_china_sound
1560ROM_END
1561
1562ROM_START( sc1chinaap )
1563   ROM_REGION( 0x10000, "maincpu", 0 )
1564   ROM_LOAD( "club-china-town_dat_ac_rot_bss.bin", 0x0000, 0x8000, CRC(6e09a878) SHA1(4084b1dc3425ceb980ef5c63a883720f3ad84d7f) )
1565   ROM_LOAD( "club-china-town_dat_ac_rot_ass.bin", 0x8000, 0x8000, CRC(109b722c) SHA1(19426f3f907f108dc16b4036d3986c6395f799d0) )
1566
1567   sc1_china_sound
1568ROM_END
1569
1570ROM_START( sc1chinab )
1571   ROM_REGION( 0x10000, "maincpu", 0 )
1572   ROM_LOAD( "club-china-town_std_ac_150pnd_lfj_bss.bin", 0x0000, 0x8000, CRC(d41c6999) SHA1(cc2eb2e74ca3bfa78d74dd08f83acb2fe650e13d) )
1573   ROM_LOAD( "club-china-town_std_ac_150pnd_lfj_ass.bin", 0x8000, 0x8000, CRC(8c3e69f1) SHA1(cb0cbf7a6039549b969160a162a0cd5511b24cd3) )
1574   
1575   sc1_china_sound
1576ROM_END
1577
1578ROM_START( sc1chinabp )
1579   ROM_REGION( 0x10000, "maincpu", 0 )
1580   ROM_LOAD( "club-china-town_dat_ac_150pnd_lfj_bss.bin", 0x0000, 0x8000, CRC(d41c6999) SHA1(cc2eb2e74ca3bfa78d74dd08f83acb2fe650e13d) )
1581   ROM_LOAD( "club-china-town_dat_ac_150pnd_lfj_ass.bin", 0x8000, 0x8000, CRC(9547727a) SHA1(ac4a23ae78d9331261ee0ab59816f65c5c1547d7) )
1582
1583   sc1_china_sound
1584ROM_END
1585
14661586ROM_START( sc1class )
14671587   ROM_REGION( 0x10000, "maincpu", 0 )
14681588   ROM_LOAD( "classic606.bin", 0x0000, 0x010000, CRC(f1dc300e) SHA1(17b1d69ed2fd3ce91ce86e9b0160a150a74a624b) )
r14675r14676
14701590
14711591ROM_START( sc1cwcl )
14721592   ROM_REGION( 0x10000, "maincpu", 0 )
1473   ROM_LOAD( "95717153a.bin", 0x8000, 0x008000, CRC(233174a1) SHA1(94cf071a955e3716f463c4370daabfe94db2fd0e) )
1474   ROM_LOAD( "95717154b.bin", 0x0000, 0x008000, CRC(e6422f75) SHA1(4ab33a5503209377f4739dbe11e4afa8d7e43699) )
1593   ROM_LOAD( "95717154b.bin", 0x0000, 0x8000, CRC(e6422f75) SHA1(4ab33a5503209377f4739dbe11e4afa8d7e43699) )
1594   ROM_LOAD( "95717153a.bin", 0x8000, 0x8000, CRC(233174a1) SHA1(94cf071a955e3716f463c4370daabfe94db2fd0e) )
14751595
14761596   ROM_REGION( 0x20000, "upd", 0 )
14771597   ROM_LOAD( "95000001snd.bin", 0x00000, 0x008000, CRC(38f85127) SHA1(c9c7c8892396180aa4c4a727422391b9ce93a10a) )
r14675r14676
14921612
14931613ROM_START( sc1cl2k )
14941614   ROM_REGION( 0x10000, "maincpu", 0 )
1495   ROM_LOAD( "club2000.rom", 0x0000, 0x010000, CRC(2806b89d) SHA1(d1641b33e61de42dc7a643875226a276cf480832) )
1615   ROM_LOAD( "club2000.rom", 0x00000, 0x10000, CRC(2806b89d) SHA1(d1641b33e61de42dc7a643875226a276cf480832) )
14961616ROM_END
14971617
14981618ROM_START( sc1cl2k1 )
14991619   ROM_REGION( 0x10000, "maincpu", 0 )
1500   ROM_LOAD( "club2001.bin", 0x0000, 0x010000, CRC(4bb26aca) SHA1(41a896be314f2fefdaba962b44e9562aaf0642b1) )
1620   ROM_LOAD( "club2001.bin", 0x00000, 0x10000, CRC(4bb26aca) SHA1(41a896be314f2fefdaba962b44e9562aaf0642b1) )
15011621ROM_END
15021622
1503
15041623ROM_START( sc1cl65 )
15051624   ROM_REGION( 0x10000, "maincpu", 0 )
1506   ROM_LOAD( "65spp1", 0x8000, 0x008000, CRC(2c4cb63b) SHA1(5d09b575cf80beecd83c07286b74af29de7ec553) )
1507   ROM_LOAD( "65spp2", 0x0000, 0x008000, CRC(11332a28) SHA1(76f9eee54351e0d8dc4b620ec92661538929e75d) )
1625   ROM_LOAD( "65spp2", 0x0000, 0x8000, CRC(11332a28) SHA1(76f9eee54351e0d8dc4b620ec92661538929e75d) )
1626   ROM_LOAD( "65spp1", 0x8000, 0x8000, CRC(2c4cb63b) SHA1(5d09b575cf80beecd83c07286b74af29de7ec553) )
15081627
15091628   ROM_REGION( 0x10000, "altrevs", 0 )
15101629   ROM_LOAD( "39370694.p2", 0x0000, 0x008000, CRC(3371dc55) SHA1(52d75a90933acc7a03821e5c2821df6126c72a6c) )
15111630   ROM_LOAD( "39370714.p2", 0x0000, 0x008000, CRC(cb9f944f) SHA1(49955a968264f3d963317f5c772629d9bbdd33f7) )
15121631   ROM_LOAD( "39370858.p2", 0x0000, 0x008000, CRC(ff0e35c0) SHA1(0d3d46b541e188200cb4b9cc65eb60eac913dc2b) )
15131632   ROM_LOAD( "39370859.p2", 0x0000, 0x008000, CRC(f04065a0) SHA1(d63ba578931b2f4f156ca875da9cf69cf283a27c) )
1514   ROM_LOAD( "club-six-five-special_dat_ac_200pnd_rot_10po_ass.bin", 0x0000, 0x008000, CRC(836e65d8) SHA1(931e5831b0b64e7ce29fb497435d486e40dce839) )
1515   ROM_LOAD( "club-six-five-special_dat_ac_200pnd_rot_20po_ass.bin", 0x0000, 0x008000, CRC(83a0253f) SHA1(a9b463e2aa87a736f88c5e71f233ff9d6a8b25b4) )
1516   ROM_LOAD( "club-six-five-special_dat_ac_rot_10po_ass.bin", 0x0000, 0x008000, CRC(77ddf81d) SHA1(522d9f84ab6e31586f371548e2f146ac193f06f5) )
15171633   ROM_LOAD( "club-six-five-special_dat_ac_rot_20po_ass.bin", 0x0000, 0x008000, CRC(028ff7b2) SHA1(500b6f8d85678e99ae804600099fe78b542ad6a3) )
1518   ROM_LOAD( "club-six-five-special_snd_a.bin", 0x0000, 0x010000, CRC(915802cd) SHA1(5bca3a80199a6534e084a5cf4337da4e9c48f45c) )
1519   ROM_LOAD( "club-six-five-special_snd_b.bin", 0x0000, 0x010000, CRC(b3b230d8) SHA1(022e95f38b14922137222805c0bec7498c5956cc) )
1520   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_10po_ass.bin", 0x0000, 0x008000, CRC(eedd9fa1) SHA1(6233e8304ac94798cfb908b2ba31ec6c98808ce8) )
1521   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_10po_bss.bin", 0x0000, 0x008000, CRC(f04065a0) SHA1(d63ba578931b2f4f156ca875da9cf69cf283a27c) )
1522   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_20po_ass.bin", 0x0000, 0x008000, CRC(dd188272) SHA1(d6b7f7b060e632bd3eacc7f7721399a1c8349698) )
1523   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_20po_bss.bin", 0x0000, 0x008000, CRC(ff0e35c0) SHA1(0d3d46b541e188200cb4b9cc65eb60eac913dc2b) )
1524   ROM_LOAD( "club-six-five-special_std_ac_a.bin", 0x0000, 0x008000, CRC(8bd817f8) SHA1(6ae91a29a6263c085f6254a049fb3c2ba9cac662) )
1525   ROM_LOAD( "club-six-five-special_std_ac_b.bin", 0x0000, 0x008000, CRC(cb9f944f) SHA1(49955a968264f3d963317f5c772629d9bbdd33f7) )
1526   ROM_LOAD( "club-six-five-special_std_ac_rot_10po_ass.bin", 0x0000, 0x008000, CRC(cf48ba99) SHA1(5da4321ff349964e903f1bebd3e5ddd0799fc478) )
1527   ROM_LOAD( "club-six-five-special_std_ac_rot_10po_bss.bin", 0x0000, 0x008000, CRC(3371dc55) SHA1(52d75a90933acc7a03821e5c2821df6126c72a6c) )
15281634
1529   ROM_REGION( 0x20000, "upd", 0 )
1530   ROM_LOAD( "65sndp1.bin", 0x000000, 0x010000, CRC(e532fcf5) SHA1(7de3bd4a3efae7d1cfeee23c008efbff39ce46f8) )
1531   ROM_LOAD( "65sndp2.bin", 0x010000, 0x010000, CRC(2703ea2d) SHA1(a4876a10d8d4b1de01dfab76e4ee21cb120aa783) )
1635   sc1_cl65_sound
15321636ROM_END
15331637
1638ROM_START( sc1cl65a )
1639   ROM_REGION( 0x10000, "maincpu", 0 )
1640   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_20po_bss.bin", 0x0000, 0x8000, CRC(ff0e35c0) SHA1(0d3d46b541e188200cb4b9cc65eb60eac913dc2b) )
1641   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_20po_ass.bin", 0x8000, 0x8000, CRC(dd188272) SHA1(d6b7f7b060e632bd3eacc7f7721399a1c8349698) )
15341642
1643   sc1_cl65_sound_alt
1644ROM_END
15351645
1536ROM_START( sc1clbdm )
1646ROM_START( sc1cl65ap )
15371647   ROM_REGION( 0x10000, "maincpu", 0 )
1538   ROM_LOAD( "clubdiamond.bin", 0x8000, 0x008000, CRC(7e6a569e) SHA1(ba15478ae0312d3e9c21546aa676b4ab95ae944c) )
1648   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_20po_bss.bin", 0x0000, 0x8000, CRC(ff0e35c0) SHA1(0d3d46b541e188200cb4b9cc65eb60eac913dc2b) )
1649   ROM_LOAD( "club-six-five-special_dat_ac_200pnd_rot_20po_ass.bin", 0x8000, 0x8000, CRC(83a0253f) SHA1(a9b463e2aa87a736f88c5e71f233ff9d6a8b25b4) )
1650
1651   sc1_cl65_sound_alt
15391652ROM_END
15401653
1654ROM_START( sc1cl65b )
1655   ROM_REGION( 0x10000, "maincpu", 0 )
1656   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_10po_bss.bin", 0x0000, 0x8000, CRC(f04065a0) SHA1(d63ba578931b2f4f156ca875da9cf69cf283a27c) )
1657   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_10po_ass.bin", 0x8000, 0x8000, CRC(eedd9fa1) SHA1(6233e8304ac94798cfb908b2ba31ec6c98808ce8) )
15411658
1659   sc1_cl65_sound_alt
1660ROM_END
15421661
1662ROM_START( sc1cl65bp )
1663   ROM_REGION( 0x10000, "maincpu", 0 )
1664   ROM_LOAD( "club-six-five-special_std_ac_200pnd_rot_10po_bss.bin", 0x0000, 0x8000, CRC(f04065a0) SHA1(d63ba578931b2f4f156ca875da9cf69cf283a27c) )
1665   ROM_LOAD( "club-six-five-special_dat_ac_200pnd_rot_10po_ass.bin", 0x8000, 0x8000, CRC(836e65d8) SHA1(931e5831b0b64e7ce29fb497435d486e40dce839) )
15431666
1667   sc1_cl65_sound_alt
1668ROM_END
1669
1670ROM_START( sc1cl65c )
1671   ROM_REGION( 0x10000, "maincpu", 0 )
1672   ROM_LOAD( "club-six-five-special_std_ac_b.bin", 0x0000, 0x8000, CRC(cb9f944f) SHA1(49955a968264f3d963317f5c772629d9bbdd33f7) )
1673   ROM_LOAD( "club-six-five-special_std_ac_a.bin", 0x8000, 0x8000, CRC(8bd817f8) SHA1(6ae91a29a6263c085f6254a049fb3c2ba9cac662) )
1674
1675   sc1_cl65_sound_alt
1676ROM_END
1677
1678ROM_START( sc1cl65d )
1679   ROM_REGION( 0x10000, "maincpu", 0 )
1680   ROM_LOAD( "club-six-five-special_std_ac_rot_10po_bss.bin", 0x0000, 0x8000, CRC(3371dc55) SHA1(52d75a90933acc7a03821e5c2821df6126c72a6c) )
1681   ROM_LOAD( "club-six-five-special_std_ac_rot_10po_ass.bin", 0x8000, 0x8000, CRC(cf48ba99) SHA1(5da4321ff349964e903f1bebd3e5ddd0799fc478) )
1682   
1683   sc1_cl65_sound_alt
1684ROM_END
1685
1686ROM_START( sc1cl65dp )
1687   ROM_REGION( 0x10000, "maincpu", 0 )
1688   ROM_LOAD( "club-six-five-special_std_ac_rot_10po_bss.bin", 0x0000, 0x8000, CRC(3371dc55) SHA1(52d75a90933acc7a03821e5c2821df6126c72a6c) )
1689   ROM_LOAD( "club-six-five-special_dat_ac_rot_10po_ass.bin", 0x8000, 0x8000, CRC(77ddf81d) SHA1(522d9f84ab6e31586f371548e2f146ac193f06f5) )
1690   
1691   sc1_cl65_sound_alt
1692ROM_END
1693
1694ROM_START( sc1clbdm )
1695   ROM_REGION( 0x10000, "maincpu", 0 )
1696   ROM_LOAD( "clubdiamond.bin", 0x8000, 0x8000, CRC(7e6a569e) SHA1(ba15478ae0312d3e9c21546aa676b4ab95ae944c) )
1697ROM_END
1698
15441699ROM_START( sc1clbxp )
15451700   ROM_REGION( 0x10000, "maincpu", 0 )
1546   ROM_LOAD( "clubexplosion1.bin", 0x8000, 0x008000, CRC(876161db) SHA1(a6262d70870a6edb71469ec8cea317b185aec49e) )
1547   ROM_LOAD( "clubexplosion2.bin", 0x0000, 0x008000, CRC(da56fbdd) SHA1(0ea35f6672a4a4b9236d8341733496450b64238e) )
1701   ROM_LOAD( "clubexplosion2.bin", 0x0000, 0x8000, CRC(da56fbdd) SHA1(0ea35f6672a4a4b9236d8341733496450b64238e) )
1702   ROM_LOAD( "clubexplosion1.bin", 0x8000, 0x8000, CRC(876161db) SHA1(a6262d70870a6edb71469ec8cea317b185aec49e) )
15481703
15491704   ROM_REGION( 0x20000, "upd", 0 )//Did a version of this have a UPD sound board, if so, these seem to be ROMs for it
15501705   ROM_LOAD( "95000004.bin", 0x000000, 0x008000, CRC(6ed10c9b) SHA1(cd209e8f9e0a3fd41e4ed8b6c9387ee91c19704c) )
r14675r14676
15521707   ROM_LOAD( "95000006.bin", 0x010000, 0x008000, CRC(41636b3d) SHA1(8bc4dfcd5bd56422e303c73d50c2e7afa2edef5a) )
15531708ROM_END
15541709
1555
1556
1557
1558
15591710ROM_START( sc1clbrn )
15601711   ROM_REGION( 0x10000, "maincpu", 0 )
1561   ROM_LOAD( "clubrunner.bin", 0x0000, 0x010000, CRC(32b2d57b) SHA1(26523518bfb726d55d6808451f4041756f99b1d9) )
1712   ROM_LOAD( "clubrunner.bin", 0x00000, 0x10000, CRC(32b2d57b) SHA1(26523518bfb726d55d6808451f4041756f99b1d9) )
15621713ROM_END
15631714
1564
1565
1566
15671715ROM_START( sc1clbsp )
15681716   ROM_REGION( 0x10000, "maincpu", 0 )
15691717   ROM_LOAD( "rveclsp0108_1.bin", 0x0000, 0x010000, CRC(d60c9f4b) SHA1(dcbb6a10db2f658b734ed0fdecf907a4a32eedaa) )
15701718ROM_END
15711719
1572
1573
1574
15751720ROM_START( sc1clbtm )
15761721   ROM_REGION( 0x10000, "maincpu", 0 )
15771722
r14675r14676
15951740    ROM_LOAD( "club-temptation_mtx_(ihex)ss.hex", 0x0000, 0x01d0da, CRC(08ebee96) SHA1(2e87d734c966abab1d4a59c9481ebea161f77286) )
15961741    ROM_LOAD( "clubtempdot.bin", 0x0000, 0x010000, CRC(283d2d9c) SHA1(5b76a13ad674f8a40c270e5dbc61dac04d411d02) )
15971742    */
1598   ROM_LOAD( "temp11a.bin", 0x8000, 0x008000, CRC(37c8b73e) SHA1(f718572d170be7b582c3818df7163309cea232b5) )
1599   ROM_LOAD( "temp12b.bin", 0x0000, 0x008000, CRC(3c27c592) SHA1(081d61f974e2ae5c64729b32be4c0e5067a20550) )
1743   ROM_LOAD( "temp12b.bin", 0x0000, 0x8000, CRC(3c27c592) SHA1(081d61f974e2ae5c64729b32be4c0e5067a20550) )
1744   ROM_LOAD( "temp11a.bin", 0x8000, 0x8000, CRC(37c8b73e) SHA1(f718572d170be7b582c3818df7163309cea232b5) )
16001745
1601   ROM_REGION( 0x40000, "altrevs", 0 )
1602   ROM_LOAD( "temptp1", 0x0000, 0x008000, CRC(6f03648d) SHA1(a6402c94ebf4d570d1d3fb462eb621566c27f307) )
1603   ROM_LOAD( "temptp2", 0x0000, 0x008000, CRC(d165fa87) SHA1(aef8a4af8b6e83ef09dffc8aca305eaf7dd3936b) )
1746   ROM_REGION( 0x40000, "upd", 0 )
1747   ROM_LOAD( "tempsnd1.bin", 0x00000, 0x10000, CRC(168e2a18) SHA1(db97acf9131b1a54efe1cd375aecae1679bab19e) )
1748   ROM_LOAD( "tempsnd2.bin", 0x00000, 0x10000, CRC(b717f347) SHA1(189c82318d622f18580a23eed48b17c0c34dedd5) )
1749ROM_END
16041750
1605
1751ROM_START( sc1clbtma )
1752   ROM_REGION( 0x10000, "maincpu", 0 )
1753   ROM_LOAD( "temptp2", 0x0000, 0x8000, CRC(d165fa87) SHA1(aef8a4af8b6e83ef09dffc8aca305eaf7dd3936b) )
1754   ROM_LOAD( "temptp1", 0x8000, 0x8000, CRC(6f03648d) SHA1(a6402c94ebf4d570d1d3fb462eb621566c27f307) )
1755   
16061756   ROM_REGION( 0x40000, "upd", 0 )
1607   ROM_LOAD( "tempsnd1.bin", 0x0000, 0x010000, CRC(168e2a18) SHA1(db97acf9131b1a54efe1cd375aecae1679bab19e) )
1608   ROM_LOAD( "tempsnd2.bin", 0x0000, 0x010000, CRC(b717f347) SHA1(189c82318d622f18580a23eed48b17c0c34dedd5) )
1757   ROM_LOAD( "tempsnd1.bin", 0x00000, 0x10000, CRC(168e2a18) SHA1(db97acf9131b1a54efe1cd375aecae1679bab19e) )
1758   ROM_LOAD( "tempsnd2.bin", 0x00000, 0x10000, CRC(b717f347) SHA1(189c82318d622f18580a23eed48b17c0c34dedd5) )
16091759ROM_END
16101760
1611
1612
1613
16141761ROM_START( sc1clbw )
16151762   ROM_REGION( 0x10000, "maincpu", 0 )
1616   ROM_LOAD( "clbwzp1", 0x8000, 0x008000, CRC(c61dd4eb) SHA1(e1756f8841dabe1bc002aadba6b224a558096a96) )
1617   ROM_LOAD( "clbwzp2", 0x0000, 0x008000, CRC(44bb7e16) SHA1(d3c258ea286be18dc667df6a7138280462db661b) )
1763   ROM_LOAD( "clbwzp2", 0x0000, 0x8000, CRC(44bb7e16) SHA1(d3c258ea286be18dc667df6a7138280462db661b) )
1764   ROM_LOAD( "clbwzp1", 0x8000, 0x8000, CRC(c61dd4eb) SHA1(e1756f8841dabe1bc002aadba6b224a558096a96) )
1765   sc1_clbw_sound
1766ROM_END
16181767
1619   ROM_REGION( 0x40000, "altrevs", 0 )
1620   ROM_LOAD( "club wise 95717550a.bin", 0x0000, 0x008000, CRC(5b305f11) SHA1(592ea71fcb72eaa90fd421e3bd3761cfd686b019) )
1621   ROM_LOAD( "club wise 95717551b.bin", 0x0000, 0x008000, CRC(0528a718) SHA1(27f4225c948d93ce1c833679f97e045f3b7a6aac) )
1622   ROM_LOAD( "cwise_a.bin", 0x0000, 0x008000, CRC(5b305f11) SHA1(592ea71fcb72eaa90fd421e3bd3761cfd686b019) )
1623   ROM_LOAD( "cwise_b.bin", 0x0000, 0x008000, CRC(0528a718) SHA1(27f4225c948d93ce1c833679f97e045f3b7a6aac) )
1768ROM_START( sc1clbwa )
1769   ROM_REGION( 0x10000, "maincpu", 0 )
1770   ROM_LOAD( "club wise 95717551b.bin", 0x0000, 0x8000, CRC(0528a718) SHA1(27f4225c948d93ce1c833679f97e045f3b7a6aac) )
1771   ROM_LOAD( "club wise 95717550a.bin", 0x8000, 0x8000, CRC(5b305f11) SHA1(592ea71fcb72eaa90fd421e3bd3761cfd686b019) )
1772   sc1_clbw_sound
1773ROM_END
16241774
1625   ROM_REGION( 0x20000, "upd", 0 )
1626   ROM_LOAD( "wisesnd.bin", 0x0000, 0x020000, CRC(35cb0314) SHA1(6ceec1fc17015d8228d55331fcffb77390161136) )
1627   ROM_LOAD( "wisesnd1.bin", 0x0000, 0x010000, CRC(204605a6) SHA1(193a60878ed46f122e5d2d8f35fc6ea967b8734f) )
1628   ROM_LOAD( "wisesnd2.bin", 0x010000, 0x010000, CRC(6aa66166) SHA1(2e7cc67afdce2febb541bb1d0e7c107876d4233d) )
1775ROM_START( sc1clbwb )
1776   ROM_REGION( 0x10000, "maincpu", 0 )
1777   ROM_LOAD( "cwise_b.bin", 0x0000, 0x8000, CRC(0528a718) SHA1(27f4225c948d93ce1c833679f97e045f3b7a6aac) )
1778   ROM_LOAD( "cwise_a.bin", 0x8000, 0x8000, CRC(5b305f11) SHA1(592ea71fcb72eaa90fd421e3bd3761cfd686b019) )
1779   sc1_clbw_sound
16291780ROM_END
16301781
16311782
1632
16331783ROM_START( sc1copdd )
16341784   ROM_REGION( 0x10000, "maincpu", 0 )
1635   ROM_LOAD( "game_835.bin", 0x0000, 0x010000, CRC(af134088) SHA1(c6467102903a2910c67f2b8051e1f788576ef62f) )
1785   ROM_LOAD( "game_835.bin", 0x00000, 0x10000, CRC(af134088) SHA1(c6467102903a2910c67f2b8051e1f788576ef62f) )
16361786
16371787   ROM_REGION( 0x40000, "upd", 0 )
1638   ROM_LOAD( "snd1ic7_519.bin", 0x0000, 0x010000, CRC(5cd39b04) SHA1(83cc51c208e8a9d3ccd0b4fcd2ab74a5f71e0c28) )
1639   ROM_LOAD( "snd2ic8_520.bin", 0x0000, 0x010000, CRC(a22621ec) SHA1(add91e6b1e14118c718614a7cfaa2d3aabbf01b3) )
1788   ROM_LOAD( "snd1ic7_519.bin", 0x00000, 0x10000, CRC(5cd39b04) SHA1(83cc51c208e8a9d3ccd0b4fcd2ab74a5f71e0c28) )
1789   ROM_LOAD( "snd2ic8_520.bin", 0x00000, 0x10000, CRC(a22621ec) SHA1(add91e6b1e14118c718614a7cfaa2d3aabbf01b3) )
16401790ROM_END
16411791
16421792
r14675r14676
16441794
16451795ROM_START( sc1copdx )
16461796   ROM_REGION( 0x10000, "maincpu", 0 )
1647   ROM_LOAD( "cops & robbers deluxe 5p-10p 6 p1 95840219 (27256)", 0x8000, 0x008000, CRC(47867f55) SHA1(33f879a8e1e4e2f53b5da8b4ee597bd3870c75d1) )
1648   ROM_LOAD( "cops & robbers deluxe 5p-10p 6 p2 95840220 (27256)", 0x0000, 0x008000, CRC(32a22682) SHA1(c173688ace476a2ada398d5e7b5dfed5306e3c50) )
1797   ROM_LOAD( "cops & robbers deluxe 5p-10p 6 p2 95840220 (27256)", 0x0000, 0x8000, CRC(32a22682) SHA1(c173688ace476a2ada398d5e7b5dfed5306e3c50) )
1798   ROM_LOAD( "cops & robbers deluxe 5p-10p 6 p1 95840219 (27256)", 0x8000, 0x8000, CRC(47867f55) SHA1(33f879a8e1e4e2f53b5da8b4ee597bd3870c75d1) )
16491799
16501800   ROM_REGION( 0x40000, "upd", 0 )
1651   ROM_LOAD( "cops & robbers deluxe sound 1 295 (27512)", 0x000000, 0x010000, CRC(81227c21) SHA1(6af8e15f8405fdfbaa3a8853ec7ec62fe5ec34ae) )
1652   ROM_LOAD( "cops & robbers deluxe sound 2 296 (27512)", 0x010000, 0x010000, CRC(8ecf1f5e) SHA1(4159b5c3800708cde94ce62a5e07b58ad8aaedf8) )
1801   ROM_LOAD( "cops & robbers deluxe sound 1 295 (27512)", 0x00000, 0x10000, CRC(81227c21) SHA1(6af8e15f8405fdfbaa3a8853ec7ec62fe5ec34ae) )
1802   ROM_LOAD( "cops & robbers deluxe sound 2 296 (27512)", 0x10000, 0x10000, CRC(8ecf1f5e) SHA1(4159b5c3800708cde94ce62a5e07b58ad8aaedf8) )
16531803ROM_END
16541804
16551805
r14675r14676
16571807
16581808ROM_START( sc1count )
16591809   ROM_REGION( 0x10000, "maincpu", 0 )
1660   ROM_LOAD( "club-count-cash_std_ac_200pnd_rot_ass.bin", 0x8000, 0x008000, CRC(a6a1a604) SHA1(86e59578fed7023b0e6a42495b9a60e7178ee566) )
1661   ROM_LOAD( "club-count-cash_std_ac_200pnd_rot_bss.bin", 0x0000, 0x008000, CRC(8e385a9e) SHA1(67c45734501c16be3b8270f388dc1313bce289f8) )
1810   ROM_LOAD( "club-count-cash_std_ac_200pnd_rot_bss.bin", 0x0000, 0x8000, CRC(8e385a9e) SHA1(67c45734501c16be3b8270f388dc1313bce289f8) )
1811   ROM_LOAD( "club-count-cash_std_ac_200pnd_rot_ass.bin", 0x8000, 0x8000, CRC(a6a1a604) SHA1(86e59578fed7023b0e6a42495b9a60e7178ee566) )
1812ROM_END
16621813
1663   ROM_REGION( 0x40000, "altrevs", 0 )
1664   ROM_LOAD( "club-count-cash_dat_ac_200pnd_rot_ass.bin", 0x0000, 0x008000, CRC(da097abe) SHA1(85f01d8b5dce535a5559fadaf1cf7373c6967882) )
1665   ROM_LOAD( "club-count-cash_dat_ac_200pnd_rot_bss.bin", 0x0000, 0x008000, CRC(8e385a9e) SHA1(67c45734501c16be3b8270f388dc1313bce289f8) )
1666   ROM_LOAD( "club-count-cash_dat_ac_rnr_ass.bin", 0x0000, 0x008000, CRC(87f68f57) SHA1(fe99c8577a80a7ec791bf87e78cf429eebbc7785) )
1667   ROM_LOAD( "club-count-cash_dat_ac_rnr_bss.bin", 0x0000, 0x008000, CRC(69df417d) SHA1(a7788a9f3056919017616960ba5017bcd94b8a98) )
1668   ROM_LOAD( "club-count-cash_std_ac_rot_ass.bin", 0x0000, 0x008000, CRC(b081333c) SHA1(75a46634458a790f91360be26cace0e42bbf3481) )
1669   ROM_LOAD( "club-count-cash_std_ac_rot_bss.bin", 0x0000, 0x008000, CRC(69df417d) SHA1(a7788a9f3056919017616960ba5017bcd94b8a98) )
1670   ROM_LOAD( "club-game-show_std_ac_250pnd-25p_ass.bin", 0x0000, 0x010000, CRC(36efa743) SHA1(0f5392f55e42d7ac17e179c966997f41859f925a) )
1814ROM_START( sc1countp )
1815   ROM_REGION( 0x10000, "maincpu", 0 )
1816   ROM_LOAD( "club-count-cash_dat_ac_200pnd_rot_bss.bin", 0x0000, 0x8000, CRC(8e385a9e) SHA1(67c45734501c16be3b8270f388dc1313bce289f8) )
1817   ROM_LOAD( "club-count-cash_dat_ac_200pnd_rot_ass.bin", 0x8000, 0x8000, CRC(da097abe) SHA1(85f01d8b5dce535a5559fadaf1cf7373c6967882) )
16711818ROM_END
16721819
1820ROM_START( sc1counta )
1821   ROM_REGION( 0x10000, "maincpu", 0 )
1822   ROM_LOAD( "club-count-cash_std_ac_rot_bss.bin", 0x0000, 0x8000, CRC(69df417d) SHA1(a7788a9f3056919017616960ba5017bcd94b8a98) )
1823   ROM_LOAD( "club-count-cash_std_ac_rot_ass.bin", 0x8000, 0x8000, CRC(b081333c) SHA1(75a46634458a790f91360be26cace0e42bbf3481) )
1824ROM_END
16731825
1826ROM_START( sc1countap )
1827   ROM_REGION( 0x10000, "maincpu", 0 )
1828   ROM_LOAD( "club-count-cash_dat_ac_rnr_bss.bin", 0x0000, 0x8000, CRC(69df417d) SHA1(a7788a9f3056919017616960ba5017bcd94b8a98) )
1829   ROM_LOAD( "club-count-cash_dat_ac_rnr_ass.bin", 0x8000, 0x8000, CRC(87f68f57) SHA1(fe99c8577a80a7ec791bf87e78cf429eebbc7785) )
1830ROM_END
16741831
1832ROM_START( sc1countb )
1833   ROM_REGION( 0x10000, "maincpu", 0 )//odds are this needs to be split in two
1834   ROM_LOAD( "club-game-show_std_ac_250pnd-25p_ass.bin", 0x0000, 0x010000, CRC(36efa743) SHA1(0f5392f55e42d7ac17e179c966997f41859f925a) )
1835ROM_END
16751836
16761837ROM_START( sc1dago )
16771838   ROM_REGION( 0x10000, "maincpu", 0 )
r14675r14676
16831844
16841845ROM_START( sc1disc )
16851846   ROM_REGION( 0x10000, "maincpu", 0 )
1847   ROM_LOAD( "disc-88.b", 0x0000, 0x008000, CRC(f6e2d800) SHA1(a0c7ab0c913d9284cdbfa1d35b62afefb903c086) )
16861848   ROM_LOAD( "disc-88.a", 0x8000, 0x008000, CRC(1ac052d0) SHA1(a37cc2896fb884af7e922289d7fda1e7d26fc387) )
1687   ROM_LOAD( "disc-88.b", 0x0000, 0x008000, CRC(f6e2d800) SHA1(a0c7ab0c913d9284cdbfa1d35b62afefb903c086) )
1849ROM_END
16881850
1689   ROM_REGION( 0x40000, "altrevs", 0 )
1851ROM_START( sc1disca )
1852   ROM_REGION( 0x10000, "maincpu", 0 )
16901853   ROM_LOAD( "ds1.bin", 0x0000, 0x008000, CRC(22f6ce92) SHA1(5db8f54bc83e963687ebe2f13769e3f2f678d356) )
16911854   ROM_LOAD( "ds2.bin", 0x0000, 0x008000, CRC(fa549c55) SHA1(93a31e4f847dcd326760d17753c994f6210fb6ed) )
16921855ROM_END
16931856
16941857
1695
1696
16971858ROM_START( sc1dblch )
16981859   ROM_REGION( 0x10000, "maincpu", 0 )
1860   ROM_LOAD( "doublechancegame2.bin", 0x0000, 0x008000, CRC(d4f49454) SHA1(53b97f941a4abfeb3e498b4295f98e80bd182b7e) )
16991861   ROM_LOAD( "doublechancegame1.bin", 0x8000, 0x008000, CRC(9e24e0e3) SHA1(fff1fe9219c052750709d13c06148c7926a22910) )
1700   ROM_LOAD( "doublechancegame2.bin", 0x0000, 0x008000, CRC(d4f49454) SHA1(53b97f941a4abfeb3e498b4295f98e80bd182b7e) )
1701
1702   ROM_REGION( 0x40000, "altrevs", 0 )
1703   ROM_LOAD( "717416_dc_std.a", 0x0000, 0x008000, CRC(949726ed) SHA1(6ecebd20387aa73b0404ab4b7342e2b39d77b37f) )
1704   ROM_LOAD( "717417_dc_std.b", 0x0000, 0x008000, CRC(51e5459b) SHA1(b6ffbcff63fd3543226778c61fbe2246f40635dd) )
1705   ROM_LOAD( "95000110_dc_sound_2", 0x0000, 0x010000, CRC(bee6af3e) SHA1(334fe491a00f58a2142f65344674b26c766a7c5b) )
1706   ROM_LOAD( "95000111_dc_sound_1", 0x0000, 0x010000, CRC(bbadc876) SHA1(902e387ea9bcd833cf75a6f049b5b2822ec6dc2a) )
1862   
1863   ROM_REGION( 0x40000, "altrevs", 0 )//orphans?
17071864   ROM_LOAD( "95717787 10p20p.bin", 0x0000, 0x008000, CRC(69ba126c) SHA1(f59aa5a632d0bc5102c206f986f86b6c7c1352fb) )
17081865   ROM_LOAD( "95717789 10p.bin", 0x0000, 0x008000, CRC(fc338d38) SHA1(65457f2611ffa22ac35f1e7ad10c290c01b9c3ac) )
17091866   ROM_LOAD( "95717790 5p.bin", 0x0000, 0x008000, CRC(c82e57f9) SHA1(456ce5290db322292170412a00f0252b86743ed0) )
17101867
1711   ROM_REGION( 0x40000, "upd", 0 )
1712   ROM_LOAD( "doublechancesnd1.bin", 0x0000, 0x010000, CRC(bee6af3e) SHA1(334fe491a00f58a2142f65344674b26c766a7c5b) )
1713   ROM_LOAD( "doublechancesnd2.bin", 0x0000, 0x010000, CRC(bbadc876) SHA1(902e387ea9bcd833cf75a6f049b5b2822ec6dc2a) )
1868   sc1_dblch_sound
17141869ROM_END
17151870
1871ROM_START( sc1dblcha )
1872   ROM_REGION( 0x10000, "maincpu", 0 )
1873   ROM_LOAD( "95717417_dc_std.b", 0x0000, 0x8000, CRC(51e5459b) SHA1(b6ffbcff63fd3543226778c61fbe2246f40635dd) )
1874   ROM_LOAD( "95717416_dc_std.a", 0x8000, 0x8000, CRC(949726ed) SHA1(6ecebd20387aa73b0404ab4b7342e2b39d77b37f) )
1875   sc1_dblch_sound
1876ROM_END
17161877
1717
1718
1719
17201878ROM_START( sc1dream )
17211879   ROM_REGION( 0x10000, "maincpu", 0 )
17221880   ROM_LOAD( "95752021.bin", 0x0000, 0x010000, CRC(ea7d1cec) SHA1(d277b639575498c458f98e0e1a629d914ca36cfe) )
17231881
17241882   ROM_REGION( 0x20000, "upd", 0 )
1725   ROM_LOAD( "95000604.bin", 0x0000, 0x010000, CRC(7c2f52ed) SHA1(d435402459efc9311707ac691992874b56cbbeec) )
1726   ROM_LOAD( "95000605.bin", 0x0000, 0x010000, CRC(23b99731) SHA1(7cc1c51d9b72480d8a1020fc3621a05ba83d7629) )
1883   ROM_LOAD( "95000604.bin", 0x00000, 0x10000, CRC(7c2f52ed) SHA1(d435402459efc9311707ac691992874b56cbbeec) )
1884   ROM_LOAD( "95000605.bin", 0x00000, 0x10000, CRC(23b99731) SHA1(7cc1c51d9b72480d8a1020fc3621a05ba83d7629) )
17271885ROM_END
17281886
17291887
1730
1731
17321888ROM_START( sc1final )
17331889   ROM_REGION( 0x10000, "maincpu", 0 )
1734   ROM_LOAD( "finaltouch_prg.bin", 0x0000, 0x010000, CRC(27a74fbb) SHA1(8c3e76c67605866acf8e6e28b14788a5cbcd43b4) )
1890   ROM_LOAD( "finaltouch_prg.bin", 0x00000, 0x10000, CRC(27a74fbb) SHA1(8c3e76c67605866acf8e6e28b14788a5cbcd43b4) )
17351891
17361892   ROM_REGION( 0x40000, "upd", 0 )
1737   ROM_LOAD( "finaltouch_snd1.bin", 0x000000, 0x010000, CRC(18ebcdd2) SHA1(17efd903d205d7285f642017de8b5799ede2110b) )
1738   ROM_LOAD( "finaltouch_snd2.bin", 0x010000, 0x010000, CRC(75a76a6a) SHA1(a660285d56517876414dc951e98185ea14e8fb4e) )
1893   ROM_LOAD( "finaltouch_snd1.bin", 0x00000, 0x10000, CRC(18ebcdd2) SHA1(17efd903d205d7285f642017de8b5799ede2110b) )
1894   ROM_LOAD( "finaltouch_snd2.bin", 0x10000, 0x10000, CRC(75a76a6a) SHA1(a660285d56517876414dc951e98185ea14e8fb4e) )
17391895ROM_END
17401896
17411897
17421898
17431899ROM_START( sc1flash )
17441900   ROM_REGION( 0x10000, "maincpu", 0 )
1745   ROM_LOAD( "flash.bin", 0x0000, 0x010000, CRC(42475bd9) SHA1(634759e64ecc001da5eca01b89e5b93749de541d) )
1901   ROM_LOAD( "flash.bin", 0x00000, 0x10000, CRC(42475bd9) SHA1(634759e64ecc001da5eca01b89e5b93749de541d) )
17461902ROM_END
17471903
17481904
17491905
17501906ROM_START( sc1fruit )
17511907   ROM_REGION( 0x10000, "maincpu", 0 )
1752   ROM_LOAD( "fruitlnsa.bin", 0x8000, 0x008000, CRC(c002dde4) SHA1(7f7601108975f09ed5846d8acf90a5db36319bbd) )
1753   ROM_LOAD( "fruitlnsb.bin", 0x0000, 0x008000, CRC(9a44bfdc) SHA1(cd7890b781411b1fdf8abe17e3337a92b40596c7) )
1908   ROM_LOAD( "fruitlnsb.bin", 0x0000, 0x8000, CRC(9a44bfdc) SHA1(cd7890b781411b1fdf8abe17e3337a92b40596c7) )
1909   ROM_LOAD( "fruitlnsa.bin", 0x8000, 0x8000, CRC(c002dde4) SHA1(7f7601108975f09ed5846d8acf90a5db36319bbd) )
17541910ROM_END
17551911
17561912
r14675r14676
17611917ROM_END
17621918
17631919
1764
17651920ROM_START( sc1funh )
17661921   ROM_REGION( 0x10000, "maincpu", 0 )
1767   ROM_LOAD( "club-fun-house_std_ac_a.bin", 0x008000, 0x008000, CRC(f81dff1b) SHA1(4c205b3901f683d3679af9d311813ad912ecb436) )
1768   ROM_LOAD( "club-fun-house_std_ac_b.bin", 0x0000, 0x008000, CRC(1a838f0d) SHA1(747153e1bb9fc4fc28451e828fa2473f2e6d5e0e) )
1922   ROM_LOAD( "club-fun-house_std_ac_b.bin", 0x0000, 0x8000, CRC(1a838f0d) SHA1(747153e1bb9fc4fc28451e828fa2473f2e6d5e0e) )
1923   ROM_LOAD( "club-fun-house_std_ac_a.bin", 0x8000, 0x8000, CRC(f81dff1b) SHA1(4c205b3901f683d3679af9d311813ad912ecb436) )
1924   sc1_funh_sound
1925ROM_END
17691926
1770   ROM_REGION( 0x40000, "altrevs", 0 )
1771   ROM_LOAD( "club-fun-house_dat_ac_rot_ass.bin", 0x0000, 0x00781f, CRC(9a24dc71) SHA1(bb19ef26d6d46605107c8b53c6d9b4f08ed4c721) )
1927ROM_START( sc1funhp )
1928   ROM_REGION( 0x10000, "maincpu", 0 )
17721929   ROM_LOAD( "club-fun-house_dat_ac_rot_bss.bin", 0x0000, 0x008000, CRC(1a838f0d) SHA1(747153e1bb9fc4fc28451e828fa2473f2e6d5e0e) )
1773   ROM_LOAD( "club-fun-house_std_ac_ass.bin", 0x0000, 0x008000, CRC(f81dff1b) SHA1(4c205b3901f683d3679af9d311813ad912ecb436) )
1774   ROM_LOAD( "club-fun-house_std_ac_bss.bin", 0x0000, 0x008000, CRC(1a838f0d) SHA1(747153e1bb9fc4fc28451e828fa2473f2e6d5e0e) )
1775   ROM_LOAD( "funhop1", 0x0000, 0x008000, CRC(282d5651) SHA1(bd8c0985143d8fb5c8e0a2bfedea248569c8cf98) )
1776   ROM_LOAD( "funhop2", 0x0000, 0x008000, CRC(2454e295) SHA1(9785d278afe05c632e1ab326d1b8fbabcc591fb6) )
1777   ROM_LOAD( "funhouse.bin", 0x0000, 0x010000, CRC(4e342025) SHA1(288125ff5e3da7249d89dfcc3cd0915f791f7d43) )
1930   ROM_LOAD( "club-fun-house_dat_ac_rot_ass.bin", 0x8000, 0x00781f,  BAD_DUMP CRC(9a24dc71) SHA1(bb19ef26d6d46605107c8b53c6d9b4f08ed4c721) )
1931   sc1_funh_sound
1932ROM_END
17781933
1779   ROM_REGION( 0x40000, "upd", 0 )
1780   ROM_LOAD( "fhsesnd1.bin", 0x0000, 0x010000, CRC(bf371dbf) SHA1(0c9bc0d0964a858fba5324080a2cf5da119bf3db) )
1781   ROM_LOAD( "fhsesnd2.bin", 0x0000, 0x010000, CRC(c51415e3) SHA1(f0e4eb5ce38faaef336a5b69e598985ea2486ceb) )
1934ROM_START( sc1funha )
1935   ROM_REGION( 0x10000, "maincpu", 0 )
1936   ROM_LOAD( "funhop2", 0x0000, 0x8000, CRC(2454e295) SHA1(9785d278afe05c632e1ab326d1b8fbabcc591fb6) )
1937   ROM_LOAD( "funhop1", 0x8000, 0x8000, CRC(282d5651) SHA1(bd8c0985143d8fb5c8e0a2bfedea248569c8cf98) )
1938
1939   sc1_funh_sound
17821940ROM_END
17831941
1942ROM_START( sc1funhb )
1943   ROM_REGION( 0x10000, "maincpu", 0 )
1944   ROM_LOAD( "funhouse.bin", 0x00000, 0x10000, CRC(4e342025) SHA1(288125ff5e3da7249d89dfcc3cd0915f791f7d43) )
17841945
1946   sc1_funh_sound
1947ROM_END
17851948
1949
17861950ROM_START( sc1gtime )
17871951   ROM_REGION( 0x10000, "maincpu", 0 )
1788   ROM_LOAD( "goodtime.bin", 0x0000, 0x010000, CRC(9958dc86) SHA1(43221d0eb50ebe3db8b1d1e784e19b5cbb86c24c) )
1952   ROM_LOAD( "goodtime.bin", 0x00000, 0x10000, CRC(9958dc86) SHA1(43221d0eb50ebe3db8b1d1e784e19b5cbb86c24c) )
17891953
17901954   ROM_REGION( 0x40000, "upd", 0 )
1791   ROM_LOAD( "goodtimesound1.bin", 0x0000, 0x010000, CRC(554d1157) SHA1(ae802338b40a0b35dcdf788c19ef42c2ed7e9a37) )
1792   ROM_LOAD( "goodtimesound2.bin", 0x010000, 0x010000, CRC(e6c53e20) SHA1(30cb83d03fe873b4ec822d3aa1001b7fed9571ff) )
1955   ROM_LOAD( "goodtimesound1.bin", 0x00000, 0x10000, CRC(554d1157) SHA1(ae802338b40a0b35dcdf788c19ef42c2ed7e9a37) )
1956   ROM_LOAD( "goodtimesound2.bin", 0x10000, 0x10000, CRC(e6c53e20) SHA1(30cb83d03fe873b4ec822d3aa1001b7fed9571ff) )
17931957ROM_END
17941958
17951959ROM_START( sc1tiara )
17961960   ROM_REGION( 0x10000, "maincpu", 0 )
1797   ROM_LOAD( "tiara_prg1u.bin", 0x0000, 0x010000, CRC(963fc838) SHA1(375bc2fb72c89095d1afae77762e94d7adb79133) )
1961   ROM_LOAD( "tiara_prg1u.bin", 0x00000, 0x10000, CRC(963fc838) SHA1(375bc2fb72c89095d1afae77762e94d7adb79133) )
17981962
17991963   ROM_REGION( 0x40000, "upd", 0 ) // same sound roms as good times?
1800   ROM_LOAD( "tiara_snd1.bin", 0x0000, 0x010000, CRC(554d1157) SHA1(ae802338b40a0b35dcdf788c19ef42c2ed7e9a37) )
1801   ROM_LOAD( "tiara_snd2.bin", 0x010000, 0x010000, CRC(e6c53e20) SHA1(30cb83d03fe873b4ec822d3aa1001b7fed9571ff) )
1964   ROM_LOAD( "tiara_snd1.bin", 0x00000, 0x10000, CRC(554d1157) SHA1(ae802338b40a0b35dcdf788c19ef42c2ed7e9a37) )
1965   ROM_LOAD( "tiara_snd2.bin", 0x00000, 0x10000, CRC(e6c53e20) SHA1(30cb83d03fe873b4ec822d3aa1001b7fed9571ff) )
18021966ROM_END
18031967
18041968
18051969
18061970ROM_START( sc1gprix )
18071971   ROM_REGION( 0x10000, "maincpu", 0 )
1808   ROM_LOAD( "gp.bin", 0x0000, 0x010000, CRC(35cfe52c) SHA1(5debd45553e91d2aab102c5a712f912efdd6ada3) )
1972   ROM_LOAD( "gp.bin", 0x00000, 0x10000, CRC(35cfe52c) SHA1(5debd45553e91d2aab102c5a712f912efdd6ada3) )
18091973
18101974   ROM_REGION( 0x40000, "upd", 0 )
1811   ROM_LOAD( "grandprix_snd1.bin", 0x0000, 0x010000, CRC(86139b6a) SHA1(13b9483f7379e3cc25f5474fa950878e0a2853d2) )
1812   ROM_LOAD( "grandprix_snd2.bin", 0x010000, 0x010000, CRC(f1a91ced) SHA1(97e3f03b7eac975ff9dd4e0f10eb18314c36f201) )
1975   ROM_LOAD( "grandprix_snd1.bin", 0x00000, 0x10000, CRC(86139b6a) SHA1(13b9483f7379e3cc25f5474fa950878e0a2853d2) )
1976   ROM_LOAD( "grandprix_snd2.bin", 0x10000, 0x10000, CRC(f1a91ced) SHA1(97e3f03b7eac975ff9dd4e0f10eb18314c36f201) )
18131977ROM_END
18141978
18151979
r14675r14676
18171981
18181982ROM_START( sc1gslam )
18191983   ROM_REGION( 0x10000, "maincpu", 0 )
1820   ROM_LOAD( "gs.bin", 0x0000, 0x010000, CRC(7a239eef) SHA1(5af894dd2df7256c9347b46a5aabd93961c83324) )
1984   ROM_LOAD( "gs.bin", 0x00000, 0x10000, CRC(7a239eef) SHA1(5af894dd2df7256c9347b46a5aabd93961c83324) )
18211985
18221986   ROM_REGION( 0x40000, "upd", 0 )
1823   ROM_LOAD( "gslsnd1.bin", 0x0000, 0x010000, CRC(52ca000a) SHA1(a8d4cedf02fae8bb24ea8cf1f62dace49c773858) )
1824   ROM_LOAD( "gslsnd2.bin", 0x0000, 0x010000, CRC(cb52721e) SHA1(395024a425f057f78a8d83cdbbbc9bf1521f3597) )
1825   ROM_LOAD( "grandslam_snd_a.bin", 0x0000, 0x010000, CRC(52ca000a) SHA1(a8d4cedf02fae8bb24ea8cf1f62dace49c773858) )
1826   ROM_LOAD( "grandslam_snd_b.bin", 0x0000, 0x010000, CRC(cb52721e) SHA1(395024a425f057f78a8d83cdbbbc9bf1521f3597) )
1987   ROM_LOAD( "gslsnd1.bin", 0x00000, 0x10000, CRC(52ca000a) SHA1(a8d4cedf02fae8bb24ea8cf1f62dace49c773858) )
1988   ROM_LOAD( "gslsnd2.bin", 0x10000, 0x10000, CRC(cb52721e) SHA1(395024a425f057f78a8d83cdbbbc9bf1521f3597) )
18271989ROM_END
18281990
18291991
r14675r14676
18311993
18321994ROM_START( sc1happy )
18331995   ROM_REGION( 0x10000, "maincpu", 0 )
1834   ROM_LOAD( "happyhourromd.bin", 0x0000, 0x010000, CRC(7a03df4f) SHA1(78dbadd4acc3ac7d06e2bc8bf9be080e4cd888fb) )
1996   ROM_LOAD( "happyhourromd.bin", 0x00000, 0x10000, CRC(7a03df4f) SHA1(78dbadd4acc3ac7d06e2bc8bf9be080e4cd888fb) )
18351997
18361998   ROM_REGION( 0x40000, "upd", 0 )
1837   ROM_LOAD( "happyhoursnd1.bin", 0x0000, 0x010000, CRC(a7b84f42) SHA1(bfe0b4f7b1c6c55d4fa45ac26f95a045cc21313e) )
1838   ROM_LOAD( "happyhoursnd2.bin", 0x010000, 0x010000, CRC(e90ffa86) SHA1(8b4f68e3f010854e13abd689db0961092d2dc491) )
1999   ROM_LOAD( "happyhoursnd1.bin", 0x00000, 0x10000, CRC(a7b84f42) SHA1(bfe0b4f7b1c6c55d4fa45ac26f95a045cc21313e) )
2000   ROM_LOAD( "happyhoursnd2.bin", 0x10000, 0x10000, CRC(e90ffa86) SHA1(8b4f68e3f010854e13abd689db0961092d2dc491) )
18392001ROM_END
18402002
18412003
r14675r14676
18432005
18442006ROM_START( sc1impc )
18452007   ROM_REGION( 0x10000, "maincpu", 0 )
1846   ROM_LOAD( "impact.bin", 0x0000, 0x010000, CRC(dd5d94d4) SHA1(1674ec497daa7dd61412a07ebca3447b69c5780e) )
2008   ROM_LOAD( "impact.bin", 0x00000, 0x10000, CRC(dd5d94d4) SHA1(1674ec497daa7dd61412a07ebca3447b69c5780e) )
18472009ROM_END
18482010
18492011
18502012
18512013ROM_START( sc1kings )
18522014   ROM_REGION( 0x10000, "maincpu", 0 )
1853   ROM_LOAD( "kingsclub.bin", 0x0000, 0x010000, CRC(6f547e05) SHA1(e52872ab94e6bdcb8aa131db6f21535b78cf53ef) )
2015   ROM_LOAD( "kingsclub.bin", 0x00000, 0x10000, CRC(6f547e05) SHA1(e52872ab94e6bdcb8aa131db6f21535b78cf53ef) )
18542016
18552017   ROM_REGION( 0x40000, "upd", 0 )
1856   ROM_LOAD( "kings279.bin", 0x000000, 0x010000, CRC(8388d112) SHA1(fa31f001011fb463d7cffe88b7cd994ceb3a6977) )
1857   ROM_LOAD( "kings280.bin", 0x010000, 0x010000, CRC(5566f2bd) SHA1(a49b7a25cf3a008c78dc59c08aaccb6e0e1e480f) )
2018   ROM_LOAD( "kings279.bin", 0x00000, 0x10000, CRC(8388d112) SHA1(fa31f001011fb463d7cffe88b7cd994ceb3a6977) )
2019   ROM_LOAD( "kings280.bin", 0x10000, 0x10000, CRC(5566f2bd) SHA1(a49b7a25cf3a008c78dc59c08aaccb6e0e1e480f) )
18582020ROM_END
18592021
18602022
r14675r14676
18622024
18632025ROM_START( sc1linx )
18642026   ROM_REGION( 0x10000, "maincpu", 0 )
1865   ROM_LOAD( "95710137 a.bin", 0x8000, 0x008000, CRC(29c6b8b1) SHA1(643d06a5064ba74902bfbe115b1bd7b1abe14381) )
1866   ROM_LOAD( "95710138 b.bin", 0x0000, 0x008000, CRC(e731dc61) SHA1(c65b2c7006e58e924370261bdb5ac3f5e3e86471) )
2027   ROM_LOAD( "95710138 b.bin", 0x0000, 0x8000, CRC(e731dc61) SHA1(c65b2c7006e58e924370261bdb5ac3f5e3e86471) )
2028   ROM_LOAD( "95710137 a.bin", 0x8000, 0x8000, CRC(29c6b8b1) SHA1(643d06a5064ba74902bfbe115b1bd7b1abe14381) )
2029ROM_END
18672030
1868   ROM_REGION( 0x40000, "altrevs", 0 )
1869   ROM_LOAD( "linx 10p a.bin", 0x0000, 0x008000, CRC(87d8907c) SHA1(3584441870b0a57284e831b0e68422fa3138b4bf) )
1870   ROM_LOAD( "linx 20p n.p.a 95717315.bin", 0x0000, 0x008000, CRC(ea53e0e1) SHA1(d8d57d44188a33e2751bfc4f21249efc32815877) )
1871   ROM_LOAD( "linx 20p std 95717316 b.bin", 0x0000, 0x008000, CRC(419b3d7e) SHA1(83b27914cb95afc1053578a279dc936181562217) )
1872   ROM_LOAD( "linx var% data 10p b.bin", 0x0000, 0x008000, CRC(c23fc39c) SHA1(4e6d2a16606544c00bd175ade4d9e6491ec317ff) )
2031ROM_START( sc1linxa )
2032   ROM_REGION( 0x10000, "maincpu", 0 )
2033   ROM_LOAD( "linx 20p std 95717316 b.bin", 0x0000, 0x8000, CRC(419b3d7e) SHA1(83b27914cb95afc1053578a279dc936181562217) )
2034   ROM_LOAD( "linx 20p n.p.a 95717315.bin", 0x8000, 0x8000, CRC(ea53e0e1) SHA1(d8d57d44188a33e2751bfc4f21249efc32815877) )
18732035ROM_END
18742036
2037ROM_START( sc1linxp )
2038   ROM_REGION( 0x10000, "maincpu", 0 )
2039   ROM_LOAD( "linx var% data 10p b.bin", 0x0000, 0x8000, CRC(c23fc39c) SHA1(4e6d2a16606544c00bd175ade4d9e6491ec317ff) )
2040   ROM_LOAD( "linx 10p a.bin", 0x8000, 0x8000, CRC(87d8907c) SHA1(3584441870b0a57284e831b0e68422fa3138b4bf) )
2041ROM_END
18752042
18762043
2044
18772045ROM_START( sc1magc )
18782046   ROM_REGION( 0x10000, "maincpu", 0 )
18792047   ROM_LOAD( "mc.bin", 0x8000, 0x008000, CRC(75cd57c4) SHA1(94409fdf206ebe071fd58bc175622c2bfa439299) )
r14675r14676
18842052
18852053ROM_START( sc1manha )
18862054   ROM_REGION( 0x10000, "maincpu", 0 )
1887   ROM_LOAD( "mana.bin", 0x8000, 0x008000, CRC(961dc746) SHA1(98ecfce91f8d111b38d9e658b50bfd921e567a68) )
1888   ROM_LOAD( "manb.bin", 0x0000, 0x008000, CRC(a0e73800) SHA1(bb56f2aa211ff48e5d4d8bfdff4fc1c7464e01ca) )
2055   ROM_LOAD( "manb.bin", 0x0000, 0x8000, CRC(a0e73800) SHA1(bb56f2aa211ff48e5d4d8bfdff4fc1c7464e01ca) )
2056   ROM_LOAD( "mana.bin", 0x8000, 0x8000, CRC(961dc746) SHA1(98ecfce91f8d111b38d9e658b50bfd921e567a68) )
18892057ROM_END
18902058
18912059
r14675r14676
18932061
18942062ROM_START( sc1mast )
18952063   ROM_REGION( 0x10000, "maincpu", 0 )
1896   ROM_LOAD( "masterclubgame.bin", 0x0000, 0x010000, CRC(1156383a) SHA1(eb93fae25b1083bfd343015bcbc33f029571b700) )
2064   ROM_LOAD( "masterclubgame.bin", 0x00000, 0x10000, CRC(1156383a) SHA1(eb93fae25b1083bfd343015bcbc33f029571b700) )
18972065
18982066   ROM_REGION( 0x40000, "upd", 0 )
1899   ROM_LOAD( "asnd1.bin", 0x0000, 0x010000, CRC(229d0666) SHA1(68650c920d60df1eff00cd77e0308f5c2fd88baf) )
1900   ROM_LOAD( "asnd2.bin", 0x0000, 0x010000, CRC(3b286391) SHA1(0e0cd818d23d73b681905db98c0b9890809b25f6) )
2067   ROM_LOAD( "asnd1.bin", 0x00000, 0x10000, CRC(229d0666) SHA1(68650c920d60df1eff00cd77e0308f5c2fd88baf) )
2068   ROM_LOAD( "asnd2.bin", 0x10000, 0x10000, CRC(3b286391) SHA1(0e0cd818d23d73b681905db98c0b9890809b25f6) )
19012069ROM_END
19022070
19032071
r14675r14676
19052073
19062074ROM_START( sc1mist )
19072075   ROM_REGION( 0x10000, "maincpu", 0 )
1908   ROM_LOAD( "mistral.bin", 0x0000, 0x010000, CRC(7da31d22) SHA1(a63cd098d66af869d3967b15694b6d6ba8cc8d1e) )
2076   ROM_LOAD( "mistral.bin", 0x00000, 0x10000, CRC(7da31d22) SHA1(a63cd098d66af869d3967b15694b6d6ba8cc8d1e) )
19092077ROM_END
19102078
19112079
r14675r14676
19132081
19142082ROM_START( sc1olym )
19152083   ROM_REGION( 0x10000, "maincpu", 0 )
1916   ROM_LOAD( "olympia.bin", 0x0000, 0x010000, CRC(15728d0a) SHA1(addf84f0efec140eecad48116a84c36662a85db2) )
2084   ROM_LOAD( "olympia.bin", 0x00000, 0x10000, CRC(15728d0a) SHA1(addf84f0efec140eecad48116a84c36662a85db2) )
19172085ROM_END
19182086
19192087
19202088
19212089
19222090ROM_START( sc1orac )
1923   ROM_REGION( 0x10000, "maincpu", 0 )
1924   ROM_LOAD( "oracle_a.bin", 0x0000, 0x008000, CRC(2177f249) SHA1(5144819a8934734b5de9d56384ae89d015b8acee) )
1925   ROM_LOAD( "oracle_b.bin", 0x8000, 0x008000, CRC(93f38e60) SHA1(741402d0f25b59a9d651875bf5ccbc06389b1ea9) )
2091   ROM_REGION( 0x10000, "maincpu", 0 )//Is this the right way round? Goes against other labels...
2092   ROM_LOAD( "oracle_a.bin", 0x0000, 0x8000, CRC(2177f249) SHA1(5144819a8934734b5de9d56384ae89d015b8acee) )
2093   ROM_LOAD( "oracle_b.bin", 0x8000, 0x8000, CRC(93f38e60) SHA1(741402d0f25b59a9d651875bf5ccbc06389b1ea9) )
19262094ROM_END
19272095
19282096
r14675r14676
19302098
19312099ROM_START( sc1pwrl )
19322100   ROM_REGION( 0x10000, "maincpu", 0 )
1933   ROM_LOAD( "powlinea.bin", 0x8000, 0x008000, CRC(6d03d6ce) SHA1(4a932b87e44e37fed44ff80da542228f2d4b9876) )
1934   ROM_LOAD( "powlineb.bin", 0x0000, 0x008000, CRC(9d13e39e) SHA1(2df1f402fb49aacc3fc1fecdf536ea1dcee5521f) )
2101   ROM_LOAD( "powlineb.bin", 0x0000, 0x8000, CRC(9d13e39e) SHA1(2df1f402fb49aacc3fc1fecdf536ea1dcee5521f) )
2102   ROM_LOAD( "powlinea.bin", 0x8000, 0x8000, CRC(6d03d6ce) SHA1(4a932b87e44e37fed44ff80da542228f2d4b9876) )
19352103
1936   ROM_REGION( 0x40000, "altrevs", 0 ) // or something else?
2104   ROM_REGION( 0x40000, "altrevs", 0 ) // check with set below, this is either an alternate (datapak) rom or we're missing one
19372105   ROM_LOAD( "95000013.bin", 0x0000, 0x008000, CRC(80573db9) SHA1(34e028d1d01328719f6260aafb58f40d664ab7ea) )
1938   ROM_LOAD( "95000014.bin", 0x0000, 0x008000, CRC(cad7c87b) SHA1(052324bbad28b67d23a018d61a03783dd4dfd9cf) )
1939   ROM_LOAD( "95000015.bin", 0x0000, 0x008000, CRC(c46911ca) SHA1(a270d0708574a549b88f13f9cde1d7dcdfc624a9) )
19402106
2107   sc1_pwrl_sound
2108ROM_END
19412109
1942   ROM_REGION( 0x40000, "upd", 0 )
1943   ROM_LOAD( "powl_snd.bin", 0x0000, 0x040000, CRC(e87af436) SHA1(fc853eca052fe13babde5f4579e202321ecb8f7e) )
2110ROM_START( sc1pwrla ) // or something else?
2111   ROM_REGION( 0x10000, "maincpu", 0 )
2112   ROM_LOAD( "95000015.bin", 0x0000, 0x008000, CRC(c46911ca) SHA1(a270d0708574a549b88f13f9cde1d7dcdfc624a9) )
2113   ROM_LOAD( "95000014.bin", 0x0000, 0x008000, CRC(cad7c87b) SHA1(052324bbad28b67d23a018d61a03783dd4dfd9cf) )
19442114
2115   sc1_pwrl_sound
19452116ROM_END
19462117
19472118
r14675r14676
19492120
19502121ROM_START( sc1quat )
19512122   ROM_REGION( 0x10000, "maincpu", 0 )
1952   ROM_LOAD( "quatro.bin", 0x0000, 0x010000, CRC(c264c520) SHA1(469e0b394061ae4dcf9b0a2c66c6b85404113f5f) )
2123   ROM_LOAD( "quatro.bin", 0x00000, 0x10000, CRC(c264c520) SHA1(469e0b394061ae4dcf9b0a2c66c6b85404113f5f) )
19532124ROM_END
19542125
19552126
r14675r14676
19572128
19582129ROM_START( sc1rain )
19592130   ROM_REGION( 0x10000, "maincpu", 0 )
1960   ROM_LOAD( "rainbow1.bin", 0x8000, 0x008000, CRC(cdc20fc9) SHA1(306f9877c59b4cfb0653e1f453ef188c93b7b4d3) )
1961   ROM_LOAD( "rainbow2.bin", 0x0000, 0x008000, CRC(1adf16b0) SHA1(90d0935ec3a0803e1f7fcf8be24cce36f3a53962) )
2131   ROM_LOAD( "rainbow1.bin", 0x8000, 0x8000, CRC(cdc20fc9) SHA1(306f9877c59b4cfb0653e1f453ef188c93b7b4d3) )
2132   ROM_LOAD( "rainbow2.bin", 0x0000, 0x8000, CRC(1adf16b0) SHA1(90d0935ec3a0803e1f7fcf8be24cce36f3a53962) )
19622133ROM_END
19632134
19642135
r14675r14676
19662137
19672138ROM_START( sc1re )
19682139   ROM_REGION( 0x10000, "maincpu", 0 )
1969   ROM_LOAD( "reelcashd.bin", 0x0000, 0x010000, CRC(2519c32f) SHA1(b371dbddad617a6d749e1b784cba11758e3b37b8) )
2140   ROM_LOAD( "reelcashd.bin", 0x00000, 0x10000, CRC(2519c32f) SHA1(b371dbddad617a6d749e1b784cba11758e3b37b8) )
19702141ROM_END
19712142
19722143
r14675r14676
19742145
19752146ROM_START( sc1rese )
19762147   ROM_REGION( 0x10000, "maincpu", 0 )
1977   ROM_LOAD( "reelcashse.bin", 0x0000, 0x010000, CRC(db24d5aa) SHA1(3e673b3652899d2e7e65554ffdfaca67cf3b02bf) )
2148   ROM_LOAD( "reelcashse.bin", 0x00000, 0x10000, CRC(db24d5aa) SHA1(3e673b3652899d2e7e65554ffdfaca67cf3b02bf) )
19782149ROM_END
19792150
19802151
r14675r14676
19822153
19832154ROM_START( sc1revo )
19842155   ROM_REGION( 0x10000, "maincpu", 0 )
1985   ROM_LOAD( "revolution.bin", 0x8000, 0x008000, CRC(d477e4ab) SHA1(01614f9009f1736d1f1c5f2ddea48cf92fd66b0e) )
2156   ROM_LOAD( "revolution.bin", 0x8000, 0x8000, CRC(d477e4ab) SHA1(01614f9009f1736d1f1c5f2ddea48cf92fd66b0e) )
19862157ROM_END
19872158
19882159
r14675r14676
19912162
19922163ROM_START( sc1rose )
19932164   ROM_REGION( 0x10000, "maincpu", 0 )
1994   ROM_LOAD( "rosecrow.802", 0x0000, 0x010000, CRC(b4cb3517) SHA1(d19e0cc8da5da7d1bcde174cf68cf7d9230cd53d) )
2165   ROM_LOAD( "rosecrow.802", 0x00000, 0x10000, CRC(b4cb3517) SHA1(d19e0cc8da5da7d1bcde174cf68cf7d9230cd53d) )
19952166ROM_END
19962167
19972168
19982169
19992170ROM_START( sc1sant )
20002171   ROM_REGION( 0x10000, "maincpu", 0 )
2001   ROM_LOAD( "santana.bin", 0x0000, 0x010000, CRC(debd19fc) SHA1(e4394c014c5db621647dd54aa7d434705431750c) )
2172   ROM_LOAD( "santana.bin", 0x00000, 0x10000, CRC(debd19fc) SHA1(e4394c014c5db621647dd54aa7d434705431750c) )
20022173ROM_END
20032174
20042175
r14675r14676
20062177
20072178ROM_START( sc1sat )
20082179   ROM_REGION( 0x10000, "maincpu", 0 )
2009   ROM_LOAD( "sat.bin", 0x8000, 0x008000, CRC(5e1843db) SHA1(14cef347b5409ded4e52ae60fc4990dc79bfbae3) )
2180   ROM_LOAD( "sat.bin", 0x8000, 0x8000, CRC(5e1843db) SHA1(14cef347b5409ded4e52ae60fc4990dc79bfbae3) )
20102181ROM_END
20112182
20122183
r14675r14676
20142185
20152186ROM_START( sc1shan )
20162187   ROM_REGION( 0x10000, "maincpu", 0 )
2017   ROM_LOAD( "sha626a.dat", 0x8000, 0x008000, CRC(ea770c35) SHA1(247cec799c439d11d739a7a6f2d1c0cdc7b61e18) )
2018   ROM_LOAD( "sha626b.dat", 0x0000, 0x008000, CRC(1df2ca25) SHA1(c960a5e536a3fe1c868ae7f0f9983e7f77f61a2a) )
2188   ROM_LOAD( "sha626b.dat", 0x0000, 0x8000, CRC(1df2ca25) SHA1(c960a5e536a3fe1c868ae7f0f9983e7f77f61a2a) )
2189   ROM_LOAD( "sha626a.dat", 0x8000, 0x8000, CRC(ea770c35) SHA1(247cec799c439d11d739a7a6f2d1c0cdc7b61e18) )
20192190ROM_END
20202191
20212192
r14675r14676
20242195
20252196ROM_START( sc1spct )
20262197   ROM_REGION( 0x10000, "maincpu", 0 )
2198   ROM_LOAD( "spectre_2.bin", 0x0000, 0x008000, CRC(7edc2788) SHA1(8336166151a89f9df5735e969d376375059b0024) )
20272199   ROM_LOAD( "spectre_1.bin", 0x8000, 0x008000, CRC(2dadb250) SHA1(d648678864e482bedd27008b50c3bfe50553f0c2) )
2028   ROM_LOAD( "spectre_2.bin", 0x0000, 0x008000, CRC(7edc2788) SHA1(8336166151a89f9df5735e969d376375059b0024) )
20292200
2030   ROM_REGION( 0x10000, "altrevs", 0 )
2201   ROM_REGION( 0x20000, "upd", 0 )
2202   ROM_LOAD( "spectre_snd_1.bin", 0x000000, 0x010000, CRC(ecdf085b) SHA1(117c63f7672112308bfe64527148ee66f8c26c12) )
2203   ROM_LOAD( "spectre_snd_2.bin", 0x010000, 0x010000, CRC(55087557) SHA1(a3f2613a27defa547f8c2e46ee0cdf9ee18678be) )
2204ROM_END
2205
2206ROM_START( sc1spcta )
2207   ROM_REGION( 0x10000, "maincpu", 0 )
20312208   ROM_LOAD( "spec5pa", 0x0000, 0x010000, CRC(65fa549c) SHA1(68fd5a11eb89088f87a727e9c3bb621a4235adf4) )
20322209
20332210   ROM_REGION( 0x20000, "upd", 0 )
r14675r14676
20352212   ROM_LOAD( "spectre_snd_2.bin", 0x010000, 0x010000, CRC(55087557) SHA1(a3f2613a27defa547f8c2e46ee0cdf9ee18678be) )
20362213ROM_END
20372214
2038
2039
20402215ROM_START( sc1spit )
20412216   ROM_REGION( 0x10000, "maincpu", 0 )
20422217   ROM_LOAD( "spitfire.bin", 0x0000, 0x010000, CRC(557cdd61) SHA1(1c4a6c969569267e61119b2cd9e506d948c35517) )
r14675r14676
20532228
20542229ROM_START( sc1str4 )
20552230   ROM_REGION( 0x10000, "maincpu", 0 )
2056   ROM_LOAD( "strike4.ts", 0x8000, 0x008000, CRC(c636f698) SHA1(7373ad663966e51dd1a0737a447bd61e07cd16e2) )
2231   ROM_LOAD( "strike4.ts", 0x8000, 0x8000, CRC(c636f698) SHA1(7373ad663966e51dd1a0737a447bd61e07cd16e2) )
20572232ROM_END
20582233
20592234ROM_START( sc1str4a )
20602235   ROM_REGION( 0x10000, "maincpu", 0 )
2061   ROM_LOAD( "strike4.bin", 0x8000, 0x008000, CRC(1abcfb49) SHA1(f13891a38e260a72ffe841862ed73532c94f6c44) )
2236   ROM_LOAD( "strike4.bin", 0x8000, 0x8000, CRC(1abcfb49) SHA1(f13891a38e260a72ffe841862ed73532c94f6c44) )
20622237ROM_END
20632238
20642239ROM_START( sc1sir )
20652240   ROM_REGION( 0x10000, "maincpu", 0 )
2066   ROM_LOAD( "s.i.rich 2p 2.40 p1 9.3.90 0b49.bin", 0x8000, 0x008000, CRC(c54703f8) SHA1(9ac3af9021cf5012562b0ab057a30e11e01eef65) )
2067   ROM_LOAD( "s.i.rich 2p 2.40 p2 9.3.90 1a96.bin", 0x0000, 0x008000, CRC(618841ca) SHA1(2e690ca91da0a1ff36245a6f1e2ad681a6ed4f32) )
2241   ROM_LOAD( "s.i.rich 2p 2.40 p2 9.3.90 1a96.bin", 0x0000, 0x8000, CRC(618841ca) SHA1(2e690ca91da0a1ff36245a6f1e2ad681a6ed4f32) )
2242   ROM_LOAD( "s.i.rich 2p 2.40 p1 9.3.90 0b49.bin", 0x8000, 0x8000, CRC(c54703f8) SHA1(9ac3af9021cf5012562b0ab057a30e11e01eef65) )
20682243
20692244   ROM_REGION( 0x40000, "altrevs", 0 )
2070   ROM_LOAD( "95717077 proto.bin", 0x0000, 0x008000, CRC(38691d92) SHA1(17f33f74d221ac37249a04846670a1a1c0ee618e) )
2071   ROM_LOAD( "95717078 proto.bin", 0x0000, 0x008000, CRC(7a83b794) SHA1(8befa43c7afa37a296b309730d5cdfd32dfc363d) )
20722245   ROM_LOAD( "rich2_1.rom", 0x0000, 0x008000, CRC(ee75ebcb) SHA1(968b8a0bff9779681b16456f9399b0d122b1796c) )
2073   ROM_LOAD( "s.i.rich 5p 2.40 p1 9.3.90.bin", 0x0000, 0x008000, CRC(6a37f38d) SHA1(1e7640446ecb6e00d57a92ab3592c389a172f257) )
2074   ROM_LOAD( "s.i.rich 5p 2.40 p2 9.3.90.bin", 0x0000, 0x008000, CRC(cd3df765) SHA1(798d051afbba5a474b1b619621e4425f5ff7f8db) )
2075   ROM_LOAD( "strike it rich a.bin", 0x0000, 0x008000, CRC(92ddbbca) SHA1(d888e663d0965d99dbfa68e3aed995e31411f2ba) )
2076   ROM_LOAD( "strike it rich b.bin", 0x8000, 0x008000, CRC(bdafc4c9) SHA1(5ffc46088818f0e89eb840e039296945905ca4f3) )
2246ROM_END
20772247
2248ROM_START( sc1sira )
2249   ROM_REGION( 0x10000, "maincpu", 0 )
2250   ROM_LOAD( "95717078 proto.bin", 0x0000, 0x8000, CRC(7a83b794) SHA1(8befa43c7afa37a296b309730d5cdfd32dfc363d) )
2251   ROM_LOAD( "95717077 proto.bin", 0x8000, 0x8000, CRC(38691d92) SHA1(17f33f74d221ac37249a04846670a1a1c0ee618e) )
20782252ROM_END
20792253
2254ROM_START( sc1sirb )
2255   ROM_REGION( 0x10000, "maincpu", 0 )
2256   ROM_LOAD( "s.i.rich 5p 2.40 p2 9.3.90.bin", 0x0000, 0x8000, CRC(cd3df765) SHA1(798d051afbba5a474b1b619621e4425f5ff7f8db) )
2257   ROM_LOAD( "s.i.rich 5p 2.40 p1 9.3.90.bin", 0x8000, 0x8000, CRC(6a37f38d) SHA1(1e7640446ecb6e00d57a92ab3592c389a172f257) )
2258ROM_END
20802259
2260ROM_START( sc1sirc )
2261   ROM_REGION( 0x10000, "maincpu", 0 )
2262   ROM_LOAD( "strike it rich a.bin", 0x0000, 0x008000, CRC(92ddbbca) SHA1(d888e663d0965d99dbfa68e3aed995e31411f2ba) )//right way round?
2263   ROM_LOAD( "strike it rich b.bin", 0x8000, 0x008000, CRC(bdafc4c9) SHA1(5ffc46088818f0e89eb840e039296945905ca4f3) )
2264ROM_END
20812265
2266
20822267ROM_START( sc1sups )
20832268   ROM_REGION( 0x10000, "maincpu", 0 )
20842269   ROM_LOAD( "superstar_prg.bin", 0x0000, 0x010000, CRC(e859e20a) SHA1(b72ace14ceb0e601c8284a1b654a3e49368644b9) )
r14675r14676
20922277
20932278ROM_START( sc1torn )
20942279   ROM_REGION( 0x10000, "maincpu", 0 )
2095   ROM_LOAD( "tor930a", 0x8000, 0x008000, CRC(c645212d) SHA1(0cb0a6f15b22e3174a1600fe15a742d5f63d9ab2) )
2096   ROM_LOAD( "tor930b", 0x0000, 0x008000, CRC(f6181dd5) SHA1(44b12e6f66bf45e2b2a91424941b10ea5e75428f) )
2280   ROM_LOAD( "tor930b", 0x0000, 0x8000, CRC(f6181dd5) SHA1(44b12e6f66bf45e2b2a91424941b10ea5e75428f) )
2281   ROM_LOAD( "tor930a", 0x8000, 0x8000, CRC(c645212d) SHA1(0cb0a6f15b22e3174a1600fe15a742d5f63d9ab2) )
20972282
2098   ROM_REGION( 0x40000, "altrevs", 0 )
2283   ROM_REGION( 0x40000, "upd", 0 )
2284   ROM_LOAD( "torsnd1.bin", 0x0000, 0x010000, CRC(713ae672) SHA1(a6038004da7a4907eb413b5f39a00d7e131a2382) )
2285   ROM_LOAD( "torsnd2.bin", 0x010000, 0x010000, CRC(187f0c17) SHA1(acc8cffc91f8a92257bfd87ee8dc809139dc5301) )
2286ROM_END
2287
2288ROM_START( sc1torna )
2289   ROM_REGION( 0x10000, "maincpu", 0 )
20992290   ROM_LOAD( "tornado.792", 0x0000, 0x010000, CRC(7e8e8ad1) SHA1(0e093b81f4ab3d202f89215b26b360aac7f32218) )
21002291
21012292   ROM_REGION( 0x40000, "upd", 0 )
r14675r14676
21042295ROM_END
21052296
21062297
2107
21082298ROM_START( sc1tri )
21092299   ROM_REGION( 0x10000, "maincpu", 0 )
2110   ROM_LOAD( "20p a.bin", 0x8000, 0x008000, CRC(d162ebd5) SHA1(cfab100ab8cc34b61108fc7b8a3ec1f1b22f90ba) )
2111   ROM_LOAD( "20p b.bin", 0x0000, 0x008000, CRC(ef5bc525) SHA1(2881b9292f9dd7376997992941e07d288640703b) )
2300   ROM_LOAD( "20p b.bin", 0x0000, 0x8000, CRC(ef5bc525) SHA1(2881b9292f9dd7376997992941e07d288640703b) )
2301   ROM_LOAD( "20p a.bin", 0x8000, 0x8000, CRC(d162ebd5) SHA1(cfab100ab8cc34b61108fc7b8a3ec1f1b22f90ba) )
2302ROM_END
21122303
2113   ROM_REGION( 0x40000, "altrevs", 0 )
2114   ROM_LOAD( "957172.41 std var% a.bin", 0x0000, 0x008000, CRC(b314f739) SHA1(793c01f292c5144a1f5975b276b4985c565a2833) )
2115   ROM_LOAD( "957172.42 std var% b.bin", 0x0000, 0x008000, CRC(d8d70cac) SHA1(8137ab06912bc27f26bcbb800a09b095ba2175bb) )
2116   ROM_LOAD( "957182.41 proto var% a.bin", 0x0000, 0x008000, CRC(1af55594) SHA1(9e65c7bbb37d75662e4243fc6ba13f249183e2a3) )
2117   ROM_LOAD( "957272.41 std a.bin", 0x0000, 0x008000, CRC(635ded7e) SHA1(3e8bda8c2fa6fc8e46ba3e3a70dfb183fad3223b) )
2118   ROM_LOAD( "957272.42 std b.bin", 0x0000, 0x008000, CRC(634b1927) SHA1(60f2bf02a12021da3c7995122dff85ce7831ed42) )
2119   ROM_LOAD( "957282.41 proto std a.bin", 0x0000, 0x008000, CRC(e5999ec8) SHA1(0a11544da03fc2197dc2cc6780cbaeee55372069) )
2304ROM_START( sc1tria )
2305   ROM_REGION( 0x10000, "maincpu", 0 )
2306   ROM_LOAD( "957172.42 std var% b.bin", 0x0000, 0x8000, CRC(d8d70cac) SHA1(8137ab06912bc27f26bcbb800a09b095ba2175bb) )
2307   ROM_LOAD( "957172.41 std var% a.bin", 0x8000, 0x8000, CRC(b314f739) SHA1(793c01f292c5144a1f5975b276b4985c565a2833) )
21202308ROM_END
21212309
2310ROM_START( sc1triap )
2311   ROM_REGION( 0x10000, "maincpu", 0 )
2312   ROM_LOAD( "957172.42 std var% b.bin", 0x0000, 0x8000, CRC(d8d70cac) SHA1(8137ab06912bc27f26bcbb800a09b095ba2175bb) )
2313   ROM_LOAD( "957182.41 proto var% a.bin", 0x8000, 0x8000, CRC(1af55594) SHA1(9e65c7bbb37d75662e4243fc6ba13f249183e2a3) )
2314ROM_END
21222315
2316ROM_START( sc1trib )
2317   ROM_REGION( 0x10000, "maincpu", 0 )
2318   ROM_LOAD( "957272.42 std b.bin", 0x0000, 0x8000, CRC(634b1927) SHA1(60f2bf02a12021da3c7995122dff85ce7831ed42) )
2319   ROM_LOAD( "957272.41 std a.bin", 0x8000, 0x8000, CRC(635ded7e) SHA1(3e8bda8c2fa6fc8e46ba3e3a70dfb183fad3223b) )
2320ROM_END
21232321
2322ROM_START( sc1tribp )
2323   ROM_REGION( 0x10000, "maincpu", 0 )
2324   ROM_LOAD( "957272.42 std b.bin", 0x0000, 0x8000, CRC(634b1927) SHA1(60f2bf02a12021da3c7995122dff85ce7831ed42) )
2325   ROM_LOAD( "957282.41 proto std a.bin", 0x8000, 0x8000, CRC(e5999ec8) SHA1(0a11544da03fc2197dc2cc6780cbaeee55372069) )
2326ROM_END
2327
21242328ROM_START( sc1typ )
21252329   ROM_REGION( 0x10000, "maincpu", 0 )
2126   ROM_LOAD( "club-typhoon_std_ac_rot_ass.bin", 0x8000, 0x008000, CRC(5d6819b2) SHA1(14cc0b3b5f42f4ff92ff96629737b9e75bb0ea10) )
2127   ROM_LOAD( "club-typhoon_std_ac_rot_bss.bin", 0x0000, 0x008000, CRC(0f3e160d) SHA1(3be936fe288b23e2f35be7d5638894776d676c11) )
2330   ROM_LOAD( "club-typhoon_std_ac_rot_bss.bin", 0x0000, 0x8000, CRC(0f3e160d) SHA1(3be936fe288b23e2f35be7d5638894776d676c11) )
2331   ROM_LOAD( "club-typhoon_std_ac_rot_ass.bin", 0x8000, 0x8000, CRC(5d6819b2) SHA1(14cc0b3b5f42f4ff92ff96629737b9e75bb0ea10) )
21282332
2129   ROM_REGION( 0x40000, "altrevs", 0 )
2130   ROM_LOAD( "club-typhoon_dat_ac_rot_ass.bin", 0x0000, 0x008000, CRC(3a67d55e) SHA1(ce75e5c07795b3c67f234a869efb78fbf22b76c2) )
2131   ROM_LOAD( "club-typhoon_dat_ac_rot_bss.bin", 0x0000, 0x008000, CRC(0f3e160d) SHA1(3be936fe288b23e2f35be7d5638894776d676c11) )
2132
2133   ROM_REGION( 0x40000, "xxxx", 0 )
2333   ROM_REGION( 0x40000, "xxxx", 0 )//Don't decode as Intel Hex, what are they?
21342334   ROM_LOAD( "club-typhoon_snd_a_(inhex)ss.hex", 0x0000, 0x026efc, CRC(c913008a) SHA1(9b75a40670db0fbe8a0f6fc54784d3b415a975f5) )
21352335   ROM_LOAD( "club-typhoon_snd_b_(inhex)ss.hex", 0x0000, 0x023972, CRC(2106a5f1) SHA1(17e0f24c4e9a8ba227c5a6ec63bcba3d8796f7f7) )
21362336
21372337   ROM_REGION( 0x20000, "upd", 0 )
2138   ROM_LOAD( "club-typhoon_snd_a.bin", 0x000000, 0x010000, CRC(ffec0dde) SHA1(a8c66a6ebb4d805e04d7eb7d1fe2ecd90e7eee54) )
2139   ROM_LOAD( "club-typhoon_snd_b.bin", 0x010000, 0x010000, CRC(52e36599) SHA1(4bc003a08e666f9e1abfe00e82bb43a33009b6f2) )
2338   ROM_LOAD( "club-typhoon_snd_a.bin", 0x00000, 0x10000, CRC(ffec0dde) SHA1(a8c66a6ebb4d805e04d7eb7d1fe2ecd90e7eee54) )
2339   ROM_LOAD( "club-typhoon_snd_b.bin", 0x10000, 0x10000, CRC(52e36599) SHA1(4bc003a08e666f9e1abfe00e82bb43a33009b6f2) )
21402340ROM_END
21412341
2342ROM_START( sc1typp )
2343   ROM_REGION( 0x10000, "maincpu", 0 )
2344   ROM_LOAD( "club-typhoon_dat_ac_rot_bss.bin", 0x0000, 0x8000, CRC(0f3e160d) SHA1(3be936fe288b23e2f35be7d5638894776d676c11) )
2345   ROM_LOAD( "club-typhoon_dat_ac_rot_ass.bin", 0x8000, 0x8000, CRC(3a67d55e) SHA1(ce75e5c07795b3c67f234a869efb78fbf22b76c2) )
21422346
2347   ROM_REGION( 0x20000, "upd", 0 )
2348   ROM_LOAD( "club-typhoon_snd_a.bin", 0x00000, 0x10000, CRC(ffec0dde) SHA1(a8c66a6ebb4d805e04d7eb7d1fe2ecd90e7eee54) )
2349   ROM_LOAD( "club-typhoon_snd_b.bin", 0x10000, 0x10000, CRC(52e36599) SHA1(4bc003a08e666f9e1abfe00e82bb43a33009b6f2) )
21432350
2351ROM_END
2352
21442353ROM_START( sc1ult )
21452354   ROM_REGION( 0x10000, "maincpu", 0 )
2146   ROM_LOAD( "ultimate.bin", 0x0000, 0x010000, CRC(66c34ef8) SHA1(2c7e2e826f6bd7a31cb3432dc74ebe382c131225) )
2355   ROM_LOAD( "ultimate.bin", 0x00000, 0x010000, CRC(66c34ef8) SHA1(2c7e2e826f6bd7a31cb3432dc74ebe382c131225) )
21472356
21482357   ROM_REGION( 0x20000, "upd", 0 )
2149   ROM_LOAD( "ult1.bin", 0x0000, 0x010000, CRC(7c2f52ed) SHA1(d435402459efc9311707ac691992874b56cbbeec) )
2150   ROM_LOAD( "ult2.bin", 0x0000, 0x010000, CRC(23b99731) SHA1(7cc1c51d9b72480d8a1020fc3621a05ba83d7629) )
2358   ROM_LOAD( "ult1.bin", 0x00000, 0x10000, CRC(7c2f52ed) SHA1(d435402459efc9311707ac691992874b56cbbeec) )
2359   ROM_LOAD( "ult2.bin", 0x00000, 0x10000, CRC(23b99731) SHA1(7cc1c51d9b72480d8a1020fc3621a05ba83d7629) )
21512360ROM_END
21522361
21532362
21542363
21552364ROM_START( sc1vent )
21562365   ROM_REGION( 0x10000, "maincpu", 0 )
2157   ROM_LOAD( "ventura1.bin", 0x8000, 0x008000, CRC(7c05f39e) SHA1(84793abbffbc345bf08873ddd3185bffd8fc95df) )
2158   ROM_LOAD( "ventura2.bin", 0x0000, 0x008000, CRC(3c396285) SHA1(a9cb8b54ace1d228a0d365909836bc2b02db1931) )
2366   ROM_LOAD( "ventura2.bin", 0x0000, 0x8000, CRC(3c396285) SHA1(a9cb8b54ace1d228a0d365909836bc2b02db1931) )
2367   ROM_LOAD( "ventura1.bin", 0x8000, 0x8000, CRC(7c05f39e) SHA1(84793abbffbc345bf08873ddd3185bffd8fc95df) )
21592368ROM_END
21602369
21612370
21622371
21632372ROM_START( sc1vict )
21642373   ROM_REGION( 0x10000, "maincpu", 0 )
2165   ROM_LOAD( "vic1.bin", 0x8000, 0x008000, CRC(2cfbdc26) SHA1(45e492f4cba1cb90e0670fbe8f4fcd0440414316) )
2166   ROM_LOAD( "vic2.bin", 0x0000, 0x008000, CRC(9eab3510) SHA1(29ba3445c75a0dcdf325312fbc64e8911ba958c3) )
2374   ROM_LOAD( "vic2.bin", 0x0000, 0x8000, CRC(9eab3510) SHA1(29ba3445c75a0dcdf325312fbc64e8911ba958c3) )
2375   ROM_LOAD( "vic1.bin", 0x8000, 0x8000, CRC(2cfbdc26) SHA1(45e492f4cba1cb90e0670fbe8f4fcd0440414316) )
21672376
21682377   ROM_REGION( 0x10000, "xxx", 0 )
21692378   ROM_LOAD( "pal.bin", 0x0000, 0x000010, CRC(d33fb7d2) SHA1(6de1a205808bccb9bc86f630c0eda261041a3b00) )
r14675r14676
21742383
21752384ROM_START( sc1voy )
21762385   ROM_REGION( 0x10000, "maincpu", 0 )
2177   ROM_LOAD( "voyager_042_arcade.bin", 0x0000, 0x010000, CRC(7db87ef9) SHA1(e2160457a862d6eba3d8348866429043df0ed2bb) )
2386   ROM_LOAD( "voyager_042_arcade.bin", 0x00000, 0x10000, CRC(7db87ef9) SHA1(e2160457a862d6eba3d8348866429043df0ed2bb) )
21782387ROM_END
21792388
21802389ROM_START( sc1voya )
21812390   ROM_REGION( 0x10000, "maincpu", 0 )
2182   ROM_LOAD( "voyager_052_single_site_euro.bin", 0x0000, 0x010000, CRC(a9042f9e) SHA1(0469ef2d2a2f9c7c4147ee8d528ec369bf943103) )
2391   ROM_LOAD( "voyager_052_single_site_euro.bin", 0x00000, 0x10000, CRC(a9042f9e) SHA1(0469ef2d2a2f9c7c4147ee8d528ec369bf943103) )
21832392ROM_END
21842393
21852394
21862395
21872396ROM_START( sc1winfl )
21882397   ROM_REGION( 0x10000, "maincpu", 0 )
2189   ROM_LOAD( "winfalls_a.bin", 0x0000, 0x008000, CRC(4617ec80) SHA1(8ac5a47d2ae94c2869cc6645f01cfe9d880b1e5c) )
2190   ROM_LOAD( "winfalls_b.bin", 0x8000, 0x008000, CRC(7498ede7) SHA1(5fb66c39865ea963fb7eeb9d4813cfa5e68f709e) )
2398   ROM_LOAD( "winfalls_a.bin", 0x0000, 0x8000, CRC(4617ec80) SHA1(8ac5a47d2ae94c2869cc6645f01cfe9d880b1e5c) )
2399   ROM_LOAD( "winfalls_b.bin", 0x8000, 0x8000, CRC(7498ede7) SHA1(5fb66c39865ea963fb7eeb9d4813cfa5e68f709e) )
21912400ROM_END
21922401
21932402
21942403
2195
21962404ROM_START( sc1winst )
21972405   ROM_REGION( 0x10000, "maincpu", 0 )
2198   ROM_LOAD( "95717110 proto var% b.bin", 0x0000, 0x008000, CRC(1c2ebd26) SHA1(462baa4df7c01d101798df1d90bb5719cdc9647e) )
2199   ROM_LOAD( "95718109 proto var% a.bin", 0x8000, 0x008000, CRC(05d5ad4a) SHA1(5e165499601978e88159726f83310576216853c4) )
2406   ROM_LOAD( "95717110 var% b.bin", 0x0000, 0x8000, CRC(1c2ebd26) SHA1(462baa4df7c01d101798df1d90bb5719cdc9647e) )
2407   ROM_LOAD( "95717109 var% a.bin", 0x8000, 0x8000, CRC(f8b03a06) SHA1(b919366b432d23fd9f0c986e112650048621d7b2) )
22002408
2201   ROM_REGION( 0x10000, "altrevs", 0 ) // are some of these different hw?
2202   ROM_LOAD( "95717109 var% a.bin", 0x0000, 0x008000, CRC(f8b03a06) SHA1(b919366b432d23fd9f0c986e112650048621d7b2) )
2203   ROM_LOAD( "95717110 var% b.bin", 0x0000, 0x008000, CRC(1c2ebd26) SHA1(462baa4df7c01d101798df1d90bb5719cdc9647e) )
2204   ROM_LOAD( "95719109a ws 78%.bin", 0x0000, 0x008000, CRC(cea7ff32) SHA1(ce20742bcad1eea450affab81822cfdaaf927984) )
2205   ROM_LOAD( "95719110b ws 78%.bin", 0x0000, 0x008000, CRC(5871aad0) SHA1(6677c94b74a2e2dcece3fdcd730fbc8034833a7d) )
2206   ROM_LOAD( "winning-streak_dat_ac_var_8-10pnd_ass.bin", 0x0000, 0x010000, CRC(351560f4) SHA1(b33c6bdeadeabbe5a4231b8bd5b134f9ea402133) )
2207   ROM_LOAD( "winning-streak_dat_ar_var_8pnd_ass.bin", 0x0000, 0x010000, CRC(a83633ef) SHA1(66caadd3127a424249fe78918ff99be833b81fad) )
2409   sc1_winst_sound
2410ROM_END
2411
2412   
2413ROM_START( sc1winstp )
2414   ROM_REGION( 0x10000, "maincpu", 0 )
2415   ROM_LOAD( "95717110 var% b.bin", 0x0000, 0x8000, CRC(1c2ebd26) SHA1(462baa4df7c01d101798df1d90bb5719cdc9647e) )
2416   ROM_LOAD( "95718109 proto var% a.bin", 0x8000, 0x8000, CRC(05d5ad4a) SHA1(5e165499601978e88159726f83310576216853c4) )
2417
2418   sc1_winst_sound
2419ROM_END
2420
2421ROM_START( sc1winsta )
2422   ROM_REGION( 0x10000, "maincpu", 0 )
2423   ROM_LOAD( "95719110b ws 78%.bin", 0x0000, 0x8000, CRC(5871aad0) SHA1(6677c94b74a2e2dcece3fdcd730fbc8034833a7d) )
2424   ROM_LOAD( "95719109a ws 78%.bin", 0x0000, 0x8000, CRC(cea7ff32) SHA1(ce20742bcad1eea450affab81822cfdaaf927984) )
2425
2426   sc1_winst_sound
2427ROM_END
2428
2429//the following may well be different hardware
2430ROM_START( sc1winstb )
2431   ROM_REGION( 0x10000, "maincpu", 0 )
2432   ROM_LOAD( "winning-streak_std_ac_var_8-10pnd_ass.bin", 0x00000, 0x10000, CRC(f2d16bd5) SHA1(bd6a9da9da24459b14917386c64ecbc46c8adfda) )
2433
2434   sc1_winst_sound
2435ROM_END
2436
2437ROM_START( sc1winstbp )
2438   ROM_REGION( 0x10000, "maincpu", 0 )
2439   ROM_LOAD( "winning-streak_dat_ac_var_8-10pnd_ass.bin", 0x00000, 0x10000, CRC(351560f4) SHA1(b33c6bdeadeabbe5a4231b8bd5b134f9ea402133) )
2440
2441   sc1_winst_sound
2442ROM_END
2443
2444ROM_START( sc1winstc )
2445   ROM_REGION( 0x10000, "maincpu", 0 )
2446   ROM_LOAD( "winning-streak_std_ar_var_8pnd_ass.bin", 0x00000, 0x10000, CRC(d7a10aeb) SHA1(7346c83df7fd3de57a1b6f0ce498daabacb11491) )
2447
2448   sc1_winst_sound
2449ROM_END
2450
2451ROM_START( sc1winstcp )
2452   ROM_REGION( 0x10000, "maincpu", 0 )
2453   ROM_LOAD( "winning-streak_dat_ar_var_8pnd_ass.bin", 0x00000, 0x10000, CRC(a83633ef) SHA1(66caadd3127a424249fe78918ff99be833b81fad) )
2454
2455   sc1_winst_sound
2456ROM_END
2457
2458ROM_START( sc1winstd )
2459   ROM_REGION( 0x10000, "maincpu", 0 )
2460   ROM_LOAD( "winning-streak_std_ss_var_ass.bin", 0x00000, 0x10000, CRC(c88f9a6e) SHA1(19a2b708f90a53a8dcfe69d2f6c683362867daba) )
2461
2462   sc1_winst_sound
2463ROM_END
2464
2465ROM_START( sc1winstdp )
2466   ROM_REGION( 0x10000, "maincpu", 0 )
22082467   ROM_LOAD( "winning-streak_dat_ss_var_ass.bin", 0x0000, 0x010000, CRC(311550dd) SHA1(17dc789cba542e7c3c137a7e6a2a2d8869c84a7a) )
2209   ROM_LOAD( "winning-streak_dat_wi_ac_10pnd-20p_ass.bin", 0x0000, 0x010000, CRC(ae418733) SHA1(f63c63232056929760742fcf7f8beda387f5c597) )
2210   ROM_LOAD( "winning-streak_dat_wi_ac_10pnd-20p_tri3_ass.bin", 0x0000, 0x010000, CRC(39ac4021) SHA1(bd5f4d8800a794fdca8abee15acc3ea8d30c538a) )
2211   ROM_LOAD( "winning-streak_std_ac_tri3_ass.bin", 0x0000, 0x010000, CRC(b3e2b2d6) SHA1(0008e9d329327b4aecae5d861303c486942ef694) )
2212   ROM_LOAD( "winning-streak_std_ac_var_8-10pnd_ass.bin", 0x0000, 0x010000, CRC(f2d16bd5) SHA1(bd6a9da9da24459b14917386c64ecbc46c8adfda) )
2213   ROM_LOAD( "winning-streak_std_ar_var_8pnd_ass.bin", 0x0000, 0x010000, CRC(d7a10aeb) SHA1(7346c83df7fd3de57a1b6f0ce498daabacb11491) )
2214   ROM_LOAD( "winning-streak_std_ss_var_ass.bin", 0x0000, 0x010000, CRC(c88f9a6e) SHA1(19a2b708f90a53a8dcfe69d2f6c683362867daba) )
2215   ROM_LOAD( "winning-streak_std_wi_ac_10pnd-20p_ass.bin", 0x0000, 0x010000, CRC(ecbb7707) SHA1(ea064149c515e39b17e851bcd39092ea3ae999a0) )
2216   ROM_LOAD( "winning-streak_std_wi_ac_10pnd-20p_tri3_ass.bin", 0x0000, 0x010000, CRC(eb9ee9ae) SHA1(3150aec95039aa65a9126a0326e4dd10829347b2) )
22172468
2218   ROM_REGION( 0x80000, "upd", 0 )
2219   ROM_LOAD( "winningstreaksnd.bin", 0x0000, 0x080000, CRC(ba30cb97) SHA1(e7f5ca36ca993ad14b3a348868e73d7ba02be7c5) )
2469   sc1_winst_sound
22202470ROM_END
22212471
2472ROM_START( sc1winste )
2473   ROM_REGION( 0x10000, "maincpu", 0 )
2474   ROM_LOAD( "winning-streak_std_wi_ac_10pnd-20p_ass.bin", 0x00000, 0x10000, CRC(ecbb7707) SHA1(ea064149c515e39b17e851bcd39092ea3ae999a0) )
22222475
2476   sc1_winst_sound
2477ROM_END
22232478
2479ROM_START( sc1winstep )
2480   ROM_REGION( 0x10000, "maincpu", 0 )
2481   ROM_LOAD( "winning-streak_dat_wi_ac_10pnd-20p_ass.bin", 0x00000, 0x10000, CRC(ae418733) SHA1(f63c63232056929760742fcf7f8beda387f5c597) )
2482
2483   sc1_winst_sound
2484ROM_END
2485
2486ROM_START( sc1winstf )
2487   ROM_REGION( 0x10000, "maincpu", 0 )
2488   ROM_LOAD( "winning-streak_std_wi_ac_10pnd-20p_tri3_ass.bin", 0x00000, 0x10000, CRC(eb9ee9ae) SHA1(3150aec95039aa65a9126a0326e4dd10829347b2) )
2489
2490   sc1_winst_sound
2491ROM_END
2492
2493ROM_START( sc1winstfp )
2494   ROM_REGION( 0x10000, "maincpu", 0 )
2495   ROM_LOAD( "winning-streak_dat_wi_ac_10pnd-20p_tri3_ass.bin", 0x00000, 0x10000, CRC(39ac4021) SHA1(bd5f4d8800a794fdca8abee15acc3ea8d30c538a) )
2496
2497   sc1_winst_sound
2498ROM_END
2499
2500ROM_START( sc1winstg )
2501   ROM_REGION( 0x10000, "maincpu", 0 )
2502   ROM_LOAD( "winning-streak_std_ac_tri3_ass.bin", 0x00000, 0x10000, CRC(b3e2b2d6) SHA1(0008e9d329327b4aecae5d861303c486942ef694) )
2503
2504   sc1_winst_sound
2505ROM_END
2506
2507
22242508ROM_START( sc1zep )
22252509   ROM_REGION( 0x10000, "maincpu", 0 )
2226   ROM_LOAD( "zepp.bin", 0x8000, 0x008000, CRC(fbc38903) SHA1(9eefef9bbde263e35a98e51b7aeb8d2348d36c06) )
2227   ROM_LOAD( "zepp1.bin", 0x0000, 0x008000, CRC(bfbbbc35) SHA1(5c28b6359d79c96d53319408fbc2d7cb2629185d) )
2510   ROM_LOAD( "zepp1.bin", 0x0000, 0x8000, CRC(bfbbbc35) SHA1(5c28b6359d79c96d53319408fbc2d7cb2629185d) )
2511   ROM_LOAD( "zepp.bin", 0x8000, 0x8000, CRC(fbc38903) SHA1(9eefef9bbde263e35a98e51b7aeb8d2348d36c06) )
22282512ROM_END
22292513
22302514ROM_START( sc1wthn )
22312515   ROM_REGION( 0x10000, "maincpu", 0 )
2232   ROM_LOAD( "wildthingprogamm1.bin", 0x0000, 0x010000, CRC(80157a9c) SHA1(ec8e217e17ac7f4c5bc05d9848bf5f37b2d82fac) )
2516   ROM_LOAD( "wildthingprogamm1.bin", 0x00000, 0x010000, CRC(80157a9c) SHA1(ec8e217e17ac7f4c5bc05d9848bf5f37b2d82fac) )
22332517
22342518   ROM_REGION( 0x80000, "upd", 0 )
2235   ROM_LOAD( "wildthingsound1.bin", 0x00000, 0x010000, CRC(85389209) SHA1(029dda285b035525b730b4c72ff182554f5dbe47) )
2236   ROM_LOAD( "wildthingsound2.bin", 0x010000, 0x010000, CRC(664ab695) SHA1(d4148ebffbe41eb1d265548991ad3cb984205497) )
2519   ROM_LOAD( "wildthingsound1.bin", 0x00000, 0x10000, CRC(85389209) SHA1(029dda285b035525b730b4c72ff182554f5dbe47) )
2520   ROM_LOAD( "wildthingsound2.bin", 0x10000, 0x10000, CRC(664ab695) SHA1(d4148ebffbe41eb1d265548991ad3cb984205497) )
22372521ROM_END
22382522
22392523
22402524ROM_START( sc1days )
22412525   ROM_REGION( 0x10000, "maincpu", 0 )
2242   ROM_LOAD( "all2-5n.p2", 0x0000, 0x008000, CRC(fa75d835) SHA1(78e6b48bea8f1297530f08dff6bada4d228e090d) )
2243   ROM_LOAD( "all2-5n.p1", 0x8000, 0x008000, CRC(7d58a415) SHA1(8bd0d23ac825ba0294f2fd26e9acb87eb1f3d10c) )
2526   ROM_LOAD( "all2-5n.p2", 0x0000, 0x8000, CRC(fa75d835) SHA1(78e6b48bea8f1297530f08dff6bada4d228e090d) )
2527   ROM_LOAD( "all2-5n.p1", 0x8000, 0x8000, CRC(7d58a415) SHA1(8bd0d23ac825ba0294f2fd26e9acb87eb1f3d10c) )
22442528
2245   ROM_REGION( 0x20000, "altrevs", 0 )
2246   ROM_LOAD( "allinv1-6b.bin", 0x0000, 0x008000, CRC(59589a00) SHA1(c73b45f383f908d1257f6d031f359f73e5b2f966) )
2247   ROM_LOAD( "allinv1-6a.bin", 0x8000, 0x008000, CRC(36a83181) SHA1(a2cb6493efb00e9bcf76388f65098af9346f855e) )
2529   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 ) // not upd?
2530   /* missing? */
2531ROM_END
22482532
2533ROM_START( sc1daysa )
2534   ROM_REGION( 0x10000, "maincpu", 0 )
2535   ROM_LOAD( "allinv1-6b.bin", 0x0000, 0x8000, CRC(59589a00) SHA1(c73b45f383f908d1257f6d031f359f73e5b2f966) )
2536   ROM_LOAD( "allinv1-6a.bin", 0x8000, 0x8000, CRC(36a83181) SHA1(a2cb6493efb00e9bcf76388f65098af9346f855e) )
2537
22492538   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 ) // not upd?
22502539   /* missing? */
22512540ROM_END
r14675r14676
22532542
22542543ROM_START( sc1cscl )
22552544   ROM_REGION( 0x10000, "maincpu", 0 )
2256   ROM_LOAD( "cldl1-8n.p1", 0x8000, 0x008000, CRC(4cb5239d) SHA1(a0f22440a5453ea28093f32856ab5417a6c82037) )
2257   ROM_LOAD( "cldl1-8n.p2", 0x0000, 0x008000, CRC(8feee244) SHA1(50c7eab298078def5d82bc3bebbe3e08b612bc47) )
2545   ROM_LOAD( "cldl1-8n.p2", 0x0000, 0x8000, CRC(8feee244) SHA1(50c7eab298078def5d82bc3bebbe3e08b612bc47) )
2546   ROM_LOAD( "cldl1-8n.p1", 0x8000, 0x8000, CRC(4cb5239d) SHA1(a0f22440a5453ea28093f32856ab5417a6c82037) )
22582547
2259   ROM_REGION( 0x20000, "altrevs", 0 )
2260   ROM_LOAD( "cash classic 2p sa1-083.bin", 0x0000, 0x010000, CRC(36a45c0d) SHA1(51eb91e42297894ae575502903833e219ac5add9) )
2261   ROM_LOAD( "cash classic sa1-082 5p.bin", 0x0000, 0x010000, CRC(42d68675) SHA1(ed191e03bc7b42ae1884657b4559588eeedbdf31) )
2262   ROM_LOAD( "clas2-0n.p2", 0x0000, 0x008000, CRC(45d40f1e) SHA1(03388a8ea809b088850865cb288af3181d3dd962) )
2263   ROM_LOAD( "clas2-0n.p1", 0x8000, 0x008000, CRC(ebd514b1) SHA1(5267b49de98f8a93ac206f68d56ee12e1d228a7d) )
2264
22652548   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 ) // not upd?
22662549   /* missing? */
22672550ROM_END
22682551
2552ROM_START( sc1cscla )
2553   ROM_REGION( 0x10000, "maincpu", 0 )
2554   ROM_LOAD( "clas2-0n.p2", 0x0000, 0x8000, CRC(45d40f1e) SHA1(03388a8ea809b088850865cb288af3181d3dd962) )
2555   ROM_LOAD( "clas2-0n.p1", 0x8000, 0x8000, CRC(ebd514b1) SHA1(5267b49de98f8a93ac206f68d56ee12e1d228a7d) )
2556
2557   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2558ROM_END
2559
2560//The names of these imply they may be Maygay M1 or MMM sets, need further investigation (they have standard MAYGAY 1990 strings)
2561ROM_START( sc1csclb )
2562   ROM_REGION( 0x10000, "maincpu", 0 )
2563   ROM_LOAD( "cash classic sa1-082 5p.bin", 0x0000, 0x010000, CRC(42d68675) SHA1(ed191e03bc7b42ae1884657b4559588eeedbdf31) )
2564
2565   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2566ROM_END
2567
2568
2569ROM_START( sc1csclc )
2570   ROM_REGION( 0x10000, "maincpu", 0 )
2571   ROM_LOAD( "cash classic 2p sa1-083.bin", 0x0000, 0x010000, CRC(36a45c0d) SHA1(51eb91e42297894ae575502903833e219ac5add9) )
2572
2573   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2574ROM_END
2575
22692576ROM_START( sc1driv )
22702577   ROM_REGION( 0x10000, "maincpu", 0 )
2271   ROM_LOAD( "ddslb1-3.p2", 0x0000, 0x008000, CRC(32896702) SHA1(1ef36daca6bf3f45dfff5edc401bdbd313ad9121) )
2272   ROM_LOAD( "ddslb1-3.p1", 0x8000, 0x008000, CRC(81fc84a7) SHA1(f0d5a181d4ca027df2c5ca11573eb7687b3abf29) )
2578   ROM_LOAD( "ddslb1-3.p2", 0x0000, 0x8000, CRC(32896702) SHA1(1ef36daca6bf3f45dfff5edc401bdbd313ad9121) )
2579   ROM_LOAD( "ddslb1-3.p1", 0x8000, 0x8000, CRC(81fc84a7) SHA1(f0d5a181d4ca027df2c5ca11573eb7687b3abf29) )
22732580
2274   ROM_REGION( 0x20000, "altrevs", 0 )
2275   ROM_LOAD( "ddsnl1-3.p1", 0x0000, 0x008000, CRC(96f8bc52) SHA1(de0d180d4640eef451984f466be8732d0a08cee8) )
2276   ROM_LOAD( "ddsnl1-3.p2", 0x0000, 0x008000, CRC(a5b663c8) SHA1(5b6675874ff4e3a5c74dbd66c4a47c34d36f1222) )
2277   ROM_LOAD( "dslb1-5.p1", 0x0000, 0x008000, CRC(6adaf17b) SHA1(8930daac71fbe3f7eb91358d7101f2b8d05d224e) )
2278   ROM_LOAD( "dslb1-5.p2", 0x0000, 0x008000, CRC(193e6aaa) SHA1(f083747a9cad72690b01181cc46ae7bdc3de6ea6) )
2279   ROM_LOAD( "dsnl1-6.p1", 0x0000, 0x008000, CRC(174c4432) SHA1(82519ede8220d3d717ee0ebe57374357afe38949) )
2280   ROM_LOAD( "dsnl1-6.p2", 0x0000, 0x008000, CRC(0eb10c01) SHA1(16456ec1e32bfbd873bdebd6a760041bc9cd8648) )
2581   sc1_driv_sound
2582ROM_END
22812583
2282   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 ) // not upd?
2283   ROM_LOAD( "ds_snd1.bin", 0x000000, 0x020000, CRC(a9d7e8ec) SHA1(5b1d459d378e23d3108a1190b5988eebedf95667) )
2284   ROM_LOAD( "ds_snd2.bin", 0x020000, 0x020000, CRC(3b67c1b3) SHA1(8b9dbff45955f72a73fb739b5e74aa2f9c23dd08) )
2285   ROM_LOAD( "ds_snd3.bin", 0x040000, 0x020000, CRC(00c252ec) SHA1(5de2e70f142a71f22eeb28a271ca9d7809322faa) )
2584ROM_START( sc1driva )
2585   ROM_REGION( 0x10000, "maincpu", 0 )
2586   ROM_LOAD( "ddsnl1-3.p2", 0x0000, 0x8000, CRC(a5b663c8) SHA1(5b6675874ff4e3a5c74dbd66c4a47c34d36f1222) )
2587   ROM_LOAD( "ddsnl1-3.p1", 0x8000, 0x8000, CRC(96f8bc52) SHA1(de0d180d4640eef451984f466be8732d0a08cee8) )
2588
2589   sc1_driv_sound
22862590ROM_END
22872591
2592ROM_START( sc1drivb )
2593   ROM_REGION( 0x10000, "maincpu", 0 )
2594   ROM_LOAD( "dslb1-5.p2", 0x0000, 0x8000, CRC(193e6aaa) SHA1(f083747a9cad72690b01181cc46ae7bdc3de6ea6) )
2595   ROM_LOAD( "dslb1-5.p1", 0x8000, 0x8000, CRC(6adaf17b) SHA1(8930daac71fbe3f7eb91358d7101f2b8d05d224e) )
2596
2597   sc1_driv_sound
2598ROM_END
2599
2600ROM_START( sc1drivc )
2601   ROM_REGION( 0x10000, "maincpu", 0 )
2602   ROM_LOAD( "dsnl1-6.p2", 0x0000, 0x8000, CRC(0eb10c01) SHA1(16456ec1e32bfbd873bdebd6a760041bc9cd8648) )
2603   ROM_LOAD( "dsnl1-6.p1", 0x8000, 0x8000, CRC(174c4432) SHA1(82519ede8220d3d717ee0ebe57374357afe38949) )
2604   
2605   sc1_driv_sound
2606ROM_END
2607   
22882608ROM_START( sc1vsd )
22892609   ROM_REGION( 0x10000, "maincpu", 0 )
2290   ROM_LOAD( "supd1-4n.p1", 0x8000, 0x008000, CRC(ad581f7d) SHA1(99b9bf1016cd52467f5c9f6e427305e81033e82f) )
2610   ROM_LOAD( "supd1-4n.p1", 0x8000, 0x8000, CRC(ad581f7d) SHA1(99b9bf1016cd52467f5c9f6e427305e81033e82f) )
22912611
22922612   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 ) // not upd?
22932613   /* missing? */
r14675r14676
22962616
22972617ROM_START( sc1moonl )
22982618   ROM_REGION( 0x10000, "maincpu", 0 )
2299   ROM_LOAD( "moon lite 5p 86var v5.1.bin", 0x8000, 0x008000, CRC(31db928a) SHA1(0e07c11bf85a13df62bb704a03a42712d6e7ff62) )
2619   ROM_LOAD( "moon lite 5p 86var v5.1.bin", 0x8000, 0x8000, CRC(31db928a) SHA1(0e07c11bf85a13df62bb704a03a42712d6e7ff62) )
23002620
23012621   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23022622ROM_END
23032623
23042624ROM_START( sc1ltdv )
23052625   ROM_REGION( 0x10000, "maincpu", 0 )
2306   ROM_LOAD( "little devil v4 arcade.bin", 0x8000, 0x008000, CRC(ff32cdcf) SHA1(84bb86e30ace57aa8f591a3778801d44fb3f8fe1) )
2626   ROM_LOAD( "little devil v4 arcade.bin", 0x8000, 0x8000, CRC(ff32cdcf) SHA1(84bb86e30ace57aa8f591a3778801d44fb3f8fe1) )
23072627
23082628   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23092629ROM_END
23102630
23112631ROM_START( sc1t1k )
23122632   ROM_REGION( 0x10000, "maincpu", 0 )
2313   ROM_LOAD( "top1000b.bin", 0x8000, 0x008000, CRC(0124b7c0) SHA1(620196e7580f44423ede6644f76e37091fdf30b6) )
2314   ROM_LOAD( "top1000a.bin", 0x0000, 0x008000, CRC(c986ee8b) SHA1(e5a600942e725d0ad6be10fbac7fb05eb0d2b07f) )
2633   ROM_LOAD( "top1000a.bin", 0x0000, 0x8000, CRC(c986ee8b) SHA1(e5a600942e725d0ad6be10fbac7fb05eb0d2b07f) )
2634   ROM_LOAD( "top1000b.bin", 0x8000, 0x8000, CRC(0124b7c0) SHA1(620196e7580f44423ede6644f76e37091fdf30b6) )
23152635
23162636   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23172637   /* missing? */
r14675r14676
23192639
23202640ROM_START( sc1dip )
23212641   ROM_REGION( 0x10000, "maincpu", 0 )
2322   ROM_LOAD( "dip0111.bin", 0x0000, 0x010000, CRC(19632509) SHA1(69c9947da11892b99e9936675d0b1bdabdc16ae8) )
2642   ROM_LOAD( "dip0111.bin", 0x00000, 0x10000, CRC(19632509) SHA1(69c9947da11892b99e9936675d0b1bdabdc16ae8) )
23232643
23242644   ROM_REGION( 0x200000, "ram", ROMREGION_ERASE00 ) // is this just some default settings?
2325   ROM_LOAD( "ram.bin", 0x0000, 0x002000, CRC(3962d8cf) SHA1(b893a92d467e8f5ffc2cffa8a7121d92fe2492eb) )
2645   ROM_LOAD( "ram.bin", 0x0000, 0x2000, CRC(3962d8cf) SHA1(b893a92d467e8f5ffc2cffa8a7121d92fe2492eb) )
23262646
23272647   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23282648   /* missing? */
r14675r14676
23302650
23312651ROM_START( sc1lamb )
23322652   ROM_REGION( 0x10000, "maincpu", 0 )
2333   ROM_LOAD( "lambada.bin", 0x0000, 0x010000, CRC(4321495c) SHA1(d3ef15d2a1b2c7aec33ac226c89a7a0c0a18884a) )
2653   ROM_LOAD( "lambada.bin", 0x00000, 0x10000, CRC(4321495c) SHA1(d3ef15d2a1b2c7aec33ac226c89a7a0c0a18884a) )
23342654
23352655   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23362656   /* missing? */
r14675r14676
23382658
23392659ROM_START( sc1reply )
23402660   ROM_REGION( 0x10000, "maincpu", 0 )
2341   ROM_LOAD( "repl0110.bin", 0x0000, 0x010000, CRC(b2bfa2fb) SHA1(9c704321428c05f97593ea7541ba1a08ff448571) )
2661   ROM_LOAD( "repl0110.bin", 0x00000, 0x10000, CRC(b2bfa2fb) SHA1(9c704321428c05f97593ea7541ba1a08ff448571) )
23422662
23432663   ROM_REGION( 0x80000, "upd", 0 )
2344   ROM_LOAD( "repl0110snd.bin", 0x0000, 0x010000, CRC(86547dc7) SHA1(4bf64f22e84c0ee82d961b0ba64932b8bf6a521f) )
2664   ROM_LOAD( "repl0110snd.bin", 0x00000, 0x10000, CRC(86547dc7) SHA1(4bf64f22e84c0ee82d961b0ba64932b8bf6a521f) )
23452665ROM_END
23462666
23472667
23482668ROM_START( sc1smoke )
23492669   ROM_REGION( 0x80000, "maincpu", 0 )
2350   ROM_LOAD( "sb6-3_0b.bin", 0x0000, 0x008000, CRC(31647e2f) SHA1(35dd1bef0dd72fd45c063f181cd190f8d21df207) )
2351   ROM_LOAD( "sb6-3_0a.bin", 0x8000, 0x008000, CRC(45ca0067) SHA1(be1947d055320c101ea75c669733b19d2f61a0f9) )
2670   ROM_LOAD( "sb6-3_0b.bin", 0x0000, 0x8000, CRC(31647e2f) SHA1(35dd1bef0dd72fd45c063f181cd190f8d21df207) )
2671   ROM_LOAD( "sb6-3_0a.bin", 0x8000, 0x8000, CRC(45ca0067) SHA1(be1947d055320c101ea75c669733b19d2f61a0f9) )
23522672
23532673   ROM_REGION( 0x80000, "altrevs", 0 )
2354   ROM_LOAD( "sb8-5_0a.bin", 0x0000, 0x008000, CRC(eafe5fac) SHA1(4798a37ada523d078f2e10976c5f90cccab1c406) )
2355   ROM_LOAD( "sb8-5_0b.bin", 0x0000, 0x008000, CRC(0aac6b91) SHA1(85b4dfe15d456b7d808295c890264163bc6115f1) )
23562674   ROM_LOAD( "svb58pa", 0x0000, 0x008000, CRC(4496ce3d) SHA1(400dee4249fd930473cb003d85b25bb991041bc6) )
23572675
23582676   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23592677ROM_END
23602678
2679ROM_START( sc1smokea )
2680   ROM_REGION( 0x80000, "maincpu", 0 )
2681   ROM_LOAD( "sb8-5_0b.bin", 0x0000, 0x8000, CRC(0aac6b91) SHA1(85b4dfe15d456b7d808295c890264163bc6115f1) )
2682   ROM_LOAD( "sb8-5_0a.bin", 0x8000, 0x8000, CRC(eafe5fac) SHA1(4798a37ada523d078f2e10976c5f90cccab1c406) )
2683
2684   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2685ROM_END
2686
23612687ROM_START( sc1ccroc )
23622688   ROM_REGION( 0x80000, "maincpu", 0 )
2363   ROM_LOAD( "cc6-4_0b.bin", 0x0000, 0x008000, CRC(4093cbe6) SHA1(6ea678d0e288bb075d58ef72089ae387d6285477) )
2364   ROM_LOAD( "cc6-4_0a.bin", 0x8000, 0x008000, CRC(c3d963e8) SHA1(35688841e102c264124c23de526417db618ea898) )
2689   ROM_LOAD( "cc6-4_0b.bin", 0x0000, 0x8000, CRC(4093cbe6) SHA1(6ea678d0e288bb075d58ef72089ae387d6285477) )
2690   ROM_LOAD( "cc6-4_0a.bin", 0x8000, 0x8000, CRC(c3d963e8) SHA1(35688841e102c264124c23de526417db618ea898) )
23652691
2366   ROM_REGION( 0x80000, "altrevs", 0 )
2367   ROM_LOAD( "cc8-7_0a.bin", 0x0000, 0x008000, CRC(4a6cd887) SHA1(27f394a63bdb68d35d6eecb6b0f6b3f3f61d36b5) )
2368   ROM_LOAD( "cc8-7_0b.bin", 0x0000, 0x008000, CRC(a638c58a) SHA1(0a5d53a9c0f772263c7a726f90943a1ccfe5db20) )
2369   ROM_LOAD( "cct-8_0a.bin", 0x0000, 0x008000, CRC(a90a5f23) SHA1(befb389cc6ff045462f02c2aa9025d92c47da0fa) )
2370   ROM_LOAD( "cct-8_0b.bin", 0x0000, 0x008000, CRC(1e0e93f3) SHA1(e5ceef529bd406d2b395b6e24cff370422b0e1f2) )
2371   ROM_LOAD( "crocs6a.bin", 0x0000, 0x008000, CRC(087330cb) SHA1(f143a8a44024f0f851a8b677f42b9d4011ab92d4) )
2372   ROM_LOAD( "crocs6b.bin", 0x0000, 0x008000, CRC(42ad6fb0) SHA1(d60961d9993a8458668177013d7561d0b7423cda) )
2692   ROM_REGION( 0x80000, "altrevs", 0 ) //this can't be the right hardware
23732693   ROM_LOAD( "cs1_1.rom", 0x0000, 0x040000, CRC(f4c6f9f1) SHA1(4277ff51dc91c35d4c6e9ab1c16e087ef7e8d140) )
23742694   ROM_LOAD( "cs1_2.rom", 0x0000, 0x040000, CRC(ba4dad49) SHA1(795342d5fd3deaa058a20d491206c028c529fd55) )
23752695
23762696   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23772697ROM_END
23782698
2699ROM_START( sc1ccroca )
2700   ROM_REGION( 0x80000, "maincpu", 0 )
2701   ROM_LOAD( "cc8-7_0b.bin", 0x0000, 0x8000, CRC(a638c58a) SHA1(0a5d53a9c0f772263c7a726f90943a1ccfe5db20) )
2702   ROM_LOAD( "cc8-7_0a.bin", 0x8000, 0x8000, CRC(4a6cd887) SHA1(27f394a63bdb68d35d6eecb6b0f6b3f3f61d36b5) )
2703
2704   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2705ROM_END
2706
2707ROM_START( sc1ccrocb )
2708   ROM_REGION( 0x80000, "maincpu", 0 )
2709   ROM_LOAD( "cct-8_0b.bin", 0x0000, 0x8000, CRC(1e0e93f3) SHA1(e5ceef529bd406d2b395b6e24cff370422b0e1f2) )
2710   ROM_LOAD( "cct-8_0a.bin", 0x8000, 0x8000, CRC(a90a5f23) SHA1(befb389cc6ff045462f02c2aa9025d92c47da0fa) )
2711
2712   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2713ROM_END
2714
2715ROM_START( sc1ccrocc )
2716   ROM_REGION( 0x80000, "maincpu", 0 )
2717   ROM_LOAD( "crocs6b.bin", 0x0000, 0x8000, CRC(42ad6fb0) SHA1(d60961d9993a8458668177013d7561d0b7423cda) )
2718   ROM_LOAD( "crocs6a.bin", 0x8000, 0x8000, CRC(087330cb) SHA1(f143a8a44024f0f851a8b677f42b9d4011ab92d4) )
2719
2720   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2721ROM_END
2722
23792723ROM_START( sc1crocr )
23802724   ROM_REGION( 0x80000, "maincpu", 0 )
2381   ROM_LOAD( "croc58pb", 0x0000, 0x010000, CRC(95d2b0ac) SHA1(369a2f5efc981aa03780b80e0b14d5171c25e72b) ) // 2nd half empty
2382   ROM_LOAD( "croc58pa", 0x8000, 0x010000, CRC(39501e80) SHA1(f03bc602df839374adf7722af295cee562353782) ) // 2nd half empty
2725   ROM_LOAD( "croc58pb", 0x0000, 0x10000, CRC(95d2b0ac) SHA1(369a2f5efc981aa03780b80e0b14d5171c25e72b) ) // 2nd half empty
2726   ROM_LOAD( "croc58pa", 0x8000, 0x10000, CRC(39501e80) SHA1(f03bc602df839374adf7722af295cee562353782) ) // 2nd half empty
23832727
23842728   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23852729ROM_END
23862730
23872731ROM_START( sc1btclk )
23882732   ROM_REGION( 0x80000, "maincpu", 0 )
2389   ROM_LOAD( "bc6-4_0b.bin", 0x0000, 0x008000, CRC(106265c8) SHA1(6465f7e868c5b04776fee69295a52197abb45ad0) )
2390   ROM_LOAD( "bc6-4_0a.bin", 0x8000, 0x008000, CRC(750645e7) SHA1(65eee2a00a1914bb8dc989b131eaa39d2881105d) )
2733   ROM_LOAD( "bc6-4_0b.bin", 0x0000, 0x8000, CRC(106265c8) SHA1(6465f7e868c5b04776fee69295a52197abb45ad0) )
2734   ROM_LOAD( "bc6-4_0a.bin", 0x8000, 0x8000, CRC(750645e7) SHA1(65eee2a00a1914bb8dc989b131eaa39d2881105d) )
23912735
2392   ROM_REGION( 0x80000, "altrevs", 0 )
2393   ROM_LOAD( "bc8-5_0a.bin", 0x0000, 0x008000, CRC(f8fafc49) SHA1(7d8109fdabe37c7e958696512d3c2c35f9890bee) )
2394   ROM_LOAD( "bc8-5_0b.bin", 0x0000, 0x008000, CRC(4be7220f) SHA1(5eb2b3fd05ff06b645f16bf95f6766b8bea82525) )
2395   ROM_LOAD( "btc58pa", 0x0000, 0x010000, CRC(d21e5ed9) SHA1(99c189fde84f5abbdcd85d1f816c61f8fe72554e) )
2396   ROM_LOAD( "btc58pb", 0x0000, 0x010000, CRC(4cfde48a) SHA1(8567667f4af96fd00a807380a65fe809cd051c76) )
2736//   ROM_REGION( 0x80000, "altrevs", 0 )
23972737
23982738   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
23992739ROM_END
24002740
2741ROM_START( sc1btclka )
2742   ROM_REGION( 0x80000, "maincpu", 0 )
2743   ROM_LOAD( "bc8-5_0b.bin", 0x0000, 0x8000, CRC(4be7220f) SHA1(5eb2b3fd05ff06b645f16bf95f6766b8bea82525) )
2744   ROM_LOAD( "bc8-5_0a.bin", 0x8000, 0x8000, CRC(f8fafc49) SHA1(7d8109fdabe37c7e958696512d3c2c35f9890bee) )
24012745
2746   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2747ROM_END
24022748
2749ROM_START( sc1btclkb )
2750   ROM_REGION( 0x80000, "maincpu", 0 )
2751   ROM_LOAD( "btc58pb", 0x0000, 0x10000, CRC(4cfde48a) SHA1(8567667f4af96fd00a807380a65fe809cd051c76) ) // 2nd half empty
2752   ROM_LOAD( "btc58pa", 0x8000, 0x10000, CRC(d21e5ed9) SHA1(99c189fde84f5abbdcd85d1f816c61f8fe72554e) ) // 2nd half empty
24032753
2754   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2755ROM_END
2756
2757
24042758ROM_START( sc1btbc )
24052759   ROM_REGION( 0x10000, "maincpu", 0 )
2406   ROM_LOAD( "beatb34", 0x8000, 0x008000, CRC(0791f889) SHA1(f090b9aacdbb33cc0934f53621e43520b970d789) )
2760   ROM_LOAD( "beatb34", 0x8000, 0x8000, CRC(0791f889) SHA1(f090b9aacdbb33cc0934f53621e43520b970d789) )
24072761   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24082762ROM_END
24092763
24102764
24112765ROM_START( sc1boncl )
24122766   ROM_REGION( 0x10000, "maincpu", 0 )
2413   ROM_LOAD( "cb_v91.bin", 0x8000, 0x008000, CRC(a1b902f4) SHA1(47bff5f0921800052ac99fd7b945ea05fc5951d6) )
2767   ROM_LOAD( "cb_v91.bin", 0x8000, 0x8000, CRC(a1b902f4) SHA1(47bff5f0921800052ac99fd7b945ea05fc5951d6) )
24142768   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24152769ROM_END
24162770
r14675r14676
24182772
24192773ROM_START( sc1clins )
24202774   ROM_REGION( 0x10000, "maincpu", 0 )
2421   ROM_LOAD( "cashlines5p2.40p1 9.3.90.bin", 0x8000, 0x008000, CRC(cb69c335) SHA1(8fe302274d01e98f8636fbc44eb4736180345b16) )
2422   ROM_LOAD( "cashlines5p2.40p2 9.3.90.bin", 0x0000, 0x008000, CRC(068959a2) SHA1(6c212ceb756024662ed880b66b4c6aac21b0c726) )
2775   ROM_LOAD( "cashlines5p2.40p2 9.3.90.bin", 0x0000, 0x8000, CRC(068959a2) SHA1(6c212ceb756024662ed880b66b4c6aac21b0c726) )
2776   ROM_LOAD( "cashlines5p2.40p1 9.3.90.bin", 0x8000, 0x8000, CRC(cb69c335) SHA1(8fe302274d01e98f8636fbc44eb4736180345b16) )
2777
24232778   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24242779ROM_END
24252780
24262781
24272782ROM_START( sc1clinsa )
24282783   ROM_REGION( 0x10000, "maincpu", 0 )
2429   ROM_LOAD( "cashlines2p2.40p1 9.3.90.bin", 0x8000, 0x008000, CRC(4dcdfcd1) SHA1(38b67a2450ededd9cf27b9f5d5fffe45f4e4b80d) )
2430   ROM_LOAD( "cashlines2p2.40p2 9.3.90.bin", 0x0000, 0x008000, CRC(0a4d6692) SHA1(9437a0ed1fb9eb706dede7a6b1670e2bd873d7fe) )
2784   ROM_LOAD( "cashlines2p2.40p2 9.3.90.bin", 0x0000, 0x8000, CRC(0a4d6692) SHA1(9437a0ed1fb9eb706dede7a6b1670e2bd873d7fe) )
2785   ROM_LOAD( "cashlines2p2.40p1 9.3.90.bin", 0x8000, 0x8000, CRC(4dcdfcd1) SHA1(38b67a2450ededd9cf27b9f5d5fffe45f4e4b80d) )
2786
24312787   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24322788ROM_END
24332789
24342790ROM_START( sc1clinsb )
24352791   ROM_REGION( 0x10000, "maincpu", 0 )
2436//  ROM_LOAD( "95718066 proto.bin", 0x0000, 0x008000, CRC(0977e287) SHA1(e937a3787d4cd056c5f9944bca1532b84ed335f6) )
2437   ROM_LOAD( "clines proto a.bin", 0x8000, 0x008000, CRC(0977e287) SHA1(e937a3787d4cd056c5f9944bca1532b84ed335f6) )
2438   ROM_LOAD( "clines proto b.bin", 0x0000, 0x008000, CRC(fca396e1) SHA1(3304a58a30fd0c79e8d1decd4bd8792d3acbad3e) )
2792   ROM_LOAD( "clines proto b.bin", 0x0000, 0x8000, CRC(fca396e1) SHA1(3304a58a30fd0c79e8d1decd4bd8792d3acbad3e) )
2793   ROM_LOAD( "clines proto a.bin", 0x8000, 0x8000, CRC(0977e287) SHA1(e937a3787d4cd056c5f9944bca1532b84ed335f6) )//95718066
24392794   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24402795ROM_END
24412796
24422797ROM_START( sc1clinsc )
24432798   ROM_REGION( 0x10000, "maincpu", 0 )
2444   ROM_LOAD( "39370028a.bin", 0x8000, 0x008000, CRC(e0250ea4) SHA1(01cc9013c37bc22f5ab69565d453ece99f739e6b) )
2445   ROM_LOAD( "39370028b.bin", 0x0000, 0x008000, CRC(fca396e1) SHA1(3304a58a30fd0c79e8d1decd4bd8792d3acbad3e) )
2799   ROM_LOAD( "39370028b.bin", 0x0000, 0x8000, CRC(fca396e1) SHA1(3304a58a30fd0c79e8d1decd4bd8792d3acbad3e) )
2800   ROM_LOAD( "39370028a.bin", 0x8000, 0x8000, CRC(e0250ea4) SHA1(01cc9013c37bc22f5ab69565d453ece99f739e6b) )
24462801//  ROM_LOAD( "95717067b.bin", 0x0000, 0x008000, CRC(fca396e1) SHA1(3304a58a30fd0c79e8d1decd4bd8792d3acbad3e) )
24472802   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24482803ROM_END
24492804
24502805ROM_START( sc1clinsd )
24512806   ROM_REGION( 0x10000, "maincpu", 0 )
2452   ROM_LOAD( "957172.00 all cash.bin", 0x8000, 0x008000, CRC(cafc2409) SHA1(125f7c1826e58619a53b56ecd4f5b0b7f607aeef) )
2453   ROM_LOAD( "957172.01 all cash.bin", 0x0000, 0x008000, CRC(27d941cf) SHA1(797d47c15d6a52f5647a566eb8ad1985324d81cb) )
2807   ROM_LOAD( "957172.01 all cash.bin", 0x0000, 0x8000, CRC(27d941cf) SHA1(797d47c15d6a52f5647a566eb8ad1985324d81cb) )
2808   ROM_LOAD( "957172.00 all cash.bin", 0x8000, 0x8000, CRC(cafc2409) SHA1(125f7c1826e58619a53b56ecd4f5b0b7f607aeef) )
24542809   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24552810ROM_END
24562811
24572812ROM_START( sc1clinse ) // bad? (SUMCHECK ERROR)
24582813   ROM_REGION( 0x10000, "maincpu", 0 )
2459   ROM_LOAD( "957171.11 var% a.bin", 0x8000, 0x008000, CRC(1e74ef1a) SHA1(6c70f9b7f3caf6a5e9734b2e4ee74985c2b169d6) )
2460   ROM_LOAD( "957171.12 var% b.bin", 0x0000, 0x008000, CRC(80243558) SHA1(6b7cc811998d11397e5fa03a50154d165997ae7b) )
2814   ROM_LOAD( "957171.12 var% b.bin", 0x0000, 0x8000, CRC(80243558) SHA1(6b7cc811998d11397e5fa03a50154d165997ae7b) )
2815   ROM_LOAD( "957171.11 var% a.bin", 0x8000, 0x8000, CRC(1e74ef1a) SHA1(6c70f9b7f3caf6a5e9734b2e4ee74985c2b169d6) )
24612816   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24622817ROM_END
24632818
24642819
24652820ROM_START( sc1clb3 )
24662821   ROM_REGION( 0x10000, "maincpu", 0 )
2467   ROM_LOAD( "cl3000.bin", 0x0000, 0x010000, CRC(998b58fa) SHA1(73b2837d6287667f16c64edada1e3ec5ffa54c74) )
2822   ROM_LOAD( "cl3000.bin", 0x00000, 0x10000, CRC(998b58fa) SHA1(73b2837d6287667f16c64edada1e3ec5ffa54c74) )
24682823
24692824   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2470   ROM_LOAD( "95000593.ic7", 0x000000, 0x010000, CRC(743d4ecd) SHA1(23c2a3673d6b09bc829297751c283de444d32fa3) )
2471   ROM_LOAD( "95000594.ic8", 0x010000, 0x010000, CRC(9e143e49) SHA1(28547cc2f271f76a29d332f670e47a8bb836593e) )
2825   ROM_LOAD( "95000593.ic7", 0x00000, 0x10000, CRC(743d4ecd) SHA1(23c2a3673d6b09bc829297751c283de444d32fa3) )
2826   ROM_LOAD( "95000594.ic8", 0x10000, 0x10000, CRC(9e143e49) SHA1(28547cc2f271f76a29d332f670e47a8bb836593e) )
24722827ROM_END
24732828
24742829
r14675r14676
24762831
24772832ROM_START( sc1czbrk )
24782833   ROM_REGION( 0x10000, "maincpu", 0 )
2479   ROM_LOAD( "crazybreakp1.bin", 0x0000, 0x008000, CRC(47cbb5fd) SHA1(b5a7a20f9874f1010f7fc973d0cc5fcb87beaaf5) )
2480   ROM_LOAD( "crazybreakp2.bin", 0x8000, 0x008000, CRC(71bfb2fe) SHA1(3371421268a1e0a4518eafd27b2c23a0c7475e11) )
2834   ROM_LOAD( "crazybreakp1.bin", 0x0000, 0x8000, CRC(47cbb5fd) SHA1(b5a7a20f9874f1010f7fc973d0cc5fcb87beaaf5) )
2835   ROM_LOAD( "crazybreakp2.bin", 0x8000, 0x8000, CRC(71bfb2fe) SHA1(3371421268a1e0a4518eafd27b2c23a0c7475e11) )
24812836   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24822837ROM_END
24832838
24842839
24852840ROM_START( sc1energ )
24862841   ROM_REGION( 0x10000, "maincpu", 0 )
2487   ROM_LOAD( "energy_v109_u2.bin", 0x8000, 0x008000, CRC(ce5da71b) SHA1(c0cb687523bf7a8f42740dd3f54999eaa1db3cd0) )
2488   ROM_LOAD( "energy_v109_u4.bin", 0x0000, 0x008000, CRC(bde92e45) SHA1(ae1b73ecd59131a11202487ecb4d34fc68e4101d) )
2842   ROM_LOAD( "energy_v109_u4.bin", 0x0000, 0x8000, CRC(bde92e45) SHA1(ae1b73ecd59131a11202487ecb4d34fc68e4101d) )
2843   ROM_LOAD( "energy_v109_u2.bin", 0x8000, 0x8000, CRC(ce5da71b) SHA1(c0cb687523bf7a8f42740dd3f54999eaa1db3cd0) )
24892844   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
24902845ROM_END
24912846
24922847
24932848ROM_START( sc1frpus )
24942849   ROM_REGION( 0x10000, "maincpu", 0 )
2495   ROM_LOAD( "95750025.p1", 0x0000, 0x010000, CRC(75d21cbf) SHA1(8161dec9b0533383acc6172da564f1353e4367c1) )
2850   ROM_LOAD( "95750025.p1", 0x00000, 0x10000, CRC(75d21cbf) SHA1(8161dec9b0533383acc6172da564f1353e4367c1) )
24962851
2497   ROM_REGION( 0x80000, "altrevs", 0 )
2498   ROM_LOAD( "95752025.p1", 0x0000, 0x010000, CRC(0d223a7d) SHA1(7b110989b988f5fc57eac2b21b9f0cdb326174a0) )
24992852   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25002853ROM_END
25012854
2855ROM_START( sc1frpusa )
2856   ROM_REGION( 0x10000, "maincpu", 0 )
2857   ROM_LOAD( "95752025.p1", 0x00000, 0x10000, CRC(0d223a7d) SHA1(7b110989b988f5fc57eac2b21b9f0cdb326174a0) )
25022858
2859   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2860ROM_END
25032861
2862
25042863ROM_START( sc1hipt )
25052864   ROM_REGION( 0x10000, "maincpu", 0 )
2506   ROM_LOAD( "high point 6 b 20p.bin", 0x0000, 0x008000, CRC(535c1df1) SHA1(99d3033ee708c27134d461591eb7d19a573768d4) )
2507   ROM_LOAD( "high point 6 a 20p.bin", 0x8000, 0x008000, CRC(228c3eef) SHA1(c60da857fa5630809b072c20cf1f24ee26c38d0b) )
2865   ROM_LOAD( "high point 6 b 20p.bin", 0x0000, 0x8000, CRC(535c1df1) SHA1(99d3033ee708c27134d461591eb7d19a573768d4) )
2866   ROM_LOAD( "high point 6 a 20p.bin", 0x8000, 0x8000, CRC(228c3eef) SHA1(c60da857fa5630809b072c20cf1f24ee26c38d0b) )
25082867   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25092868ROM_END
25102869
25112870ROM_START( sc1hipta )
25122871   ROM_REGION( 0x10000, "maincpu", 0 )
2513   ROM_LOAD( "high point 69 6.bin", 0x8000, 0x008000, CRC(82564d75) SHA1(436b75e6617a6c2bb89ea0994696928b8452317d) )
2514   ROM_LOAD( "high point 70 6.bin", 0x0000, 0x008000, CRC(752b4c6e) SHA1(30503128ccca5c88e66174bd3e54b115eded1db6) )
2872   ROM_LOAD( "high point 70 6.bin", 0x0000, 0x8000, CRC(752b4c6e) SHA1(30503128ccca5c88e66174bd3e54b115eded1db6) )
2873   ROM_LOAD( "high point 69 6.bin", 0x8000, 0x8000, CRC(82564d75) SHA1(436b75e6617a6c2bb89ea0994696928b8452317d) )
2874
25152875   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25162876ROM_END
25172877
r14675r14676
25192879
25202880ROM_START( sc1satse )
25212881   ROM_REGION( 0x10000, "maincpu", 0 )
2522   ROM_LOAD( "satellitese.bin", 0x0000, 0x010000, CRC(de88d59c) SHA1(0df9ff2aa4be2634bc66e8f5539a7aa8c71b340a) )
2882   ROM_LOAD( "satellitese.bin", 0x00000, 0x10000, CRC(de88d59c) SHA1(0df9ff2aa4be2634bc66e8f5539a7aa8c71b340a) )
25232883   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25242884ROM_END
25252885
25262886ROM_START( sc1strk )
25272887   ROM_REGION( 0x10000, "maincpu", 0 )
2528   ROM_LOAD( "strike.bin", 0x0000, 0x010000, CRC(8bfae942) SHA1(325b74e3df527ad56e68b58b206fb3a491a44305) )
2888   ROM_LOAD( "strike.bin", 0x00000, 0x10000, CRC(8bfae942) SHA1(325b74e3df527ad56e68b58b206fb3a491a44305) )
25292889   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25302890   ROM_LOAD( "strikesoundp1.bin", 0x0000, 0x010000, CRC(bca5518c) SHA1(1b66e72e110702754eb3991f351cce689d6ad41c) )
25312891   ROM_LOAD( "strikesoundp2.bin", 0x0000, 0x010000, CRC(50d6c506) SHA1(cb9851ebad21c0b14cf3d57159034a8660a32f74) )
r14675r14676
25332893
25342894ROM_START( sc1supfl )
25352895   ROM_REGION( 0x10000, "maincpu", 0 )
2536   ROM_LOAD( "superflushse.bin", 0x0000, 0x010000, CRC(50f890d1) SHA1(6edad44aaba069b2a3cc2bd16ed4cf383d6f7029) )
2896   ROM_LOAD( "superflushse.bin", 0x00000, 0x10000, CRC(50f890d1) SHA1(6edad44aaba069b2a3cc2bd16ed4cf383d6f7029) )
25372897   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25382898ROM_END
25392899
25402900
25412901ROM_START( sc1ofs56 )
25422902   ROM_REGION( 0x10000, "maincpu", 0 )
2543   ROM_LOAD( "ofs56cp1", 0x8000, 0x008000, CRC(928c0a32) SHA1(1c83e497d62112850ff1607f9b20a12fe07a88cc) )
2544   ROM_LOAD( "ofs56cp2", 0x0000, 0x008000, CRC(c3af2861) SHA1(4fe47355ea9431360f17ff4004a7529111aa1d50) )
2903   ROM_LOAD( "ofs56cp2", 0x0000, 0x8000, CRC(c3af2861) SHA1(4fe47355ea9431360f17ff4004a7529111aa1d50) )
2904   ROM_LOAD( "ofs56cp1", 0x8000, 0x8000, CRC(928c0a32) SHA1(1c83e497d62112850ff1607f9b20a12fe07a88cc) )
25452905   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25462906ROM_END
25472907
r14675r14676
25492909
25502910ROM_START( sc1wof )
25512911   ROM_REGION( 0x10000, "maincpu", 0 )
2552   ROM_LOAD( "frds1-4n.p1", 0x8000, 0x008000, CRC(add2f2f8) SHA1(6c9852493b5e13cc694deacb96fe6d04f49e5c30) )
2553   ROM_LOAD( "frds1-4n.p2", 0x0000, 0x008000, CRC(60e56657) SHA1(4f02be663cfb36beeaa47be37fca7447d6ff9ebc) )
2912   ROM_LOAD( "frds1-4n.p2", 0x0000, 0x8000, CRC(60e56657) SHA1(4f02be663cfb36beeaa47be37fca7447d6ff9ebc) )
2913   ROM_LOAD( "frds1-4n.p1", 0x8000, 0x8000, CRC(add2f2f8) SHA1(6c9852493b5e13cc694deacb96fe6d04f49e5c30) )
2914
25542915   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25552916ROM_END
25562917
25572918ROM_START( sc1wofa )
25582919   ROM_REGION( 0x10000, "maincpu", 0 )
2559   ROM_LOAD( "wfor3-3n.p1", 0x8000, 0x008000, CRC(a6bb27bd) SHA1(abe240ecb5ceee1012d0ff547380e2d122380efc) )
2560   ROM_LOAD( "wfor3-3n.p2", 0x0000, 0x008000, CRC(610f5700) SHA1(1752604a2ea3ac658d86b5a5baea03d67b8a6e99) )
2920   ROM_LOAD( "wfor3-3n.p2", 0x0000, 0x8000, CRC(610f5700) SHA1(1752604a2ea3ac658d86b5a5baea03d67b8a6e99) )
2921   ROM_LOAD( "wfor3-3n.p1", 0x8000, 0x8000, CRC(a6bb27bd) SHA1(abe240ecb5ceee1012d0ff547380e2d122380efc) )
2922
25612923   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25622924ROM_END
25632925
25642926ROM_START( sc1wofb )
25652927   ROM_REGION( 0x10000, "maincpu", 0 )
2566   ROM_LOAD( "wof.bin", 0x0000, 0x010000, CRC(6aa9ccce) SHA1(d8781e225c97ccf2fd847ead1ae8e200358f8a96) )
2928   ROM_LOAD( "wof.bin", 0x00000, 0x10000, CRC(6aa9ccce) SHA1(d8781e225c97ccf2fd847ead1ae8e200358f8a96) )
25672929   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25682930ROM_END
25692931
25702932
25712933ROM_START( sc1crzyc )
25722934   ROM_REGION( 0x10000, "maincpu", 0 )
2573   ROM_LOAD( "craz1-5n.p1", 0x8000, 0x008000, CRC(943166ce) SHA1(9fbc97a1ede5ef18d5d5c544484b4a63f9a9901b) )
2935   ROM_LOAD( "craz1-5n.p1", 0x8000, 0x8000, CRC(943166ce) SHA1(9fbc97a1ede5ef18d5d5c544484b4a63f9a9901b) )
25742936   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25752937ROM_END
25762938
25772939
25782940ROM_START( sc1crzyca )
25792941   ROM_REGION( 0x10000, "maincpu", 0 )
2580   ROM_LOAD( "ccds1-2n.p1", 0x8000, 0x008000, CRC(62d75b51) SHA1(82c9a211e9465c04cbf7597481ee4fb3cbac9a94) )
2942   ROM_LOAD( "ccds1-2n.p1", 0x8000, 0x8000, CRC(62d75b51) SHA1(82c9a211e9465c04cbf7597481ee4fb3cbac9a94) )
25812943   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25822944ROM_END
25832945
25842946ROM_START( sc1clbdy )
25852947   ROM_REGION( 0x10000, "maincpu", 0 )
2586   ROM_LOAD( "ddpv1-1a.gg", 0x8000, 0x008000, CRC(1614ee7b) SHA1(e777a122062f24a18fbe827371e359bbdd4298e7) )
2587   ROM_LOAD( "ddpv1-1b.gg", 0x0000, 0x008000, CRC(692d4347) SHA1(6cdf3dbbaffe47fc026debaa74303d4ad36a5b63) )
2948   ROM_LOAD( "ddpv1-1b.gg", 0x0000, 0x8000, CRC(692d4347) SHA1(6cdf3dbbaffe47fc026debaa74303d4ad36a5b63) )
2949   ROM_LOAD( "ddpv1-1a.gg", 0x8000, 0x8000, CRC(1614ee7b) SHA1(e777a122062f24a18fbe827371e359bbdd4298e7) )
2950
25882951   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25892952ROM_END
25902953
25912954ROM_START( sc1clbdya )
25922955   ROM_REGION( 0x10000, "maincpu", 0 )
2593   ROM_LOAD( "dyn1-6n.p1", 0x8000, 0x008000, CRC(9cb42e58) SHA1(bb92e7618efb9a95e96d55d6ee46ba4f08cb825b) )
2594   ROM_LOAD( "dyn1-6n.p2", 0x0000, 0x008000, CRC(425b8cf6) SHA1(8b3dd294ff965103b5621da462b39629445456b9) )
2956   ROM_LOAD( "dyn1-6n.p2", 0x0000, 0x8000, CRC(425b8cf6) SHA1(8b3dd294ff965103b5621da462b39629445456b9) )
2957   ROM_LOAD( "dyn1-6n.p1", 0x8000, 0x8000, CRC(9cb42e58) SHA1(bb92e7618efb9a95e96d55d6ee46ba4f08cb825b) )
2958
25952959   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
25962960ROM_END
25972961
25982962
25992963ROM_START( sc1chqfl )
26002964   ROM_REGION( 0x10000, "maincpu", 0 )
2601   ROM_LOAD( "cflg1-5n.p1", 0x8000, 0x008000, CRC(2337b8ed) SHA1(c27b3b91ca52dd7edb05743753b4510c05f29055) )
2965   ROM_LOAD( "cflg1-5n.p1", 0x8000, 0x8000, CRC(2337b8ed) SHA1(c27b3b91ca52dd7edb05743753b4510c05f29055) )
26022966   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
26032967ROM_END
26042968
26052969ROM_START( sc1s1000 )
26062970   ROM_REGION( 0x10000, "maincpu", 0 )
2607   ROM_LOAD( "super1000.bin", 0x8000, 0x008000, CRC(879e56e6) SHA1(5c0a08375a30213142e1d3835ea46462d882982d) )
2971   ROM_LOAD( "super1000.bin", 0x8000, 0x8000, CRC(879e56e6) SHA1(5c0a08375a30213142e1d3835ea46462d882982d) )
26082972   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
26092973ROM_END
26102974
26112975ROM_START( sc1cdm )
26122976   ROM_REGION( 0x10000, "maincpu", 0 )
2613   ROM_LOAD( "dd13b.bin", 0x0000, 0x008000, CRC(7a663587) SHA1(6d03a34047ba5f995b1877fc4c0ab9703aa4defc) )
2614   ROM_LOAD( "dd13a.bin", 0x8000, 0x008000, CRC(e674bca9) SHA1(31481d791f3aaf1d4ba790924f0f9e4100a82da5) )
2977   ROM_LOAD( "dd13b.bin", 0x0000, 0x8000, CRC(7a663587) SHA1(6d03a34047ba5f995b1877fc4c0ab9703aa4defc) )
2978   ROM_LOAD( "dd13a.bin", 0x8000, 0x8000, CRC(e674bca9) SHA1(31481d791f3aaf1d4ba790924f0f9e4100a82da5) )
26152979
2616   ROM_REGION( 0x10000, "altrevs", 0 )
2617   ROM_LOAD( "dd13ap.bin", 0x0000, 0x008000, CRC(84a51666) SHA1(89cf10c7e732b5f77b798bf58fe8ebfc701da57b) )
2980   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2981   ROM_LOAD( "dd_snd1.bin", 0x00000, 0x10000, CRC(c00a70ab) SHA1(c0014b3e4308281203921994f41f19e0243148e0) )
2982   ROM_LOAD( "dd_snd2.bin", 0x10000, 0x10000, CRC(c03827f6) SHA1(16e844fb83d79d1e4fbb0069debaf71af5ad6814) )
2983ROM_END
26182984
2985ROM_START( sc1cdmp )
2986   ROM_REGION( 0x10000, "maincpu", 0 )
2987   ROM_LOAD( "dd13b.bin", 0x0000, 0x8000, CRC(7a663587) SHA1(6d03a34047ba5f995b1877fc4c0ab9703aa4defc) )
2988   ROM_LOAD( "dd13ap.bin", 0x8000, 0x8000, CRC(84a51666) SHA1(89cf10c7e732b5f77b798bf58fe8ebfc701da57b) )
2989
26192990   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
2620   ROM_LOAD( "dd_snd1.bin", 0x000000, 0x010000, CRC(c00a70ab) SHA1(c0014b3e4308281203921994f41f19e0243148e0) )
2621   ROM_LOAD( "dd_snd2.bin", 0x010000, 0x010000, CRC(c03827f6) SHA1(16e844fb83d79d1e4fbb0069debaf71af5ad6814) )
2991   ROM_LOAD( "dd_snd1.bin", 0x00000, 0x10000, CRC(c00a70ab) SHA1(c0014b3e4308281203921994f41f19e0243148e0) )
2992   ROM_LOAD( "dd_snd2.bin", 0x10000, 0x10000, CRC(c03827f6) SHA1(16e844fb83d79d1e4fbb0069debaf71af5ad6814) )
26222993ROM_END
26232994
26242995ROM_START( sc1hfcc )
26252996   ROM_REGION( 0x10000, "maincpu", 0 )
2626   ROM_LOAD( "cz14b.bin", 0x0000, 0x008000, CRC(976233ca) SHA1(554da440a0fe1d66fa95bef51ac168cec35d1636) )
2627   ROM_LOAD( "cz14a.bin", 0x8000, 0x008000, CRC(34324f0b) SHA1(946ff8fa40788748a0caabd48d125f2a4f9c36c3) )
2997   ROM_LOAD( "cz14b.bin", 0x0000, 0x8000, CRC(976233ca) SHA1(554da440a0fe1d66fa95bef51ac168cec35d1636) )
2998   ROM_LOAD( "cz14a.bin", 0x8000, 0x8000, CRC(34324f0b) SHA1(946ff8fa40788748a0caabd48d125f2a4f9c36c3) )
26282999
2629   ROM_REGION( 0x10000, "altrevs", 0 )
2630   ROM_LOAD( "cz14ap.bin", 0x0000, 0x008000, CRC(56e3e5c4) SHA1(3017007e03139204732f7945ded61d35499055ac) )
3000   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
3001   /* Missing? */
3002ROM_END
26313003
3004ROM_START( sc1hfccp )
3005   ROM_REGION( 0x10000, "maincpu", 0 )
3006   ROM_LOAD( "cz14b.bin", 0x0000, 0x8000, CRC(976233ca) SHA1(554da440a0fe1d66fa95bef51ac168cec35d1636) )
3007   ROM_LOAD( "cz14ap.bin", 0x8000, 0x8000, CRC(56e3e5c4) SHA1(3017007e03139204732f7945ded61d35499055ac) )
3008
26323009   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
26333010   /* Missing? */
26343011ROM_END
r14675r14676
26433020
26443021ROM_START( sc1chain )
26453022   ROM_REGION( 0x10000, "maincpu", 0 )
2646//  ROM_LOAD( "95717174 b.bin", 0x0000, 0x008000, CRC(6cdc8d15) SHA1(582e5e7bcefe0085917d3499b7c83e27c19662d2) )
2647//  ROM_LOAD( "95717173 a.bin", 0x8000, 0x008000, CRC(4989e6c6) SHA1(17184c6a3624dfaa61bc4ddb3ac1813949eaf834) )
2648   ROM_LOAD( "95717174.bin", 0x0000, 0x008000, CRC(6cdc8d15) SHA1(582e5e7bcefe0085917d3499b7c83e27c19662d2) )
2649   ROM_LOAD( "95717173.bin", 0x8000, 0x008000, CRC(4989e6c6) SHA1(17184c6a3624dfaa61bc4ddb3ac1813949eaf834) )
3023   ROM_LOAD( "95717174.bin", 0x0000, 0x8000, CRC(6cdc8d15) SHA1(582e5e7bcefe0085917d3499b7c83e27c19662d2) )
3024   ROM_LOAD( "95717173.bin", 0x8000, 0x8000, CRC(4989e6c6) SHA1(17184c6a3624dfaa61bc4ddb3ac1813949eaf834) )
26503025
2651   ROM_REGION( 0x10000, "altrevs", 0 )
2652   ROM_LOAD( "95716173 proto.bin", 0x0000, 0x008000, CRC(4f806f1d) SHA1(cfa8bcc2afbb47e549836d968c3390bef04c6c30) )
2653   ROM_LOAD( "95717210.bin", 0x0000, 0x008000, CRC(102d2bc8) SHA1(8ed5f44e6014e21f677762e40076d648901d1ff2) )
2654   ROM_LOAD( "95717211.bin", 0x0000, 0x008000, CRC(ed781e00) SHA1(67ebb58beda5123f061a22dacd008f1feb75b8d9) )
3026   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
3027   /* Missing? */
3028ROM_END
26553029
3030ROM_START( sc1chainp )
3031   ROM_REGION( 0x10000, "maincpu", 0 )
3032   ROM_LOAD( "95717174.bin", 0x0000, 0x8000, CRC(6cdc8d15) SHA1(582e5e7bcefe0085917d3499b7c83e27c19662d2) )
3033   ROM_LOAD( "95716173 proto.bin", 0x8000, 0x8000, CRC(4f806f1d) SHA1(cfa8bcc2afbb47e549836d968c3390bef04c6c30) )
3034
26563035   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
26573036   /* Missing? */
26583037ROM_END
26593038
3039ROM_START( sc1chaina )
3040   ROM_REGION( 0x10000, "maincpu", 0 )
3041   ROM_LOAD( "95717211.bin", 0x0000, 0x8000, CRC(ed781e00) SHA1(67ebb58beda5123f061a22dacd008f1feb75b8d9) )
3042   ROM_LOAD( "95717210.bin", 0x8000, 0x8000, CRC(102d2bc8) SHA1(8ed5f44e6014e21f677762e40076d648901d1ff2) )
3043
3044   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
3045   /* Missing? */
3046ROM_END
3047
26603048ROM_START( sc1potp )
26613049   ROM_REGION( 0x10000, "maincpu", 0 )
2662   ROM_LOAD( "potp 95715159 2x1.bin", 0x6000, 0x002000, CRC(b47cd8f3) SHA1(bf26fdc440a111dc1326b200281c2dff5c517c67) )
2663   ROM_LOAD( "potp 95717908 2x1.bin", 0x8000, 0x008000, CRC(953c3e78) SHA1(f14ab2c4337e93605be4baac51b8ad3b9bf0e155) )
3050   ROM_LOAD( "potp 95715159 2x1.bin", 0x6000, 0x2000, CRC(b47cd8f3) SHA1(bf26fdc440a111dc1326b200281c2dff5c517c67) )
3051   ROM_LOAD( "potp 95717908 2x1.bin", 0x8000, 0x8000, CRC(953c3e78) SHA1(f14ab2c4337e93605be4baac51b8ad3b9bf0e155) )
26643052
26653053   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
26663054ROM_END
26673055
26683056ROM_START( sc1potpa )
26693057   ROM_REGION( 0x10000, "maincpu", 0 )
2670   ROM_LOAD( "potp 95715146.bin", 0x6000, 0x002000, CRC(9557ebc4) SHA1(a9d3b2d901875b9d53ac9500acdb9b725b4edcb5) )
2671   ROM_LOAD( "potp 95350166.bin", 0x8000, 0x008000, CRC(45f0effa) SHA1(afd7aabac7da04b5960c2cc55863b917a2692c4f) )
3058   ROM_LOAD( "potp 95715146.bin", 0x6000, 0x2000, CRC(9557ebc4) SHA1(a9d3b2d901875b9d53ac9500acdb9b725b4edcb5) )
3059   ROM_LOAD( "potp 95350166.bin", 0x8000, 0x8000, CRC(45f0effa) SHA1(afd7aabac7da04b5960c2cc55863b917a2692c4f) )
26723060
26733061   ROM_REGION( 0x200000, "upd", ROMREGION_ERASE00 )
26743062ROM_END
r14675r14676
26923080
26933081#define GAME_FLAGS GAME_SUPPORTS_SAVE|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL
26943082
2695GAME( 1988, sc1lotus      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Lotus SE (Dutch)", GAME_FLAGS )
3083GAME( 1988, sc1lotus      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Lotus SE (Dutch) (set 1)", GAME_FLAGS )
3084GAME( 1988, sc1lotusa      , sc1lotus   , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Lotus SE (Dutch) (set 2)", GAME_FLAGS )
26963085GAME( 1988, sc1roul         , 0         , scorpion1         , scorpion1   , rou029      , 0,       "BFM/ELAM", "Roulette (Dutch, Game Card 39-360-129?)", GAME_FLAGS )
26973086GAME( 1990, sc1clatt      , 0         , scorpion1         , clatt      , clatt         , 0,       "BFM",      "Club Attraction (UK, Game Card 39-370-196)", GAME_FLAGS )
26983087GAME( 1990, sc1clatta      , sc1clatt   , scorpion1         , clatt      , clatt         , 0,       "BFM",      "Club Attraction (set 2)", GAME_FLAGS )
r14675r14676
27003089GAME( 198?, sc1armad      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Armada (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
27013090GAME( 198?, sc1bartk      , 0         , scorpion1_viper   , clatt      , lotse         , 0,       "BFM",      "Bar Trek (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27023091GAME( 198?, sc1barcd      , 0         , scorpion1_viper   , clatt      , lotse         , 0,       "BFM",      "Barcode (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3092GAME( 198?, sc1barcda      , sc1barcd   , scorpion1_viper   , clatt      , lotse         , 0,       "BFM",      "Barcode (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
27033093GAME( 198?, sc1bigmt      , 0         , scorpion1_viper   , clatt      , nocrypt      , 0,       "BFM",      "The Big Match (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27043094GAME( 198?, sc1calyp      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Calypso (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
27053095GAME( 198?, sc1carro      , 0         , scorpion1         , scorpion1   , nocrypt_bank0   , 0,       "BFM/ELAM", "Carrousel (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2706GAME( 198?, sc1cshat      , 0         , scorpion1         , scorpion1 , lotse       , 0,       "BFM",      "Cash Attraction (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3096GAME( 198?, sc1cshat      , 0         , scorpion1         , scorpion1 , lotse       , 0,       "BFM",      "Cash Attraction (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3097GAME( 198?, sc1cshata      , sc1cshat   , scorpion1         , scorpion1 , lotse       , 0,       "BFM",      "Cash Attraction (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3098GAME( 198?, sc1cshatb      , sc1cshat   , scorpion1         , scorpion1 , lotse       , 0,       "BFM",      "Cash Attraction (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3099GAME( 198?, sc1cshatc      , sc1cshat   , scorpion1         , scorpion1 , lotse       , 0,       "BFM",      "Cash Attraction (Bellfruit) (set 4) (Scorpion 1)", GAME_FLAGS )
3100
27073101GAME( 198?, sc1cshcd      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cash Card (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
2708GAME( 198?, sc1cshcda      , sc1cshcd   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Card (Bellfruit) (Scorpion 1, set 1)", GAME_FLAGS )
2709GAME( 198?, sc1cshcdb      , sc1cshcd   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Card (Bellfruit) (Scorpion 1, set 2)", GAME_FLAGS )
3102GAME( 198?, sc1cshcda      , sc1cshcd   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Card (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3103GAME( 198?, sc1cshcdb      , sc1cshcd   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Card (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
27103104GAME( 198?, sc1ccoin      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Coin (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2711GAME( 198?, sc1cexpd      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cash Explosion (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2712GAME( 198?, sc1cexpl      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Explosion (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2713GAME( 198?, sc1cshwz      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Wise (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2714GAME( 198?, sc1cshin      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cashino (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2715GAME( 198?, sc1china      , 0         , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2716GAME( 198?, sc1class      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Classic (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
3105GAME( 198?, sc1cexpd      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cash Explosion (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3106GAME( 198?, sc1cexpl      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Explosion (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3107GAME( 198?, sc1cexpla      , sc1cexpl   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Explosion (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3108GAME( 198?, sc1cexplb      , sc1cexpl   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Explosion (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3109GAME( 198?, sc1cexplc      , sc1cexpl   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Explosion (Bellfruit) (set 4) (Scorpion 1)", GAME_FLAGS )
3110GAME( 198?, sc1cexpld      , sc1cexpl   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Explosion (Bellfruit) (set 5) (Scorpion 1)", GAME_FLAGS )
3111GAME( 198?, sc1cshwz      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Wise (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3112GAME( 198?, sc1cshwza      , sc1cshwz   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Wise (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3113GAME( 198?, sc1cshwzb      , sc1cshwz   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Wise (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3114GAME( 198?, sc1cshwzc      , sc1cshwz   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cash Wise (Bellfruit) (set 4) (Scorpion 1)", GAME_FLAGS )
3115GAME( 198?, sc1cshin      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cashino (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3116GAME( 198?, sc1china      , 0         , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3117GAME( 198?, sc1chinap      , sc1china   , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS )
3118GAME( 198?, sc1chinaa      , sc1china   , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3119GAME( 198?, sc1chinaap      , sc1china   , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (set 2, Protocol) (Scorpion 1)", GAME_FLAGS )
3120GAME( 198?, sc1chinab      , sc1china   , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3121GAME( 198?, sc1chinabp      , sc1china   , scorpion1_viper   , scorpion1   , lotse         , 0,       "BFM",      "China Town Club (Bellfruit) (set 3, Protocol) (Scorpion 1)", GAME_FLAGS )
3122GAME( 198?, sc1class      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Classic (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
27173123GAME( 198?, sc1cwcl         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Clockwise Club (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27183124GAME( 198?, sc1clown      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Clown Around (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27193125GAME( 198?, sc1cl2k         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Club 2000 (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2720GAME( 198?, sc1cl2k1      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Club 2001 (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2721GAME( 198?, sc1cl65         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3126GAME( 198?, sc1cl2k1      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Club 2001 (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3127GAME( 198?, sc1cl65         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3128GAME( 198?, sc1cl65a      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3129GAME( 198?, sc1cl65ap      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 2, Protocol) (Scorpion 1)", GAME_FLAGS )
3130GAME( 198?, sc1cl65b      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3131GAME( 198?, sc1cl65bp      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 3, Protocol) (Scorpion 1)", GAME_FLAGS )
3132GAME( 198?, sc1cl65c      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 4) (Scorpion 1)", GAME_FLAGS )
3133GAME( 198?, sc1cl65d      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 5) (Scorpion 1)", GAME_FLAGS )
3134GAME( 198?, sc1cl65dp      , sc1cl65   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club 65 Special (Bellfruit) (set 5, Protocol) (Scorpion 1)", GAME_FLAGS )
27223135GAME( 198?, sc1clbdm      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Diamond (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27233136GAME( 198?, sc1clbxp      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Explosion (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27243137GAME( 198?, sc1clbrn      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Runner (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27253138GAME( 198?, sc1clbsp      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Spinner (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2726GAME( 198?, sc1clbtm      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Temptation (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2727GAME( 198?, sc1clbw         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Wise (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2728GAME( 198?, sc1copdd      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cops 'n' Robbers Deluxe (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
3139GAME( 198?, sc1clbtm      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Temptation (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3140GAME( 198?, sc1clbtma      , sc1clbtm   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Temptation (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3141GAME( 198?, sc1clbw         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Wise (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3142GAME( 198?, sc1clbwa      , sc1clbw   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Wise (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3143GAME( 198?, sc1clbwb      , sc1clbw   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Club Wise (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3144GAME( 198?, sc1copdd      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Cops 'n' Robbers Deluxe (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
27293145GAME( 198?, sc1copdx      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Cops 'n' Robbers Deluxe (Bellfruit) (Scorpion 1)", GAME_FLAGS ) // is this really sc1? it does nothing
2730GAME( 198?, sc1count      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Count Cash Club (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2731GAME( 198?, sc1dago         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Dagobert's Vault (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2732GAME( 198?, sc1disc         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Discovey (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2733GAME( 198?, sc1dblch      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Double Chance (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3146GAME( 198?, sc1count      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Count Cash Club (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3147GAME( 198?, sc1countp      , sc1count   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Count Cash Club (Bellfruit) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS )
3148GAME( 198?, sc1counta      , sc1count   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Count Cash Club (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3149GAME( 198?, sc1countap      , sc1count   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Count Cash Club (Bellfruit) (set 2, Protocol) (Scorpion 1)", GAME_FLAGS )
3150GAME( 198?, sc1countb      , sc1count   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Count Cash Club (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3151GAME( 198?, sc1dago         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Dagobert's Vault (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3152GAME( 198?, sc1disc         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Discovey (Bellfruit) (Dutch) (set 1) (Scorpion 1)", GAME_FLAGS )
3153GAME( 198?, sc1disca      , sc1disc   , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Discovey (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3154GAME( 198?, sc1dblch      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Double Chance (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3155GAME( 198?, sc1dblcha      , sc1dblch   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Double Chance (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
27343156GAME( 198?, sc1dream      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Dream Machine (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27353157GAME( 198?, sc1final      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Final Touch (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2736GAME( 198?, sc1flash      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Flash (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2737GAME( 198?, sc1fruit      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Fruit Lines (Bellfruit) (Scorpion 1, set 1)", GAME_FLAGS )
2738GAME( 198?, sc1frtln      , sc1fruit   , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Fruit Lines (Bellfruit) (Scorpion 1, set 2)", GAME_FLAGS )
2739GAME( 198?, sc1funh         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Fun House Club (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3158GAME( 198?, sc1flash      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Flash (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3159GAME( 198?, sc1fruit      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Fruit Lines (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3160GAME( 198?, sc1frtln      , sc1fruit   , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Fruit Lines (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3161GAME( 198?, sc1funh         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Fun House Club (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3162GAME( 198?, sc1funhp      , sc1funh   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Fun House Club (Bellfruit) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS )
3163GAME( 198?, sc1funha      , sc1funh   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Fun House Club (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3164GAME( 198?, sc1funhb      , sc1funh   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Fun House Club (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
27403165GAME( 198?, sc1gtime      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Good Times (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27413166GAME( 198?, sc1tiara      , 0         , scorpion1         , scorpion1   , nocrypt       , 0,       "ELAM",     "Tiara (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2742GAME( 198?, sc1gprix      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Grand Prix (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2743GAME( 198?, sc1gslam      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM",      "Grand Slam (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
3167GAME( 198?, sc1gprix      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Grand Prix (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3168GAME( 198?, sc1gslam      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM",      "Grand Slam (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
27443169GAME( 198?, sc1happy      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM",      "Happy Hour (Bellfruit - Elam) (Scorpion 1)", GAME_FLAGS )
2745GAME( 198?, sc1impc         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Impact (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2746GAME( 198?, sc1kings      , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,       "BFM/ELAM", "Kings Club (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2747GAME( 198?, sc1linx         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Linx (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2748GAME( 198?, sc1magc         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Magic Circle (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2749GAME( 198?, sc1manha      , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,       "BFM/ELAM", "Manhattan (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
3170GAME( 198?, sc1impc         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Impact (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3171GAME( 198?, sc1kings      , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,       "BFM/ELAM", "Kings Club (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3172GAME( 198?, sc1linx         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Linx (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3173GAME( 198?, sc1linxa      , sc1linx   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Linx (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3174GAME( 198?, sc1linxp      , sc1linx   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Linx (Bellfruit) (set 3, Protocol) (Scorpion 1)", GAME_FLAGS )
3175GAME( 198?, sc1magc         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Magic Circle (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3176GAME( 198?, sc1manha      , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,       "BFM/ELAM", "Manhattan (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
27503177GAME( 198?, sc1mast         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Master Club (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2751GAME( 198?, sc1quat         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Quatro (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2752GAME( 198?, sc1mist         , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,       "BFM/ELAM", "Mistral (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2753GAME( 198?, sc1olym         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Olympia (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2754GAME( 198?, sc1orac         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Oracle (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2755GAME( 198?, sc1pwrl         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Power Lines (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2756GAME( 198?, sc1rain         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Rainbow (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2757GAME( 198?, sc1re         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Reel Cash (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2758GAME( 198?, sc1rese         , sc1re      , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Reel Cash SE (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS ) // doesn't say 'SE'
2759GAME( 198?, sc1revo         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Revolution (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2760GAME( 198?, sc1rose         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Rose 'n' Crown (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2761GAME( 198?, sc1sant         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Santana (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2762GAME( 198?, sc1sat         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Satellite (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2763GAME( 198?, sc1shan         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Shanghai (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2764GAME( 198?, sc1spct         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Spectre (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3178GAME( 198?, sc1quat         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Quatro (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3179GAME( 198?, sc1mist         , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,       "BFM/ELAM", "Mistral (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3180GAME( 198?, sc1olym         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Olympia (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3181GAME( 198?, sc1orac         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Oracle (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3182GAME( 198?, sc1pwrl         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Power Lines (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3183GAME( 198?, sc1pwrla      , sc1pwrl   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Power Lines (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3184GAME( 198?, sc1rain         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Rainbow (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3185GAME( 198?, sc1re         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Reel Cash (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3186GAME( 198?, sc1rese         , sc1re      , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Reel Cash SE (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS ) // doesn't say 'SE'
3187GAME( 198?, sc1revo         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Revolution (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3188GAME( 198?, sc1rose         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Rose 'n' Crown (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3189GAME( 198?, sc1sant         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Santana (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3190GAME( 198?, sc1sat         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Satellite (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3191GAME( 198?, sc1shan         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Shanghai (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3192GAME( 198?, sc1spct         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Spectre (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3193GAME( 198?, sc1spcta      , sc1spct   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Spectre (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
27653194GAME( 198?, sc1spit         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Spitfire (Elam) (Scorpion 1)", GAME_FLAGS )
2766GAME( 198?, sc1ster         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Sterling (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2767GAME( 198?, sc1str4         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike 4 (Bellfruit) (Scorpion 1, set 1)", GAME_FLAGS )
2768GAME( 198?, sc1str4a      , sc1str4   , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Strike 4 (Bellfruit) (Scorpion 1, set 2)", GAME_FLAGS )
2769GAME( 198?, sc1sir         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike It Rich (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2770GAME( 198?, sc1sups         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Superstar (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2771GAME( 198?, sc1torn         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Tornado (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2772GAME( 198?, sc1tri         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Tri Star (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2773GAME( 198?, sc1typ         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Typhoon Club (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3195GAME( 198?, sc1ster         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Sterling (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3196GAME( 198?, sc1str4         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike 4 (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3197GAME( 198?, sc1str4a      , sc1str4   , scorpion1         , scorpion1   , nocrypt      , 0,       "BFM/ELAM", "Strike 4 (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3198GAME( 198?, sc1sir         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike It Rich (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3199GAME( 198?, sc1sira         , sc1sir   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike It Rich (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3200GAME( 198?, sc1sirb         , sc1sir   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike It Rich (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3201GAME( 198?, sc1sirc         , sc1sir   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Strike It Rich (Bellfruit) (set 4) (Scorpion 1)", GAME_FLAGS )
3202GAME( 198?, sc1sups         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Superstar (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3203GAME( 198?, sc1torn         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Tornado (Bellfruit) (Dutch) (set 1) (Scorpion 1)", GAME_FLAGS )
3204GAME( 198?, sc1torna      , sc1torn   , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Tornado (Bellfruit) (Dutch) (set 2) (Scorpion 1)", GAME_FLAGS )
3205GAME( 198?, sc1tri         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Tri Star (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3206GAME( 198?, sc1tria         , sc1tri   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Tri Star (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3207GAME( 198?, sc1triap      , sc1tri   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Tri Star (Bellfruit) (set 2, Protocol) (Scorpion 1)", GAME_FLAGS )
3208GAME( 198?, sc1trib         , sc1tri   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Tri Star (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3209GAME( 198?, sc1tribp      , sc1tri   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Tri Star (Bellfruit) (set 3, Protocol) (Scorpion 1)", GAME_FLAGS )
3210GAME( 198?, sc1typ         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Typhoon Club (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3211GAME( 198?, sc1typp         , sc1typ   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Typhoon Club (Bellfruit) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS )
27743212GAME( 198?, sc1ult         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Ultimate (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2775GAME( 198?, sc1vent         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Ventura (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2776GAME( 198?, sc1vict         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Victory (Bellfruit) [Dutch] (Scorpion 1)", GAME_FLAGS )
2777GAME( 198?, sc1voy         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Voyager (Bellfruit) (Scorpion 1, set 1)", GAME_FLAGS )
2778GAME( 198?, sc1voya         , sc1voy   , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Voyager (Bellfruit) (Scorpion 1, set 2)", GAME_FLAGS )
2779GAME( 198?, sc1winfl      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Winfalls [Dutch] (Bellfruit) (Scorpion 1)", GAME_FLAGS )
2780GAME( 198?, sc1winst      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3213GAME( 198?, sc1vent         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Ventura (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3214GAME( 198?, sc1vict         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Victory (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS )
3215GAME( 198?, sc1voy         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Voyager (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3216GAME( 198?, sc1voya         , sc1voy   , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Voyager (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3217GAME( 198?, sc1winfl      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM/ELAM", "Winfalls (Dutch) (Bellfruit) (Scorpion 1)", GAME_FLAGS )
3218GAME( 198?, sc1winst      , 0         , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS )
3219GAME( 198?, sc1winstp      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS )
3220GAME( 198?, sc1winsta      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS )
3221GAME( 198?, sc1winstb      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 3) (Scorpion 1)", GAME_FLAGS )
3222GAME( 198?, sc1winstbp      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 3, Protocol) (Scorpion 1)", GAME_FLAGS )
3223GAME( 198?, sc1winstc      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 4) (Scorpion 1)", GAME_FLAGS )
3224GAME( 198?, sc1winstcp      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 4, Protocol) (Scorpion 1)", GAME_FLAGS )
3225GAME( 198?, sc1winstd      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 5) (Scorpion 1)", GAME_FLAGS )
3226GAME( 198?, sc1winstdp      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 5, Protocol) (Scorpion 1)", GAME_FLAGS )
3227GAME( 198?, sc1winste      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 6) (Scorpion 1)", GAME_FLAGS )
3228GAME( 198?, sc1winstep      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 6, Protocol) (Scorpion 1)", GAME_FLAGS )
3229GAME( 198?, sc1winstf      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 7) (Scorpion 1)", GAME_FLAGS )
3230GAME( 198?, sc1winstfp      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 7, Protocol) (Scorpion 1)", GAME_FLAGS )
3231GAME( 198?, sc1winstg      , sc1winst   , scorpion1         , scorpion1   , lotse         , 0,       "BFM",      "Winning Streak (Bellfruit) (set 8) (Scorpion 1)", GAME_FLAGS )
27813232GAME( 198?, sc1zep         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "ELAM",     "Zeppelin (Bellfruit) (Scorpion 1)", GAME_FLAGS )
27823233GAME( 198?, sc1wthn         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "Eurocoin", "Wild Thing (Eurocoin) (Scorpion 1)", GAME_FLAGS )
27833234GAME( 199?, sc1moonl      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Bwb",      "Moon Lite (Bwb)", GAME_FLAGS)
27843235GAME( 199?, sc1ltdv         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Pcp",      "Little Devil (Pcp)", GAME_FLAGS)
27853236GAME( 198?, sc1t1k         , 0         , scorpion1         , scorpion1   , lotse         , 0,       "Eurocoin", "Top 1000 (Eurocoin) (Scorpion 1)", GAME_FLAGS )
2786GAME( 199?, sc1smoke      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Smokey Vs The Bandit (Mdm) (Scorpion 2/3)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
2787GAME( 199?, sc1ccroc      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Crazy Crocs (Mdm) (Scorpion 2/3)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
2788GAME( 199?, sc1crocr      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Croc And Roll (Mdm) (Scorpion 2/3)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
2789GAME( 199?, sc1btclk      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Beat The Clock (Mdm) (Scorpion 2/3)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3237GAME( 199?, sc1smoke      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Smokey Vs The Bandit (Mdm) (set 1) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3238GAME( 199?, sc1smokea      , sc1smoke   , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Smokey Vs The Bandit (Mdm) (set 2) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3239GAME( 199?, sc1ccroc      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Crazy Crocs (Mdm) (set 1) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3240GAME( 199?, sc1ccroca      , sc1ccroc   , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Crazy Crocs (Mdm) (set 2) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3241GAME( 199?, sc1ccrocb      , sc1ccroc   , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Crazy Crocs (Mdm) (set 3) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3242GAME( 199?, sc1ccrocc      , sc1ccroc   , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Crazy Crocs (Mdm) (set 4) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3243GAME( 199?, sc1crocr      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Croc And Roll (Mdm) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3244GAME( 199?, sc1btclk      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Beat The Clock (Mdm) (set 1) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3245GAME( 199?, sc1btclka      , sc1btclk   , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Beat The Clock (Mdm) (set 2) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
3246GAME( 199?, sc1btclkb      , sc1btclk   , scorpion1         , scorpion1   , nocrypt      , 0,      "Mdm",      "Beat The Clock (Mdm) (set 3) (Scorpion 2/3?)",   GAME_NOT_WORKING|GAME_REQUIRES_ARTWORK|GAME_NO_SOUND )
27903247GAME( 199?, sc1clins      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM/PCP",  "Cash Lines (Bellfruit) (Scorpion 1) (set 1)", GAME_FLAGS)
27913248GAME( 199?, sc1clinsa      , sc1clins   , scorpion1         , scorpion1   , lotse         , 0,      "BFM/PCP",  "Cash Lines (Bellfruit) (Scorpion 1) (set 2)", GAME_FLAGS)
27923249GAME( 199?, sc1clinsb      , sc1clins   , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Cash Lines (Bellfruit) (Scorpion 1) (set 3)", GAME_FLAGS)
r14675r14676
28033260GAME( 199?, sc1supfl      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM/ELAM", "Super Flush (Bellfruit) (Dutch) (Scorpion 1)", GAME_FLAGS)
28043261// are they really SC1?
28053262GAME( 199?, sc1btbc         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Beat The Bank Club (Bellfruit) (Scorpion 1?)", GAME_FLAGS) // behaves like sc1clbdya, but then locks up
2806GAME( 199?, sc1frpus      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Fruit Pursuit (Bellfruit) (Scorpion 1?)", GAME_FLAGS)
2807GAME( 199?, sc1ofs56      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "unknown 'ofs56cp' (Bellfruit) (Scorpion 1?)", GAME_FLAGS) // OFAH - Phoenix 1
3263GAME( 199?, sc1frpus      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Fruit Pursuit (Bellfruit) (set 1) (Scorpion 1?)", GAME_FLAGS)
3264GAME( 199?, sc1frpusa      , sc1frpus   , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Fruit Pursuit (Bellfruit) (set 2) (Scorpion 1?)", GAME_FLAGS)
3265GAME( 199?, sc1ofs56      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "unknown 'ofs56cp' (Bellfruit) (Scorpion 1?)", GAME_FLAGS) // OFAH - Phoenix 1 - Only Fools and Horses?
28083266GAME( 199?, sc1boncl      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Bonanza Club (Bellfruit) (Scorpion 1)", GAME_FLAGS)
28093267// are these really SC1? they do more here than in SC2 at least!
2810GAME( 199?, sc1days         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "All In A Days Work (Global)", GAME_FLAGS)
2811GAME( 199?, sc1cscl         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Cash Classic (Global)", GAME_FLAGS)
2812GAME( 199?, sc1driv         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Driving School (Global)", GAME_FLAGS)
3268GAME( 199?, sc1days         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "All In A Days Work (Global) (set 1)", GAME_FLAGS)
3269GAME( 199?, sc1daysa      , sc1days   , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "All In A Days Work (Global) (set 2)", GAME_FLAGS)
3270GAME( 199?, sc1cscl         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Cash Classic (Global) (set 1)", GAME_FLAGS)
3271GAME( 199?, sc1cscla      , sc1cscl   , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Cash Classic (Global) (set 2)", GAME_FLAGS)
3272GAME( 199?, sc1csclb      , sc1cscl   , scorpion1         , scorpion1   , lotse         , 0,      "Maygay?",  "Cash Classic (Maygay/Global?) (set 3)", GAME_FLAGS)
3273GAME( 199?, sc1csclc      , sc1cscl   , scorpion1         , scorpion1   , lotse         , 0,      "Maygay",   "Cash Classic (Maygay/Global?) (set 4)", GAME_FLAGS)
3274
3275GAME( 199?, sc1driv         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Driving School (Global) (set 1)", GAME_FLAGS)
3276GAME( 199?, sc1driva      , sc1driv   , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Driving School (Global) (set 2)", GAME_FLAGS)
3277GAME( 199?, sc1drivb      , sc1driv   , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Driving School (Global) (set 3)", GAME_FLAGS)
3278GAME( 199?, sc1drivc      , sc1driv   , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Driving School (Global) (set 4)", GAME_FLAGS)
3279
28133280GAME( 199?, sc1vsd         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "Global",   "Vegas Super Deal (Global)", GAME_FLAGS)
28143281
28153282GAME( 199?, sc1wof         , 0         , scorpion1         , scorpion1   , lotse          , 0,      "Global",   "Wheel Of Fortune (Global) (set 1)", GAME_FLAGS)
r14675r14676
28203287GAME( 199?, sc1clbdy      , 0         , scorpion1         , scorpion1   , lotse           , 0,      "Global",   "Club Dynamite (Global) (set 1)", GAME_FLAGS)
28213288GAME( 199?, sc1clbdya      , sc1clbdy   , scorpion1         , scorpion1   , lotse           , 0,      "Global",   "Club Dynamite (Global) (set 2)", GAME_FLAGS)
28223289GAME( 199?, sc1chqfl      , 0         , scorpion1         , scorpion1   , lotse           , 0,      "Global",   "Chequered Flag (Global)", GAME_FLAGS)
2823GAME( 1992, sc1s1000      , 0         , scorpion1         , scorpion1   , lotse           , 0,      "Deltasoft",   "Super 1000 (Deltasoft)", GAME_FLAGS) // JT/Deltasoft Nov 1992
3290GAME( 1992, sc1s1000      , 0         , scorpion1         , scorpion1   , lotse           , 0,      "Deltasoft","Super 1000 (Deltasoft)", GAME_FLAGS) // JT/Deltasoft Nov 1992
28243291
28253292
28263293
r14675r14676
28293296GAME( 199?, sc1lamb         , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Eurocoin", "Lambada (Eurocoin) (Scorpion 1)", GAME_FLAGS) //
28303297GAME( 199?, sc1reply      , 0         , scorpion1         , scorpion1   , nocrypt      , 0,      "Eurocoin", "Replay (Eurocoin) (Scorpion 1)", GAME_FLAGS) //
28313298
2832GAME( 199?, sc1cdm      , 0         ,  scorpion1      , scorpion1      , lotse_bank0      , 0,       "Crystal",   "Club Diamond (Crystal) (Scorpion 1)", GAME_FLAGS)
2833GAME( 199?, sc1hfcc      , 0         ,  scorpion1      , scorpion1      , lotse_bank0      , 0,       "Crystal",   "Hi Flyer Club (Crystal) (Scorpion 1)", GAME_FLAGS)
3299GAME( 199?, sc1cdm         , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,      "Crystal",  "Club Diamond (Crystal) (set 1) (Scorpion 1)", GAME_FLAGS)
3300GAME( 199?, sc1cdmp         , sc1cdm   , scorpion1         , scorpion1   , lotse_bank0   , 0,      "Crystal",  "Club Diamond (Crystal) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS)
28343301
2835GAME( 199?, sc1twice      , 0         ,  scorpion1      , scorpion1      , lotse_bank0      , 0,       "Associated Leisure",   "Twice As Nice (Associated Leisure) (Scorpion 1)", GAME_FLAGS) // this has valid strings in it BEFORE the bfm decode, but decodes to valid code, does it use some funky mapping, or did they just fill unused space with valid looking data?
2836GAME( 199?, sc1chain         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Chain Reaction (Bellfruit) (Scorpion 1)", GAME_FLAGS)
3302GAME( 199?, sc1hfcc         , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,      "Crystal",  "Hi Flyer Club (Crystal) (set 1) (Scorpion 1)", GAME_FLAGS)
3303GAME( 199?, sc1hfccp      , sc1hfcc   , scorpion1         , scorpion1   , lotse_bank0   , 0,      "Crystal",  "Hi Flyer Club (Crystal) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS)
3304
3305GAME( 199?, sc1twice      , 0         , scorpion1         , scorpion1   , lotse_bank0   , 0,      "Associated Leisure",   "Twice As Nice (Associated Leisure) (Scorpion 1)", GAME_FLAGS) // this has valid strings in it BEFORE the bfm decode, but decodes to valid code, does it use some funky mapping, or did they just fill unused space with valid looking data?
3306GAME( 199?, sc1chain      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Chain Reaction (Bellfruit) (set 1) (Scorpion 1)", GAME_FLAGS)
3307GAME( 199?, sc1chainp      , sc1chain   , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Chain Reaction (Bellfruit) (set 1, Protocol) (Scorpion 1)", GAME_FLAGS)
3308GAME( 199?, sc1chaina      , sc1chain   , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Chain Reaction (Bellfruit) (set 2) (Scorpion 1)", GAME_FLAGS)
3309
28373310GAME( 199?, sc1potp         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Pick Of The Pack (Bellfruit) (Scorpion 1)", GAME_FLAGS) //was mixed with the sc4/5 potp roms..  System status 98
2838GAME( 199?, sc1potpa         , sc1potp         , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Double Dealer (Bellfruit) (Scorpion 1)", GAME_FLAGS) // ^ with above.. seems the same game, but different name
3311GAME( 199?, sc1potpa      , sc1potp   , scorpion1         , scorpion1   , lotse         , 0,      "BFM",      "Double Dealer (Bellfruit) (Scorpion 1)", GAME_FLAGS) // ^ with above.. seems the same game, but different name
28393312
28403313
2841GAME( 199?, sc1scunk         , 0         , scorpion1         , scorpion1   , lotse         , 0,      "<unknown>",      "unknown Scorpion 1 'Super ?' (Bellfruit) (Scorpion 1)", GAME_FLAGS) // ^ with above.. seems the same game, but different name
3314GAME( 199?, sc1scunk      , 0         , scorpion1         , scorpion1   , lotse         , 0,      "<unknown>",      "unknown Scorpion 1 'Super ?' (Bellfruit) (Scorpion 1)", GAME_FLAGS) // ^ with above.. seems the same game, but different name
28423315
28433316
28443317//Adder 2
2845GAME( 1996, m_tppokr, 0,        scorpion1_adder2   , toppoker   , toppoker      , 0,       "BFM/ELAM",    "Top Poker (Dutch, Game Card 95-750-899)", GAME_FLAGS )
3318GAME( 1996, m_tppokr      , 0         ,  scorpion1_adder2   , toppoker   , toppoker      , 0,       "BFM/ELAM",    "Top Poker (Dutch, Game Card 95-750-899)", GAME_FLAGS )
28463319
28473320
src/mame/drivers/mediagx.c
r14675r14676
6262    74F244 (x2, SOIC20)
6363    ST ULN2064B (DIP16)
6464
65Notes related to Area 51: Site 4 from:
66http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=276606
67
68Regarding the (a51site4a.chd)
69
70I own a dedicated cab and have sold HD replacements that use an SD card and
71IDE adapter.  So I have done some research and have purchased enough board sets
72and HD's that I have some idea what I'm talking about.  Anyhoo, The currently
73supported image is Rev. 2.01 as is still sold by happ.  The only difference
74between the current MAME chd and a fresh Happ HD is that the MAME chd has had
75it's serial # cleared, but it STILL has statistical data saved. IE. credits
76inserted, games played, play times, etc...  I know it's that version by the size
77of the CHD. I have compressed several STOCK HD's including my own and they all are
78the same size.  The only HD that I have compressed that was the same as the currently
79supported chd was a happ replacement HD.  So in conclusion, There are two different
80versions of the Area 51 Site 4 HD one that was shipped in dedicated cabs dated
81Sep. 11 1998 and another Rev. 2.01 dated Sep. 7 1998 for whatever reason I cannot say.
82
83I do have clean copies of both in chd format, stripped of ALL statistical info. but
84they still retain their serial #'s.  BTW: I did use chdman to copy the currently
85supported chd to a card and put it in my cab just to clear all the stats and make a clean
86copy as it should be.  Also, Just to be clear the size of the chd is not determined by
87the original HD as I'm talking about their size after using chdman to put them onto a
88SD card and then using chdman to make a chd from the SD card. They are different sizes!
89
90-ninjakid
91
9265*/
9366
9467#include "emu.h"
r14675r14676
13581331   DISK_IMAGE( "a51site4", 0, SHA1(48496666d1613700ae9274f9a5361ea5bbaebea0) )
13591332ROM_END
13601333
1361ROM_START( a51site4a )
1334ROM_START( a51site4a ) /* When dumped connected straight to IDE the cylinders were 4968 and heads were 16 */
13621335   ROM_REGION32_LE(0x40000, "bios", 0)
13631336   ROM_SYSTEM_BIOS(0, "new", "v1.0h" )
13641337   ROMX_LOAD("a51s4_bios_09-15-98.u1", 0x00000, 0x40000, CRC(f8cd6a6b) SHA1(75f851ae21517b729a5596ce5e042ebfaac51778), ROM_BIOS(1)) /* Build date 09/15/98 string stored at 0x3fff5 */
r14675r14676
13691342   ROM_LOAD("cga.chr",     0x00000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
13701343
13711344   DISK_REGION( "drive_0" )
1372// Not sure why this does not boot.  Information (at the top of the driver) might indicate this as an SD Card bootleg of the original HD.
1373   DISK_IMAGE( "a51site4a", 0, SHA1(a0962b35c265154e571f973a819efdd06109e543) )
1345   DISK_IMAGE( "a51site4a", 0, SHA1(4de421e4d1708ecbdfb50730000814a1ea36a044) )
13741346ROM_END
13751347
13761348
src/mame/drivers/gottlieb.c
r14675r14676
194194***************************************************************************/
195195
196196#include "emu.h"
197#include "cpu/i86/i86.h"
198197#include "machine/6532riot.h"
199198#include "sound/ay8910.h"
200199#include "sound/dac.h"
r14675r14676
693692 *  Main CPU memory handlers
694693 *
695694 *************************************/
695 
696static WRITE8_HANDLER( gottlieb_sh_w )
697{
698   gottlieb_state *state = space->machine().driver_data<gottlieb_state>();
699   if (state->m_r1_sound != NULL)
700      state->m_r1_sound->write(*space, offset, data);
701   if (state->m_r2_sound != NULL)
702      state->m_r2_sound->write(*space, offset, data);
703}
696704
697705static ADDRESS_MAP_START( reactor_map, AS_PROGRAM, 8 )
698706   ADDRESS_MAP_GLOBAL_MASK(0xffff)
r14675r14676
791799   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_COIN2 )
792800   PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNKNOWN )
793801
794   PORT_INCLUDE(gottlieb1_sound)
795
796802   PORT_START("TRACKX")   /* trackball H */
797803   PORT_BIT( 0xff, 0, IPT_TRACKBALL_X ) PORT_SENSITIVITY(15) PORT_KEYDELTA(20)
798804
r14675r14676
848854   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
849855   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
850856   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
851
852   PORT_INCLUDE(gottlieb1_sound)
853857INPUT_PORTS_END
854858
855859
r14675r14676
904908   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
905909   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
906910   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
907
908   PORT_INCLUDE(gottlieb1_sound)
909911INPUT_PORTS_END
910912
911913
r14675r14676
957959   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
958960   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
959961   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
960
961   PORT_INCLUDE(gottlieb1_sound)
962962INPUT_PORTS_END
963963
964964
r14675r14676
10141014
10151015   PORT_START("TRACKY")
10161016   PORT_BIT( 0xff, 0, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(15) PORT_KEYDELTA(20)
1017
1018   PORT_INCLUDE(gottlieb1_sound)
10191017INPUT_PORTS_END
10201018
10211019
r14675r14676
10691067
10701068   PORT_START("TRACKY")
10711069   PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(5) PORT_KEYDELTA(10) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X)
1072
1073   PORT_INCLUDE(gottlieb1_sound)
10741070INPUT_PORTS_END
10751071
10761072
r14675r14676
11241120   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_RIGHT ) PORT_8WAY
11251121   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN ) PORT_8WAY
11261122   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_LEFT ) PORT_8WAY
1127
1128   PORT_INCLUDE(gottlieb1_sound)
11291123INPUT_PORTS_END
11301124
11311125
r14675r14676
11701164   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 )
11711165   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START1 )
11721166   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START2 )
1173
1174   PORT_INCLUDE(gottlieb1_sound)
11751167INPUT_PORTS_END
11761168
11771169
r14675r14676
12321224   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
12331225   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
12341226   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1235
1236   PORT_INCLUDE(gottlieb1_sound)
12371227INPUT_PORTS_END
12381228
12391229
r14675r14676
12931283   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
12941284   PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("Bunt") PORT_PLAYER(1)
12951285   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1296
1297   PORT_INCLUDE(gottlieb1_sound)
12981286INPUT_PORTS_END
12991287
13001288
r14675r14676
13491337   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Start 1P") PORT_PLAYER(1)
13501338   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
13511339   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1352
1353   PORT_INCLUDE(gottlieb2_sound)
13541340INPUT_PORTS_END
13551341
13561342
r14675r14676
14051391   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
14061392   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 )
14071393   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1408
1409   PORT_INCLUDE(gottlieb2_sound)
14101394INPUT_PORTS_END
14111395
14121396static INPUT_PORTS_START( cobram3 )
r14675r14676
14601444   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
14611445   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 )
14621446   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1463
1464   PORT_INCLUDE(gottlieb2_sound)
14651447INPUT_PORTS_END
14661448
14671449
r14675r14676
15071489   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 )
15081490   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON3 )
15091491   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1510
1511   PORT_INCLUDE(gottlieb2_sound)
15121492INPUT_PORTS_END
15131493
15141494
r14675r14676
15751555   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3)
15761556   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3)
15771557   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3)
1578
1579   PORT_INCLUDE(gottlieb2_sound)
15801558INPUT_PORTS_END
15811559
15821560
r14675r14676
16281606   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
16291607   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 )
16301608   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
1631
1632   PORT_INCLUDE(gottlieb2_sound)
16331609INPUT_PORTS_END
16341610
16351611
r14675r14676
16821658
16831659   PORT_START("TRACKY")
16841660   PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(15) PORT_KEYDELTA(15) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X)
1685
1686   PORT_INCLUDE(gottlieb2_sound)
16871661INPUT_PORTS_END
16881662
16891663
r14675r14676
17391713
17401714/*************************************
17411715 *
1742 *  Sound interfaces
1743 *
1744 *************************************/
1745
1746static const char *const reactor_sample_names[] =
1747{
1748   "*reactor",
1749   "fx_53", /* "8 left" */
1750   "fx_54", /* "16 left" */
1751   "fx_55", /* "24 left" */
1752   "fx_56", /* "32 left" */
1753   "fx_57", /* "40 left" */
1754   "fx_58", /* "warning, core unstable" */
1755   "fx_59", /* "bonus" */
1756   "fx_31", /* "chamber activated" */
1757   "fx_39a", /* "2000" */
1758   "fx_39b", /* "5000" */
1759   "fx_39c", /* "10000" */
1760   "fx_39d", /* "15000" */
1761   "fx_39e", /* "20000" */
1762   "fx_39f", /* "25000" */
1763   "fx_39g", /* "30000" */
1764   "fx_39h", /* "35000" */
1765   "fx_39i", /* "40000" */
1766   "fx_39j", /* "45000" */
1767   "fx_39k", /* "50000" */
1768   "fx_39l", /* "55000" */
1769     0   /* end of array */
1770};
1771
1772static const char *const qbert_sample_names[] =
1773{
1774   "*qbert",
1775   "fx_17a", /* random speech, voice clock 255 */
1776   "fx_17b", /* random speech, voice clock 255 */
1777   "fx_17c", /* random speech, voice clock 255 */
1778   "fx_17d", /* random speech, voice clock 255 */
1779   "fx_17e", /* random speech, voice clock 255 */
1780   "fx_17f", /* random speech, voice clock 255 */
1781   "fx_17g", /* random speech, voice clock 255 */
1782   "fx_17h", /* random speech, voice clock 255 */
1783   "fx_18a", /* random speech, voice clock 176 */
1784   "fx_18b", /* random speech, voice clock 176 */
1785   "fx_18c", /* random speech, voice clock 176 */
1786   "fx_18d", /* random speech, voice clock 176 */
1787   "fx_18e", /* random speech, voice clock 176 */
1788   "fx_18f", /* random speech, voice clock 176 */
1789   "fx_18g", /* random speech, voice clock 176 */
1790   "fx_18h", /* random speech, voice clock 176 */
1791   "fx_19a", /* random speech, voice clock 128 */
1792   "fx_19b", /* random speech, voice clock 128 */
1793   "fx_19c", /* random speech, voice clock 128 */
1794   "fx_19d", /* random speech, voice clock 128 */
1795   "fx_19e", /* random speech, voice clock 128 */
1796   "fx_19f", /* random speech, voice clock 128 */
1797   "fx_19g", /* random speech, voice clock 128 */
1798   "fx_19h", /* random speech, voice clock 128 */
1799   "fx_20a", /* random speech, voice clock 96 */
1800   "fx_20b", /* random speech, voice clock 96 */
1801   "fx_20c", /* random speech, voice clock 96 */
1802   "fx_20d", /* random speech, voice clock 96 */
1803   "fx_20e", /* random speech, voice clock 96 */
1804   "fx_20f", /* random speech, voice clock 96 */
1805   "fx_20g", /* random speech, voice clock 96 */
1806   "fx_20h", /* random speech, voice clock 96 */
1807   "fx_21a", /* random speech, voice clock 62 */
1808   "fx_21b", /* random speech, voice clock 62 */
1809   "fx_21c", /* random speech, voice clock 62 */
1810   "fx_21d", /* random speech, voice clock 62 */
1811   "fx_21e", /* random speech, voice clock 62 */
1812   "fx_21f", /* random speech, voice clock 62 */
1813   "fx_21g", /* random speech, voice clock 62 */
1814   "fx_21h", /* random speech, voice clock 62 */
1815   "fx_22", /* EH2 with decreasing voice clock */
1816   "fx_23", /* O1 with varying voice clock */
1817   "fx_28",
1818   "fx_36",
1819   "knocker",
1820   0   /* end of array */
1821};
1822
1823static const samples_interface qbert_samples_interface =
1824{
1825   1,   /* one channel */
1826   qbert_sample_names
1827};
1828
1829static const samples_interface reactor_samples_interface =
1830{
1831   1,   /* one channel */
1832   reactor_sample_names
1833};
1834
1835
1836
1837/*************************************
1838 *
18391716 *  Core machine drivers
18401717 *
18411718 *************************************/
r14675r14676
18621739
18631740   MCFG_VIDEO_START(gottlieb)
18641741
1865   /* sound hardware */
1742   // basic speaker configuration
18661743   MCFG_SPEAKER_STANDARD_MONO("mono")
18671744MACHINE_CONFIG_END
18681745
18691746
18701747static MACHINE_CONFIG_DERIVED( gottlieb1, gottlieb_core )
1871   MCFG_FRAGMENT_ADD(gottlieb_soundrev1)
1748   MCFG_GOTTLIEB_SOUND_R1_ADD("r1sound")
1749   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
18721750MACHINE_CONFIG_END
18731751
18741752
1753static MACHINE_CONFIG_DERIVED( gottlieb1_votrax, gottlieb_core )
1754   MCFG_GOTTLIEB_SOUND_R1_ADD_VOTRAX("r1sound")
1755   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
1756MACHINE_CONFIG_END
1757
1758
18751759static MACHINE_CONFIG_DERIVED( gottlieb2, gottlieb_core )
1876   MCFG_FRAGMENT_ADD(gottlieb_soundrev2)
1760   MCFG_GOTTLIEB_SOUND_R2_ADD("r2sound")
1761   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
18771762MACHINE_CONFIG_END
18781763
18791764
18801765static MACHINE_CONFIG_DERIVED( g2laser, gottlieb_core )
1881   MCFG_FRAGMENT_ADD(gottlieb_soundrev2)
1766   MCFG_GOTTLIEB_SOUND_R2_ADD("r2sound")
1767   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
18821768
18831769   MCFG_LASERDISC_PR8210_ADD("laserdisc")
18841770   MCFG_LASERDISC_AUDIO(laserdisc_audio_delegate(FUNC(laserdisc_audio_process), device))
r14675r14676
18921778MACHINE_CONFIG_END
18931779
18941780
1781
18951782/*************************************
18961783 *
18971784 *  Specific machine drivers
18981785 *
18991786 *************************************/
19001787
1788#if USE_FAKE_VOTRAX
1789
19011790static MACHINE_CONFIG_DERIVED( reactor, gottlieb1 )
19021791
19031792   /* basic machine hardware */
r14675r14676
19051794   MCFG_CPU_PROGRAM_MAP(reactor_map)
19061795
19071796   MCFG_DEVICE_REMOVE("nvram")
1908
1909   /* sound hardware */
1910   MCFG_SAMPLES_ADD("samples", reactor_samples_interface)
1911   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
1797   MCFG_FRAGMENT_ADD(reactor_samples)
19121798MACHINE_CONFIG_END
19131799
19141800
19151801static MACHINE_CONFIG_DERIVED( qbert, gottlieb1 )
1802   MCFG_FRAGMENT_ADD(qbert_samples)
1803MACHINE_CONFIG_END
19161804
1917   /* video hardware */
1918   MCFG_SAMPLES_ADD("samples", qbert_samples_interface)
1919   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
1805#else
1806
1807static MACHINE_CONFIG_DERIVED( reactor, gottlieb1_votrax )
1808
1809   /* basic machine hardware */
1810   MCFG_CPU_MODIFY("maincpu")
1811   MCFG_CPU_PROGRAM_MAP(reactor_map)
1812
1813   MCFG_DEVICE_REMOVE("nvram")
19201814MACHINE_CONFIG_END
19211815
19221816
1817static MACHINE_CONFIG_DERIVED( qbert, gottlieb1_votrax )
1818MACHINE_CONFIG_END
1819
1820#endif
1821
1822
19231823static MACHINE_CONFIG_DERIVED( screwloo, gottlieb2 )
19241824
19251825   MCFG_VIDEO_START(screwloo)
19261826MACHINE_CONFIG_END
19271827
19281828static MACHINE_CONFIG_DERIVED( cobram3, gottlieb_core )
1929   MCFG_FRAGMENT_ADD(gottlieb_cobram3_soundrev2)
1829   MCFG_GOTTLIEB_SOUND_R2_ADD_COBRAM3("r2sound")
1830   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
19301831
19311832   MCFG_LASERDISC_PR8210_ADD("laserdisc")
19321833   MCFG_LASERDISC_AUDIO(laserdisc_audio_delegate(FUNC(laserdisc_audio_process), device))
r14675r14676
19391840   MCFG_LASERDISC_SCREEN_ADD_NTSC("screen", "laserdisc")
19401841
19411842   /* sound hardware */
1942   MCFG_SOUND_MODIFY("dac1")
1843   MCFG_SOUND_MODIFY("r2sound:dac")
19431844   MCFG_SOUND_ROUTES_RESET()
1944   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
1845   MCFG_SOUND_ROUTE(ALL_OUTPUTS, DEVICE_SELF_OWNER, 1.00)
19451846MACHINE_CONFIG_END
19461847
19471848
r14675r14676
19621863   ROM_LOAD( "rom1",         0xe000, 0x1000, CRC(944e1ddf) SHA1(6b487f1cb405e2ba9345190e8ab6022c790882c1) )
19631864   ROM_LOAD( "rom0",         0xf000, 0x1000, CRC(55930aed) SHA1(37ed60386935741e8cc0b8750bfcdf6f54c1bf9e) )
19641865
1965   ROM_REGION( 0x10000, "audiocpu", 0 )
1866   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
19661867   ROM_LOAD( "snd1",         0x7000, 0x800, CRC(d958a0fd) SHA1(3c383076c68a929f96d844e89b09f3075f331906) )
19671868   ROM_LOAD( "snd2",         0x7800, 0x800, CRC(5dc86942) SHA1(a449fcfb25521a0e7523184518b5204dac56e5f8) )
19681869
r14675r14676
19831884   ROM_LOAD( "qb-rom1.bin",  0xc000, 0x2000, CRC(55635447) SHA1(ca6acdef1c9e06b33efe1f0a2df2dfb03723cfbe) )
19841885   ROM_LOAD( "qb-rom0.bin",  0xe000, 0x2000, CRC(8e318641) SHA1(7f8f66d1e6a7905e93cce07fc92e8801370b7194) )
19851886
1986   ROM_REGION( 0x10000, "audiocpu", 0 )
1887   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
19871888   ROM_LOAD( "qb-snd1.bin",  0x7000, 0x800, CRC(15787c07) SHA1(8b7d03fbf2ebaa71b3a7e2f636a0d1bb9b796e43) )
19881889   ROM_LOAD( "qb-snd2.bin",  0x7800, 0x800, CRC(58437508) SHA1(09d8053e7e99679b602dcda230d64db7fe6cb7f5) )
19891890
r14675r14676
20041905   ROM_LOAD( "qrom_1.bin",  0xc000, 0x2000, CRC(19d924e3) SHA1(af55ecb5b650e7b069d8be67eb9a9d0f3e69e3f1) )
20051906   ROM_LOAD( "qrom_0.bin",  0xe000, 0x2000, CRC(2e7fad1b) SHA1(5c1feafe00c21ddddde67ab0093e847a5fc9ec2d) )
20061907
2007   ROM_REGION( 0x10000, "audiocpu", 0 )
1908   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
20081909   ROM_LOAD( "qb-snd1.bin",  0x7000, 0x800, CRC(15787c07) SHA1(8b7d03fbf2ebaa71b3a7e2f636a0d1bb9b796e43) )
20091910   ROM_LOAD( "qb-snd2.bin",  0x7800, 0x800, CRC(58437508) SHA1(09d8053e7e99679b602dcda230d64db7fe6cb7f5) )
20101911
r14675r14676
20251926   ROM_LOAD( "qbj-rom1.bin", 0xc000, 0x2000, CRC(c61216e7) SHA1(e727b85dddc2963e33af6c02b675243f6fbe2710) )
20261927   ROM_LOAD( "qbj-rom0.bin", 0xe000, 0x2000, CRC(69679d5c) SHA1(996d45517d0c01a1952fead05dbe201dbb7dca35) )
20271928
2028   ROM_REGION( 0x10000, "audiocpu", 0 )
1929   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
20291930   ROM_LOAD( "qb-snd1.bin",  0x7000, 0x800, CRC(15787c07) SHA1(8b7d03fbf2ebaa71b3a7e2f636a0d1bb9b796e43) )
20301931   ROM_LOAD( "qb-snd2.bin",  0x7800, 0x800, CRC(58437508) SHA1(09d8053e7e99679b602dcda230d64db7fe6cb7f5) )
20311932
r14675r14676
20461947   ROM_LOAD( "mqb-rom1.bin",  0xc000, 0x2000, CRC(11f0a4e4) SHA1(a805e51c40042fae209ace277abd9b35a990905b) )
20471948   ROM_LOAD( "mqb-rom0.bin",  0xe000, 0x2000, CRC(12a90cb2) SHA1(a33203aea79fe43d1233a16e3fdddaceac6e4a20) )
20481949
2049   ROM_REGION( 0x10000, "audiocpu", 0 )
1950   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
20501951   ROM_LOAD( "mqb-snd1.bin",  0x7000, 0x800, CRC(495ffcd2) SHA1(b2c16fffbd6af1c17fdb1a99844819e6ee0550ee) )
20511952   ROM_LOAD( "mqb-snd2.bin",  0x7800, 0x800, CRC(9bbaa945) SHA1(13791b69cd6f426ad77a7d0537b10012feb0bc87) )
20521953
r14675r14676
20671968   ROM_LOAD( "qbtst1.bin",   0xc000, 0x2000, CRC(e97fdd78) SHA1(98dd07043a72273240c593650aa9947199347870) )
20681969   ROM_LOAD( "qbtst0.bin",   0xe000, 0x2000, CRC(94c9f588) SHA1(f586bcd8e6762614bed634a007508abea071754c) )
20691970
2070   ROM_REGION( 0x10000, "audiocpu", 0 )
1971   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
20711972   ROM_LOAD( "qb-snd1.bin",  0x7000, 0x800, CRC(15787c07) SHA1(8b7d03fbf2ebaa71b3a7e2f636a0d1bb9b796e43) )
20721973   ROM_LOAD( "qb-snd2.bin",  0x7800, 0x800, CRC(58437508) SHA1(09d8053e7e99679b602dcda230d64db7fe6cb7f5) )
20731974
r14675r14676
20891990   ROM_LOAD( "qb-rom1.bin",  0xc000, 0x2000, CRC(55635447) SHA1(ca6acdef1c9e06b33efe1f0a2df2dfb03723cfbe) )
20901991   ROM_LOAD( "gv103_t-ball-test_rom0_2764.c11c12",  0xe000, 0x2000, CRC(5d390cd2) SHA1(9031926a6f6179e340b67c3a7949062b4a75e3cf) )
20911992
2092   ROM_REGION( 0x10000, "audiocpu", 0 )
1993   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
20931994   ROM_LOAD( "qb-snd1.bin",  0x7000, 0x800, CRC(15787c07) SHA1(8b7d03fbf2ebaa71b3a7e2f636a0d1bb9b796e43) )
20941995   ROM_LOAD( "qb-snd2.bin",  0x7800, 0x800, CRC(58437508) SHA1(09d8053e7e99679b602dcda230d64db7fe6cb7f5) )
20951996
r14675r14676
21122013   ROM_LOAD( "rom1",         0xc000, 0x2000, CRC(706962af) SHA1(e40b567fdf6a3f7c6485808b4db45cea322c7724) )
21132014   ROM_LOAD( "rom0",         0xe000, 0x2000, CRC(31cee24b) SHA1(3d21f5d530cc022f9633ad487e13a664848dd3e6) )
21142015
2115   ROM_REGION( 0x10000, "audiocpu", 0 )
2016   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
21162017   ROM_LOAD( "gv106s.bin",   0x7000, 0x1000, CRC(25bcc8bc) SHA1(adf401901f1479a5bffaed85135669b1133334b4) )
21172018
21182019   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
21342035   ROM_LOAD( "tylz.r4",         0xc000, 0x2000, CRC(657c3d2e) SHA1(9908a2dd5109e632dff38b8b4b56160615355200) )
21352036   ROM_LOAD( "tylz.n4",         0xe000, 0x2000, CRC(b2a15510) SHA1(15db4d1a2fb70d8111940246cd7a8ae06403cac5) )
21362037
2137   ROM_REGION( 0x10000, "audiocpu", 0 )
2038   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
21382039   ROM_LOAD( "tylz.f2",   0x7000, 0x1000, CRC(ebcedba9) SHA1(94aee8e32bdc80bbc5dc1423ca97597bdb9d808c) )
21392040
21402041   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
21592060   ROM_LOAD( "arg_rom1_2764.c12c13",     0xc000, 0x2000, CRC(733d3d44) SHA1(03c11e89ed6906c0383dc19c0db2d21ebe69b128) )
21602061   ROM_LOAD( "arg_rom0_2764.c11c12",     0xe000, 0x2000, CRC(e1906355) SHA1(4735370ff0dfe381358dfa41d82fab455ec3c016) )
21612062
2162   ROM_REGION( 0x10000, "audiocpu", 0 )
2063   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
21632064   ROM_LOAD( "arg_snd1_2716.u5",  0x7000, 0x800, CRC(3a6cf455) SHA1(0c701aa4d956947a101212b494b030cd2df5a2d6) )
21642065   ROM_LOAD( "arg_snd2_2716.u6",  0x7800, 0x800, CRC(ddf32040) SHA1(61ae22faa013b29a5fbd9520073f172a98ca38ec) )
21652066
r14675r14676
21842085
21852086   /* note from f205v: my original Gottlieb PCB only sports one 2732 sound EPROM labeled "snd.3h"
21862087    It contains the two joint roms you can find herefollowing, therefore the sound is identical */
2187   ROM_REGION( 0x10000, "audiocpu", 0 )
2088   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
21882089   ROM_LOAD( "snd1",         0x7000, 0x0800, CRC(453193a1) SHA1(317ec81f71661eaa92624c0304a52b635dcd5613) )
21892090   ROM_LOAD( "snd2",         0x7800, 0x0800, CRC(f5ffc98f) SHA1(516e895df94942fc51f1b51eb9316d4296df82e7) )
21902091
r14675r14676
22072108   ROM_LOAD( "mpt_rom1.bin", 0xc000, 0x2000, CRC(94d67b87) SHA1(2cbf09f0ba3b6769de90d8f61913fec3010553e2) )
22082109   ROM_LOAD( "mpt_rom0.bin", 0xe000, 0x2000, CRC(a9e30ad2) SHA1(39d830dda92ab5a6dbb44943be92bca0464e64e0) )
22092110
2210   ROM_REGION( 0x10000, "audiocpu", 0 )
2111   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
22112112   ROM_LOAD( "mpt_snd1.bin", 0x7000, 0x800, CRC(453193a1) SHA1(317ec81f71661eaa92624c0304a52b635dcd5613) )
22122113   ROM_LOAD( "mpt_snd2.bin", 0x7800, 0x800, CRC(f5ffc98f) SHA1(516e895df94942fc51f1b51eb9316d4296df82e7) )
22132114
r14675r14676
22332134   ROM_LOAD( "rom1.bin",     0xc000, 0x2000, CRC(1ad956a3) SHA1(f5b74b196fe1bd9ab48336e0051cbf29c650cfc1) )
22342135   ROM_LOAD( "rom0.bin",     0xe000, 0x2000, CRC(a466afae) SHA1(d691cbb46e8c3b71f9b1688d7fcef36df82aa854) )
22352136
2236   ROM_REGION( 0x10000, "audiocpu", 0 )
2137   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
22372138   ROM_LOAD( "snd1.bin",     0x6000, 0x1000, CRC(dd2b30b4) SHA1(f01cb64932493bf69d4fc75a7fa809ff6f6e4263) )
22382139   ROM_LOAD( "snd2.bin",     0x7000, 0x1000, CRC(8cab901b) SHA1(b886532828efc8cf442e2ee4ebbfe37acd489f62) )
22392140
r14675r14676
22552156   ROM_LOAD( "gv112_rom1_2764.c12c13", 0xc000, 0x2000, CRC(5b340640) SHA1(8ccad017d5b9b748327baf22ff51d30ee96cb25e) )
22562157   ROM_LOAD( "gv112_rom0_2764.c11c12", 0xe000, 0x2000, CRC(620dc629) SHA1(0d94b7c50ef499eb9bb3f4986a8d29547181f7ea) )
22572158
2258   ROM_REGION( 0x10000, "audiocpu", 0 )
2159   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
22592160   ROM_LOAD( "gv112_snd",              0x7000, 0x1000, NO_DUMP )
22602161
22612162   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
22762177   ROM_LOAD( "qb-rom1.bin",  0xc000, 0x2000, CRC(eaf3076c) SHA1(749a87b3c40ba0a2ecd2ca962786e066daf63e30) )
22772178   ROM_LOAD( "qb-rom0.bin",  0xe000, 0x2000, CRC(61260a7e) SHA1(e2028a453aa34aaffa2c465f64a963504315df3c) )
22782179
2279   ROM_REGION( 0x10000, "audiocpu", 0 )
2180   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
22802181   ROM_LOAD( "qb-snd1.bin",  0x7000, 0x800, CRC(15787c07) SHA1(8b7d03fbf2ebaa71b3a7e2f636a0d1bb9b796e43) )
22812182   ROM_LOAD( "qb-snd2.bin",  0x7800, 0x800, CRC(58437508) SHA1(09d8053e7e99679b602dcda230d64db7fe6cb7f5) )
22822183
r14675r14676
22992200   ROM_LOAD( "qq-rom1.bin",  0xc000, 0x2000, CRC(63e6c43d) SHA1(9435eb06dc069e5bf1c439f0c772fef3183745b0) )
23002201   ROM_LOAD( "qq-rom0.bin",  0xe000, 0x2000, CRC(8ddbe438) SHA1(31112d711af5d4039491e99a0be0c088b3272482) )
23012202
2302   ROM_REGION( 0x10000, "audiocpu", 0 )
2203   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
23032204   ROM_LOAD( "qq-snd1.bin",  0x7000, 0x800, CRC(e704b450) SHA1(d509f54658e9f0264b9ab865a6f36e5423a28904) )
23042205   ROM_LOAD( "qq-snd2.bin",  0x7800, 0x800, CRC(c6a98bf8) SHA1(cc5b5bb5966f5d79226f1f665a3f9fc934f4ef7f) )
23052206
r14675r14676
23222223   ROM_LOAD( "cb-rom-1.chp", 0xc000, 0x2000, CRC(eb1e08bd) SHA1(f558664df12e4e15ef2779a0bdf99538f8c43ca3) )
23232224   ROM_LOAD( "cb-rom-0.chp", 0xe000, 0x2000, CRC(401fc7e3) SHA1(86ca53cb6f1d88d5a95baa9524c6b42a1f7fc9c2) )
23242225
2325   ROM_REGION( 0x10000, "audiocpu", 0 )
2226   ROM_REGION( 0x10000, "r1sound:audiocpu", 0 )
23262227   ROM_LOAD( "yrom.sbd",     0x6000, 0x1000, CRC(4c313d9b) SHA1(c61a8c827f4b199fdfb6ffc0bc6cca396c73625e) )
23272228   ROM_LOAD( "drom.sbd",     0x7000, 0x1000, CRC(cecece88) SHA1(4c6639f6f89f80b04b6ffbb5004ea2121e71f504) )
23282229
r14675r14676
23462247   ROM_LOAD( "rom1",         0xc000, 0x2000, CRC(571b65ca) SHA1(75077f4fab296b3802271fa77af588003570cde6) )
23472248   ROM_LOAD( "rom0",         0xe000, 0x2000, CRC(6447fe54) SHA1(6391c841cafd35dd315d9fac99ed5d8304018747) )
23482249
2349   ROM_REGION( 0x10000, "audiocpu", 0 )
2250   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
23502251   ROM_LOAD( "drom1",        0xc000, 0x2000, CRC(ae965ade) SHA1(84a690cba8990fe6406b7cfbd6ea643a48446567) )
23512252
2352   ROM_REGION( 0x10000, "speech", 0 )
2253   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
23532254   ROM_LOAD( "yrom1",        0xe000, 0x2000, CRC(3719b0b5) SHA1(4f215ca2f15956374c4cd9484b6798f1c4d60fc7) )
23542255
23552256   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
23722273   ROM_LOAD( "m3rom1.bin",   0xc000, 0x2000, CRC(3b0ba80b) SHA1(bc7e961311b40f05f2998f10f0a68f2e515c8e66) )
23732274   ROM_LOAD( "m3rom0.bin",   0xe000, 0x2000, CRC(70c12bf4) SHA1(c26127b6e2a16791b3be8abac93be6af4f30fb3b) )
23742275
2375   ROM_REGION( 0x10000, "audiocpu", 0 )
2276   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
23762277   ROM_LOAD( "m3drom1.bin",  0xd000, 0x1000, CRC(a6e29212) SHA1(a73aafc2efa99e9ae0aecbb6075a10f7178ac938) )
23772278
2378   ROM_REGION( 0x10000, "speech", 0 )
2279   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
23792280   ROM_LOAD( "m3yrom1.bin",  0xf000, 0x1000, CRC(eddf8872) SHA1(29ed0d1828639849bab826b3e2ab4eefac45fd85) )
23802281
23812282   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
24002301   ROM_LOAD( "bh01",   0xc000, 0x2000, CRC(7d86ab08) SHA1(26b7eb089ca3fe3f8b1531316ce8f95e33b380e5) )
24012302   ROM_LOAD( "bh00",   0xe000, 0x2000, CRC(c19ad038) SHA1(4d20ae70d8ad1eaa61cb91d7a0cff6932fce30d2) )
24022303
2403   ROM_REGION( 0x10000, "audiocpu", 0 )
2304   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
24042305   ROM_LOAD( "m3drom1.bin",  0xd000, 0x1000, CRC(a6e29212) SHA1(a73aafc2efa99e9ae0aecbb6075a10f7178ac938) )
24052306
2406   ROM_REGION( 0x10000, "speech", 0 )
2307   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
24072308   ROM_LOAD( "bh04",   0xe000, 0x2000, CRC(c3f61bc9) SHA1(d02374e6e29238def0cfb01c96c78b206f24d77e) )
24082309
24092310   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
24292330   ROM_LOAD( "usvs.rm1",     0xc000, 0x2000, CRC(697bc989) SHA1(ebfc0868f949e5aba1efb8fbce06f795888d8e00) )
24302331   ROM_LOAD( "usvs.rm0",     0xe000, 0x2000, CRC(30cf6bd9) SHA1(527ad3b96ea4a77f6d6f8a89a9215da490292297) )
24312332
2432   ROM_REGION( 0x10000, "audiocpu", 0 )
2333   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
24332334   ROM_LOAD( "usvsdrom.1",   0xc000, 0x2000, CRC(c0b5cab0) SHA1(b18e8fd9837bb52d6b3d86f2b652f6573c7cd3b3) )
24342335
2435   ROM_REGION( 0x10000, "speech", 0 )
2336   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
24362337   ROM_LOAD( "usvsyrom.1",   0xe000, 0x2000, CRC(c3d245ca) SHA1(d281b139ae6c58e855b2914a24ca4bc5f8800681) )
24372338
24382339   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
24592360   ROM_LOAD( "gv113rom.1",   0xc000, 0x2000, CRC(34ab051e) SHA1(df416aaf34d6bbbdd79ae633842355a292ed935d) )
24602361   ROM_LOAD( "gv113rom.0",   0xe000, 0x2000, CRC(ab124329) SHA1(de1bc721eea74426035eec10a389f77b435aa9b9) )
24612362
2462   ROM_REGION( 0x10000, "audiocpu", 0 )
2363   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
24632364   ROM_LOAD( "drom1",        0xc000, 0x2000, CRC(87a9fa10) SHA1(9c07837dce1384d6b51b716aa8ceeb5bc247a911) )
24642365
2465   ROM_REGION( 0x10000, "speech", 0 )
2366   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
24662367   ROM_LOAD( "yrom2",        0xc000, 0x2000, CRC(90f9c940) SHA1(646dacc902cf235948ac9c064c92390e2764370b) )
24672368   ROM_LOAD( "yrom1",        0xe000, 0x2000, CRC(55f8ab30) SHA1(a6b6318f12fd4a1fab61b82cde33759da615d5b2) )
24682369
r14675r14676
24862387   ROM_LOAD( "gv132_rom1_2764.c12c13",  0xc000, 0x2000, CRC(a5bf40b7) SHA1(a5a193173fa7b764706bf8d3eaaaf18c6812e436) )
24872388   ROM_LOAD( "gv132_rom0_2764.c11c12",  0xe000, 0x2000, CRC(2c02b598) SHA1(0c214f6625d6ef88bf89d96776683e15cf4a85c4) )
24882389
2489   ROM_REGION( 0x10000, "audiocpu", 0 )
2390   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
24902391   ROM_LOAD( "gv132_drom_snd_2764.k2",        0xc000, 0x2000, CRC(18d9d72f) SHA1(985007f49885621eb96e86dc51812983bd113550) )
24912392
2492   ROM_REGION( 0x10000, "speech", 0 )
2393   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
24932394   ROM_LOAD( "gv132_yrom2_snd_2764.k3",        0xc000, 0x2000, CRC(ff59f618) SHA1(c8b2cb1ab3b69f94dd6be87da8bdfc85c6ed8707) )
24942395   ROM_LOAD( "gv132_yrom1_snd_2764.n3",        0xe000, 0x2000, CRC(befa4b97) SHA1(424b40844629631a3f31cc12c61ac7000b5f3eb9) )
24952396
r14675r14676
25132414   ROM_LOAD( "gv110_rom1_2764.c12c13", 0xc000, 0x2000, CRC(358895b5) SHA1(38a4a27849ab491a6e3dd3415fe684d1c71c392d) )
25142415   ROM_LOAD( "gv110_rom0_2764.c11c12", 0xe000, 0x2000, CRC(f7157e17) SHA1(1b155602557ad173d74d4d5cf953b206b262987b) )
25152416
2516   ROM_REGION( 0x10000, "audiocpu", 0 )
2417   ROM_REGION( 0x10000, "r2sound:audiocpu", 0 )
25172418   ROM_LOAD( "gv110_drom1_snd_2732.k2",0xd000, 0x1000, CRC(05ca79da) SHA1(f9e9b0de02d618aeb73f7218a49b41d7b94c24a4) )
25182419
2519   ROM_REGION( 0x10000, "speech", 0 )
2420   ROM_REGION( 0x10000, "r2sound:speechcpu", 0 )
25202421   ROM_LOAD( "gv110_yrom1_snd_2732.n3",0xf000, 0x1000, CRC(1e3de643) SHA1(7717547c6c5b1ff178595c67f19265dc59130d90) )
25212422
25222423   ROM_REGION( 0x2000, "bgtiles", 0 )
r14675r14676
25832484 *************************************/
25842485
25852486/* games using rev 1 sound board */
2586GAME( 1982, reactor,   0,        reactor,   reactor,  ramtiles, ROT0,   "Gottlieb", "Reactor", GAME_IMPERFECT_SOUND )
2587GAME( 1982, qbert,     0,        qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 1)", GAME_IMPERFECT_SOUND )
2588GAME( 1982, qberta,    qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 2)", GAME_IMPERFECT_SOUND )
2589GAME( 1982, qbertj,    qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb (Konami license)", "Q*bert (Japan)", GAME_IMPERFECT_SOUND )
2590GAME( 1982, myqbert,   qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Mello Yello Q*bert", GAME_IMPERFECT_SOUND )
2591GAME( 1982, qberttst,  qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (early test version)", GAME_IMPERFECT_SOUND )
2592GAME( 1982, qbtrktst,  qbert,    qbert,     qbert,    romtiles, ROT270, "Gottlieb", "Q*bert Board Input Test Rom", GAME_IMPERFECT_SOUND )
2593GAME( 1982, insector,  0,        gottlieb1, insector, romtiles, ROT0,   "Gottlieb", "Insector (prototype)", 0 )
2594GAME( 1982, tylz,      0,        qbert,     tylz,     romtiles, ROT0,   "Mylstar",  "Tylz (prototype)", GAME_IMPERFECT_SOUND ) // modified sound hw?
2595GAME( 1984, argusg,    0,        gottlieb1, argusg,   ramtiles, ROT0,   "Gottlieb", "Argus (Gottlieb, prototype)" , 0) // aka Guardian / Protector?
2596GAME( 1983, mplanets,  0,        gottlieb1, mplanets, romtiles, ROT270, "Gottlieb", "Mad Planets", 0 )
2597GAME( 1983, mplanetsuk,mplanets, gottlieb1, mplanets, romtiles, ROT270, "Gottlieb (Taitel license)", "Mad Planets (UK)", 0 )
2598GAME( 1983, krull,     0,        gottlieb1, krull,    ramtiles, ROT270, "Gottlieb", "Krull", 0 )
2599GAME( 1983, kngtmare,  0,        gottlieb1, kngtmare, romtiles, ROT0,   "Gottlieb", "Knightmare (prototype)", GAME_NO_SOUND )
2600GAME( 1983, sqbert,    0,        qbert,     qbert,    romtiles, ROT270, "Mylstar", "Faster, Harder, More Challenging Q*bert (prototype)", GAME_IMPERFECT_SOUND )
2601GAME( 1983, qbertqub,  0,        qbert,     qbertqub, romtiles, ROT270, "Mylstar", "Q*bert's Qubes", GAME_IMPERFECT_SOUND )
2602GAME( 1984, curvebal,  0,        gottlieb1, curvebal, romtiles, ROT270, "Mylstar", "Curve Ball", 0 )
2487GAME( 1982, reactor,   0,        reactor,         reactor,  ramtiles, ROT0,   "Gottlieb", "Reactor", GAME_IMPERFECT_SOUND )
2488GAME( 1982, qbert,     0,        qbert,           qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 1)", GAME_IMPERFECT_SOUND )
2489GAME( 1982, qberta,    qbert,    qbert,          qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (US set 2)", GAME_IMPERFECT_SOUND )
2490GAME( 1982, qbertj,    qbert,    qbert,           qbert,    romtiles, ROT270, "Gottlieb (Konami license)", "Q*bert (Japan)", GAME_IMPERFECT_SOUND )
2491GAME( 1982, myqbert,   qbert,    qbert,           qbert,    romtiles, ROT270, "Gottlieb", "Mello Yello Q*bert", GAME_IMPERFECT_SOUND )
2492GAME( 1982, qberttst,  qbert,    qbert,           qbert,    romtiles, ROT270, "Gottlieb", "Q*bert (early test version)", GAME_IMPERFECT_SOUND )
2493GAME( 1982, qbtrktst,  qbert,    qbert,           qbert,    romtiles, ROT270, "Gottlieb", "Q*bert Board Input Test Rom", GAME_IMPERFECT_SOUND )
2494GAME( 1982, insector,  0,        gottlieb1,       insector, romtiles, ROT0,   "Gottlieb", "Insector (prototype)", 0 )
2495GAME( 1982, tylz,      0,        gottlieb1_votrax,   tylz,     romtiles, ROT0,   "Mylstar",  "Tylz (prototype)", GAME_IMPERFECT_SOUND ) // modified sound hw?
2496GAME( 1984, argusg,    0,        gottlieb1,       argusg,   ramtiles, ROT0,   "Gottlieb", "Argus (Gottlieb, prototype)" , 0) // aka Guardian / Protector?
2497GAME( 1983, mplanets,  0,        gottlieb1,       mplanets, romtiles, ROT270, "Gottlieb", "Mad Planets", 0 )
2498GAME( 1983, mplanetsuk,mplanets, gottlieb1,       mplanets, romtiles, ROT270, "Gottlieb (Taitel license)", "Mad Planets (UK)", 0 )
2499GAME( 1983, krull,     0,        gottlieb1,       krull,    ramtiles, ROT270, "Gottlieb", "Krull", 0 )
2500GAME( 1983, kngtmare,  0,        gottlieb1,       kngtmare, romtiles, ROT0,   "Gottlieb", "Knightmare (prototype)", GAME_NO_SOUND )
2501GAME( 1983, sqbert,    0,        qbert,            qbert,    romtiles, ROT270, "Mylstar", "Faster, Harder, More Challenging Q*bert (prototype)", GAME_IMPERFECT_SOUND )
2502GAME( 1983, qbertqub,  0,        qbert,           qbertqub, romtiles, ROT270, "Mylstar", "Q*bert's Qubes", GAME_IMPERFECT_SOUND )
2503GAME( 1984, curvebal,  0,        gottlieb1,       curvebal, romtiles, ROT270, "Mylstar", "Curve Ball", 0 )
26032504
26042505/* games using rev 2 sound board */
26052506GAME( 1983, screwloo, 0,        screwloo,  screwloo, screwloo, ROT0,   "Mylstar", "Screw Loose (prototype)", 0 )
src/mame/drivers/popobear.c
r14675r14676
1/* Popo Bear - BMC-A00211
1/*******************************************************************************************
2
3   Popo Bear (c) 2000 BMC
4
5   preliminary driver by Angelo Salese
6
7   TODO:
8   - sprites;
9   - tilemap effects (scrolling, colscroll, linescroll);
10   - BGM seems quite off, YM2413 core bug?
11   - I/Os;
12   - IRQ generation;
13   - Port 0x620000 is quite a mystery, some silly protection?
14
15============================================================================================
16Popo Bear - BMC-A00211
217(c) 2000 - Bao Ma Technology Co., LTD
318
419|-----------------------------------------|
r14675r14676
5469                26   26
5570           GND  27   27  GND
5671           GND  28   28  GND
57*/
72*******************************************************************************************/
5873
59// looks like some kind of blitter
60// IGS-like?
6174
6275#include "emu.h"
6376#include "cpu/m68000/m68000.h"
r14675r14676
7285      m_maincpu(*this,"maincpu")
7386      { }
7487
75
76   UINT16 *popobear_vram;
88   UINT16 *m_vregs;
89   UINT16 *m_vram;
90   UINT16 *m_spr;
7791   required_device<cpu_device> m_maincpu;
7892};
7993
r14675r14676
8296
8397}
8498
85SCREEN_UPDATE_IND16( popobear )
99static void draw_layer(running_machine &machine, bitmap_ind16 &bitmap,const rectangle &cliprect, UINT8 layer_n)
86100{
87   popobear_state *state = screen.machine().driver_data<popobear_state>();
88   UINT16* popobear_vram = state->popobear_vram;
89   int count = 0;
90   static int m_test_x = 512,m_test_y = 256,m_start_offs;
101   popobear_state *state = machine.driver_data<popobear_state>();
102   UINT8* vram = (UINT8 *)state->m_vram;
103   int count;
104//   const UINT8 vreg_base[] = { 0x6/2, 0xa/2, 0x10/2, 0x14/2 };
91105
92   bitmap.fill(0, cliprect);
106//   count = (state->m_vregs[vreg_base[layer_n]]<<5);
107//   count &= 0xfc000;
108   count = (0xf0000+layer_n*0x4000);
93109
94   if(screen.machine().input().code_pressed(KEYCODE_Z))
95      m_test_x++;
110   for(int y=0;y<32;y++)
111   {
112      for(int x=0;x<128;x++)
113      {
114         int tile,xtile,ytile;
96115
97   if(screen.machine().input().code_pressed(KEYCODE_X))
98      m_test_x--;
116         tile = vram[count+0]|(vram[count+1]<<8);
117         xtile = tile & 0x7f;
118         xtile *= 8;
119         ytile = tile >> 7;
120         ytile *= 1024*8;
99121
100   if(screen.machine().input().code_pressed(KEYCODE_A))
101      m_test_y++;
122         for(int yi=0;yi<8;yi++)
123         {
124            for(int xi=0;xi<8;xi+=2)
125            {
126               UINT8 color;
102127
103   if(screen.machine().input().code_pressed(KEYCODE_S))
104      m_test_y--;
128               color = (vram[((xi+yi*1024)+xtile+ytile) & 0xfffff] & 0xff);
105129
106   if(screen.machine().input().code_pressed(KEYCODE_Q))
107      m_start_offs+=0x200;
130               if(cliprect.contains(x*8+xi+1, y*8+yi) && color)
131                  bitmap.pix16(y*8+yi, x*8+xi+1) = machine.pens[color];
108132
109   if(screen.machine().input().code_pressed(KEYCODE_W))
110      m_start_offs-=0x200;
133               color = (vram[((xi+1+yi*1024)+xtile+ytile) & 0xfffff] & 0xff);
111134
112   if(screen.machine().input().code_pressed(KEYCODE_E))
113      m_start_offs++;
135               if(cliprect.contains(x*8+xi, y*8+yi) && color)
136                  bitmap.pix16(y*8+yi, x*8+xi) = machine.pens[color];
137            }
138         }
114139
115   if(screen.machine().input().code_pressed(KEYCODE_R))
116      m_start_offs--;
140         count+=2;
141      }
142   }
143}
117144
118   popmessage("%d %d %04x",m_test_x,m_test_y,m_start_offs);
145static void draw_sprites(running_machine &machine, bitmap_ind16 &bitmap,const rectangle &cliprect)
146{
147   popobear_state *state = machine.driver_data<popobear_state>();
148   UINT8* vram = (UINT8 *)state->m_spr;
149   int i;
150   #if 0
151   static int bank_test = 1;
119152
120   count = (m_start_offs);
153   if(machine.input().code_pressed_once(KEYCODE_Z))
154      bank_test<<=1;
121155
122   for(int y=0;y<m_test_y;y++)
156   if(machine.input().code_pressed_once(KEYCODE_X))
157      bank_test>>=1;
158
159   popmessage("%02x",bank_test);
160   #endif
161
162   /*
163   ???? ---- ---- ---- unused?
164   ---- xxxx ---- ---- priority?
165   ---- ---- x--- ---- Y direction
166   ---- ---- -x-- ---- X direction
167   ---- ---- --xx ---- width
168   ---- ---- ---- xx-- color bank
169   ---- ---- ---- --xx height?
170   */
171
172   /* 0x106 = 8 x 8 */
173   /* 0x*29 = 32 x 32 */
174   for(i = 0x800-8;i >= 0; i-=8)
123175   {
124      for(int x=0;x<m_test_x;x++)
125      {
126         UINT16 color;
176      int y = vram[i+0x7f800+2]|(vram[i+0x7f800+3]<<8);
177      int x = vram[i+0x7f800+4]|(vram[i+0x7f800+5]<<8);
178      int spr_num = vram[i+0x7f800+6]|(vram[i+0x7f800+7]<<8);
179      int param = vram[i+0x7f800+0]|(vram[i+0x7f800+1]<<8);
180      int width = 8 << ((param & 0x30)>>4);
181      int height = 32;
182      int color_bank = (param & 0xc)<<4;
183      int x_dir = param & 0x40;
184      int y_dir = param & 0x80;
127185
128         color = (popobear_vram[count] & 0xff)>>0;
186      if(param == 0)
187         continue;
129188
130         if(cliprect.contains(x, y))
131            bitmap.pix16(y, x) = screen.machine().pens[color];
189      //if(param & bank_test)
190      //   continue;
132191
133         count++;
134      }
135   }
192      spr_num <<= 3;
136193
137
138   #if 0
139   for (int y=0;y<256;y++)
140   {
141      for (int x=0;x<128;x++)
194      for(int yi=0;yi<height;yi++)
142195      {
143         UINT8 dat;
144         dat = (popobear_vram[count]&0xf000)>>12;
145         bitmap.pix16(y, (x*4)+0) =dat;
196         for(int xi=0;xi<width;xi+=2)
197         {
198            UINT8 color;
199            int x_res,y_res;
146200
147         dat = (popobear_vram[count]&0x0f00)>>8;
148         bitmap.pix16(y, (x*4)+1) =dat;
201            color = (vram[spr_num] & 0xff);
202            x_res = (x_dir) ? x+0+(width - xi) : x+1+xi;
203            y_res = (y_dir) ? y+(height - yi) : y+yi;
149204
150         dat = (popobear_vram[count]&0x00f0)>>4;
151         bitmap.pix16(y, (x*4)+2) =dat;
205            if(cliprect.contains(x_res, y_res) && color)
206               bitmap.pix16(y_res, x_res) = machine.pens[color+0x100+color_bank];
152207
153         dat = (popobear_vram[count]&0x000f)>>0;
154         bitmap.pix16(y, (x*4)+3) =dat;
208            color = (vram[spr_num+1] & 0xff);
209            x_res = (x_dir) ? x+1+(width - xi) : x+0+xi;
210            y_res = (y_dir) ? y+(height - yi) : y+yi;
155211
156         count++;
212            if(cliprect.contains(x_res, y_res) && color)
213               bitmap.pix16(y_res, x_res) = machine.pens[color+0x100+color_bank];
214
215            spr_num+=2;
216         }
157217      }
158218   }
159   #endif
219}
160220
221SCREEN_UPDATE_IND16( popobear )
222{
223   popobear_state *state = screen.machine().driver_data<popobear_state>();
224
225   bitmap.fill(0, cliprect);
226
227   //popmessage("%04x",state->m_vregs[0/2]);
228
229   draw_layer(screen.machine(),bitmap,cliprect,3);
230   draw_layer(screen.machine(),bitmap,cliprect,2);
231   draw_layer(screen.machine(),bitmap,cliprect,1);
232   draw_layer(screen.machine(),bitmap,cliprect,0);
233   draw_sprites(screen.machine(),bitmap,cliprect);
234
161235   return 0;
162236}
163237
r14675r14676
167241   return 9;
168242}
169243
244static WRITE8_HANDLER( popobear_irq_ack_w )
245{
246   popobear_state *state = space->machine().driver_data<popobear_state>();
247   int i;
248
249   for(i=0;i<8;i++)
250   {
251      if(data & 1 << i)
252         device_set_input_line(state->m_maincpu, i, CLEAR_LINE);
253   }
254}
255
170256static ADDRESS_MAP_START( popobear_mem, AS_PROGRAM, 16 )
171257   ADDRESS_MAP_UNMAP_HIGH
172258   AM_RANGE(0x000000, 0x03ffff) AM_ROM
173259   AM_RANGE(0x210000, 0x21ffff) AM_RAM
174   AM_RANGE(0x280000, 0x280fff) AM_RAM
175   AM_RANGE(0x2b0000, 0x2dffff) AM_RAM // unknown boundaries
176   AM_RANGE(0x2ff800, 0x2fffff) AM_RAM // sprite list
177   AM_RANGE(0x300000, 0x3fffff) AM_RAM AM_BASE_MEMBER(popobear_state, popobear_vram) // actually RAM based tiles
260   AM_RANGE(0x280000, 0x2fffff) AM_RAM AM_BASE_MEMBER(popobear_state, m_spr) // unknown boundaries, 0x2ff800 contains a sprite list
261   AM_RANGE(0x300000, 0x3fffff) AM_RAM AM_BASE_MEMBER(popobear_state, m_vram)
178262
179   /* Blitter stuff? */
180   AM_RANGE(0x480000, 0x480001) AM_NOP //AM_READ(popo_480001_r) AM_WRITE(popo_480001_w)
181   AM_RANGE(0x480018, 0x480019) AM_NOP //AM_WRITE(popo_480018_w)
182   AM_RANGE(0x48001a, 0x48001b) AM_NOP //AM_WRITE(popo_48001a_w)
183   AM_RANGE(0x48001c, 0x48001d) AM_NOP //AM_READ(popo_48001c_r) AM_WRITE(popo_48001c_w)
184   AM_RANGE(0x480020, 0x480021) AM_NOP //AM_READ(popo_480020_r) AM_WRITE(popo_480020_w)
185   AM_RANGE(0x480028, 0x480029) AM_NOP //AM_WRITE(popo_480028_w)
186   AM_RANGE(0x48002c, 0x48002d) AM_NOP //AM_WRITE(popo_48002c_w)
187   AM_RANGE(0x480030, 0x480031) AM_NOP // irq ack, bit wise
188   AM_RANGE(0x48003a, 0x48003b) AM_NOP //AM_READ(popo_48003a_r) AM_WRITE(popo_48003a_w)
263   /* Most if not all of these are vregs */
264   AM_RANGE(0x480000, 0x48001f) AM_RAM AM_BASE_MEMBER(popobear_state, m_vregs)
265   AM_RANGE(0x480020, 0x480023) AM_RAM
266   AM_RANGE(0x480028, 0x48002d) AM_RAM
267//   AM_RANGE(0x480020, 0x480021) AM_NOP //AM_READ(popo_480020_r) AM_WRITE(popo_480020_w)
268//   AM_RANGE(0x480028, 0x480029) AM_NOP //AM_WRITE(popo_480028_w)
269//   AM_RANGE(0x48002c, 0x48002d) AM_NOP //AM_WRITE(popo_48002c_w)
270   AM_RANGE(0x480030, 0x480031) AM_WRITE8(popobear_irq_ack_w, 0x00ff)
271   AM_RANGE(0x480034, 0x480035) AM_RAM // coin counter or coin lockout
272   AM_RANGE(0x48003a, 0x48003b) AM_RAM //AM_READ(popo_48003a_r) AM_WRITE(popo_48003a_w)
189273
190274   AM_RANGE(0x480400, 0x4807ff) AM_RAM AM_WRITE(paletteram16_xBBBBBGGGGGRRRRR_word_w) AM_BASE_GENERIC(paletteram)
191275
192//   AM_RANGE(0x500000, 0x500001) AM_NOP //AM_READ(popo_500000_r) // watchdog?
193//   AM_RANGE(0x520000, 0x520001) AM_NOP //AM_READ(popo_520000_r)
276   AM_RANGE(0x500000, 0x500001) AM_READ_PORT("IN0")
277   AM_RANGE(0x520000, 0x520001) AM_READ_PORT("IN1")
194278   AM_RANGE(0x540000, 0x540001) AM_DEVREADWRITE8_MODERN("oki", okim6295_device, read, write, 0x00ff)
195279   AM_RANGE(0x550000, 0x550003) AM_DEVWRITE8( "ymsnd", ym2413_w, 0x00ff )
196280
197//   AM_RANGE(0x600000, 0x600001) AM_WRITE(popo_600000_w)
198   AM_RANGE(0x620000, 0x620001) AM_READ8(popo_620000_r,0xff00) //AM_WRITE(popo_620000_w)
199   AM_RANGE(0x800000, 0x9fffff) AM_ROM AM_REGION("gfx1", 0)
200   AM_RANGE(0xa00000, 0xbfffff) AM_ROM AM_REGION("gfx2", 0) // correct?
281   AM_RANGE(0x600000, 0x600001) AM_WRITENOP
282   AM_RANGE(0x620000, 0x620001) AM_READ8(popo_620000_r,0xff00) AM_WRITENOP
283   AM_RANGE(0x800000, 0x9fffff) AM_ROM AM_REGION("gfx1", 0) // u5 & u6
284   AM_RANGE(0xa00000, 0xbfffff) AM_ROM AM_REGION("gfx2", 0) // u7 & u8
201285ADDRESS_MAP_END
202286
203287static INPUT_PORTS_START( popobear )
r14675r14676
252336   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
253337   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
254338
255   PORT_START("DSW3")
256   PORT_DIPNAME( 0x01, 0x00, "DSW3:1" )
257   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
258   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
259   PORT_DIPNAME( 0x02, 0x00, "DSW3:2" )
260   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
261   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
262   PORT_DIPNAME( 0x04, 0x00, "DSW3:3" )
263   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
264   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
265   PORT_DIPNAME( 0x08, 0x00, "DSW3:4" )
266   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
267   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
268   PORT_DIPNAME( 0x10, 0x00, "DSW3:5" )
269   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
270   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
271   PORT_DIPNAME( 0x20, 0x00, "DSW3:6" )
272   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
273   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
274   PORT_DIPNAME( 0x40, 0x00, "DSW3:7" )
275   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
276   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
277   PORT_DIPNAME( 0x80, 0x00, "DSW3:8" )
278   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
279   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
339   PORT_START("IN0")
340   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
341   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
342   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
343   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
344   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
345   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
346   PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
347   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
348   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
349   PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
350   PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
351   PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
352   PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
353   PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
354   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
355   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
280356
281   PORT_START("DSW4")
282   PORT_DIPNAME( 0x01, 0x00, "DSW4:1" )
283   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
284   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
285   PORT_DIPNAME( 0x02, 0x00, "DSW4:2" )
286   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
287   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
288   PORT_DIPNAME( 0x04, 0x00, "DSW4:3" )
289   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
290   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
291   PORT_DIPNAME( 0x08, 0x00, "DSW4:4" )
292   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
293   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
294   PORT_DIPNAME( 0x10, 0x00, "DSW4:5" )
295   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
296   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
297   PORT_DIPNAME( 0x20, 0x00, "DSW4:6" )
298   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
299   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
300   PORT_DIPNAME( 0x40, 0x00, "DSW4:7" )
301   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
302   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
303   PORT_DIPNAME( 0x80, 0x00, "DSW4:8" )
304   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
305   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
306
357   PORT_START("IN1")
358   PORT_DIPNAME( 0x01, 0x01, "DSWA" )
359   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
360   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
361   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
362   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
363   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
364   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
365   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
366   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
367   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
368   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
369   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
370   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
371   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
372   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
373   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
374   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
375   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
376   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
377   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
378   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
379   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
380   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
381   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
382   PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
383   PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
384   PORT_DIPSETTING(    0x0200, DEF_STR( Off ) )
385   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
386   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
387   PORT_DIPSETTING(    0x0400, DEF_STR( Off ) )
388   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
389   PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
390   PORT_DIPSETTING(    0x0800, DEF_STR( Off ) )
391   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
392   PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
393   PORT_DIPSETTING(    0x1000, DEF_STR( Off ) )
394   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
395   PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
396   PORT_DIPSETTING(    0x2000, DEF_STR( Off ) )
397   PORT_DIPSETTING(    0x0000, DEF_STR( On ) )
398   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_START2 )
399   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START1 )
307400INPUT_PORTS_END
308401
309402
310static const gfx_layout tilelayout =
311{
312   4,8,
313   RGN_FRAC(1,1),
314   8,
315   { 0,1,2,3,4,5,6,7 },
316   { 24, 16, 8, 0 },
317   { 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
318   8*32
319};
320
321// gfx don't seem to be tiles..
322static GFXDECODE_START( popobear )
323   GFXDECODE_ENTRY( "gfx1", 0, tilelayout,  0, 1 )
324   GFXDECODE_ENTRY( "gfx2", 0, tilelayout,  0, 1 )
325GFXDECODE_END
326
327
328
329403static TIMER_DEVICE_CALLBACK( popobear_irq )
330404{
331405   popobear_state *state = timer.machine().driver_data<popobear_state>();
332406   int scanline = param;
333407
408   /* TODO: one of those is a timer irq, tied with YM2413 */
334409   if(scanline == 240)
335      device_set_input_line(state->m_maincpu, 2, HOLD_LINE);
410      device_set_input_line(state->m_maincpu, 5, ASSERT_LINE);
336411
337   if(scanline == 128)
338      device_set_input_line(state->m_maincpu, 3, HOLD_LINE);
412   if(scanline == 0)
413      device_set_input_line(state->m_maincpu, 3, ASSERT_LINE);
339414
340   if(scanline == 32)
341      device_set_input_line(state->m_maincpu, 5, HOLD_LINE);
415   if(scanline == 64 || scanline == 192)
416      device_set_input_line(state->m_maincpu, 2, ASSERT_LINE);
342417}
343418
344419static MACHINE_CONFIG_START( popobear, popobear_state )
345420   MCFG_CPU_ADD("maincpu", M68000, XTAL_42MHz/4)  // XTAL CORRECT, DIVISOR GUESSED
346421   MCFG_CPU_PROGRAM_MAP(popobear_mem)
347422   // levels 2,3,5 look interesting
348   //MCFG_CPU_VBLANK_INT("screen",irq3_line_hold)
423   //MCFG_CPU_VBLANK_INT("screen",irq5_line_assert)
424   //MCFG_CPU_PERIODIC_INT(irq2_line_assert,120)
349425   MCFG_TIMER_ADD_SCANLINE("scantimer", popobear_irq, "screen", 0, 1)
350426
351427   MCFG_SCREEN_ADD("screen", RASTER)
r14675r14676
353429   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
354430   MCFG_SCREEN_UPDATE_STATIC(popobear)
355431
356   MCFG_GFXDECODE(popobear)
432//   MCFG_GFXDECODE(popobear)
357433
358   MCFG_SCREEN_SIZE(64*8, 32*8)
434   MCFG_SCREEN_SIZE(128*8, 32*8)
359435   MCFG_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0*8, 32*8-1)
360436   MCFG_PALETTE_LENGTH(256*2)
361437
r14675r14676
363439
364440   MCFG_SPEAKER_STANDARD_MONO("mono")
365441
366   MCFG_SOUND_ADD("ymsnd", YM2413, XTAL_42MHz/10)  // XTAL CORRECT, DIVISOR GUESSED
442   MCFG_SOUND_ADD("ymsnd", YM2413, XTAL_42MHz/16)  // XTAL CORRECT, DIVISOR GUESSED
367443   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
368444
369445   MCFG_OKIM6295_ADD("oki", XTAL_42MHz/32, OKIM6295_PIN7_LOW)  // XTAL CORRECT, DIVISOR GUESSED
r14675r14676
388464   ROM_LOAD( "popobear_ta-a-901.u9", 0x00000, 0x40000,  CRC(f1e94926) SHA1(f4d6f5b5811d90d0069f6efbb44d725ff0d07e1c) )
389465ROM_END
390466
391GAME( 2000, popobear,    0, popobear,    popobear,    0, ROT0,  "BMC", "PoPo Bear", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
467GAME( 2000, popobear,    0, popobear,    popobear,    0, ROT0,  "BMC", "PoPo Bear", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS )
src/mame/drivers/astrocde.c
r14675r14676
118118#include "machine/z80ctc.h"
119119#include "machine/nvram.h"
120120#include "sound/samples.h"
121#include "sound/votrax.h"
121122#include "sound/astrocde.h"
122123#include "sound/ay8910.h"
123124
r14675r14676
341342      case 5: state->m_sparkle[3] = data;   break;
342343      case 6:
343344         space->machine().device<astrocade_device>("astrocade1")->set_output_gain(0, data ? 0.0 : 1.0);
345#if USE_FAKE_VOTRAX
344346         space->machine().device<samples_device>("samples")->set_output_gain(0, data ? 1.0 : 0.0);
347#else
348         space->machine().device<votrax_sc01_device>("votrax")->set_output_gain(0, data ? 1.0 : 0.0);
349#endif
345350         break;
346351      case 7:   mame_printf_debug("io_1:%d\n", data); break;
347352   }
r14675r14676
14041409MACHINE_CONFIG_END
14051410
14061411
1412#if !USE_FAKE_VOTRAX
1413static votrax_sc01_interface votrax_interface =
1414{
1415   DEVCB_NULL
1416};
1417#endif
1418
14071419static MACHINE_CONFIG_DERIVED( wow, astrocade_base )
14081420   MCFG_FRAGMENT_ADD(astrocade_stereo_sound)
14091421
r14675r14676
14201432   /* sound hardware */
14211433   MCFG_SPEAKER_ADD("center", 0.0, 0.0, 1.0)
14221434
1435#if USE_FAKE_VOTRAX
14231436   MCFG_SAMPLES_ADD("samples", wow_samples_interface)
1437#else
1438   MCFG_VOTRAX_SC01_ADD("votrax", 720000, votrax_interface)
1439#endif
14241440   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "center", 0.85)
14251441MACHINE_CONFIG_END
14261442
r14675r14676
14461462   MCFG_SOUND_ADD("astrocade2",  ASTROCADE, ASTROCADE_CLOCK/4)
14471463   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lower", 1.0)
14481464
1465#if USE_FAKE_VOTRAX
14491466   MCFG_SAMPLES_ADD("samples", gorf_samples_interface)
1467#else
1468   MCFG_VOTRAX_SC01_ADD("votrax", 720000, votrax_interface)
1469#endif
14501470   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "upper", 0.85)
14511471MACHINE_CONFIG_END
14521472
src/mame/drivers/segas16b.c
r14675r14676
35463546/**************************************************************************************************************************
35473547    Alien Syndrome, Sega System 16B
35483548    CPU: FD1089A (317-0033)
3549    ROM Board: 171-5358?
3549    ROM Board: 171-5358
3550    Sega game ID: 833-6308-03
3551      Main board: 837-6312
3552       Rom board: 834-6311-03
35503553*/
35513554ROM_START( aliensyn3 )
35523555   ROM_REGION( 0x040000, "maincpu", 0 ) /* 68000 code */
src/emu/sound/votrax.c
r14675r14676
22
33    votrax.c
44
5    Hacked up votrax simulator that maps to samples, until a real one
6    is written.
5    Simple VOTRAX SC-01 simulator based on sample fragments.
76
87****************************************************************************
98
r14675r14676
4443
4544
4645//**************************************************************************
46//  CONSTANTS
47//**************************************************************************
48
49// note that according to the patent timing circuit, p1/p2 and phi1/phi2
50// run 4x faster than all references in the patent text
51const UINT32 P_CLOCK_BIT = 5;      // 5 according to timing diagram
52const UINT32 PHI_CLOCK_BIT = 3;      // 3 according to timing diagram
53
54
55
56//**************************************************************************
4757//  GLOBAL VARIABLES
4858//**************************************************************************
4959
5060// device type definition
51const device_type VOTRAX = &device_creator<votrax_device>;
61const device_type VOTRAX_SC01 = &device_creator<votrax_sc01_device>;
5262
53const char *const votrax_device::s_phoneme_table[64] =
63// ROM definition for the Votrax phoneme ROM
64ROM_START( votrax_sc01 )
65   ROM_REGION( 0x200, "phoneme", 0 )
66   ROM_LOAD( "sc01.bin", 0x0000, 0x200, CRC(0353dd6c) SHA1(00e8e497b96a10bd9f4d7e559433c3c209b0d3a8) )
67ROM_END
68
69// textual phoneme names for debugging
70const char *const votrax_sc01_device::s_phoneme_table[64] =
5471{
55   "EH3",   "EH2",   "EH1",   " "/*PA0*/"DT",   "A1",   "A2",   "ZH",
72   "EH3",   "EH2",   "EH1",   "PA0",   "DT",   "A1",   "A2",   "ZH",
5673   "AH2",   "I3",   "I2",   "I1",   "M",   "N",   "B",   "V",
5774   "CH",   "SH",   "Z",   "AW1",   "NG",   "AH1",   "OO1",   "OO",
5875   "L",   "K",   "J",   "H",   "G",   "F",   "D",   "S",
5976   "A",   "AY",   "Y1",   "UH3",   "AH",   "P",   "O",   "I",
6077   "U",   "Y",   "T",   "R",   "E",   "W",   "AE",   "AE1",
6178   "AW2",   "UH2",   "UH1",   "UH",   "O2",   "O1",   "IU",   "U1",
62   "THV",   "TH",   "ER",   "EH",   "E1",   "AW",   " "/*PA1*/, "."/*STOP*/
79   "THV",   "TH",   "ER",   "EH",   "E1",   "AW",   "PA1",   "STOP"
6380};
6481
82const UINT16 votrax_sc01_device::s_phoneme_duration[64] =
83{
84   59,      71,      121,   47,      47,      71,      103,   90,
85   71,      55,      80,      121,   103,   80,      71,      71,
86   71,      121,   71,      146,   121,   146,   103,   185,
87   103,   80,      47,      71,      71,      103,   55,      90,
88   185,   65,      80,      47,      250,   103,   185,   185,
89   185,   103,   71,      90,      185,   80,      185,   103,
90   90,      71,      103,   185,   80,      121,   59,      90,
91   80,      71,      146,   185,   121,   253,   185,   47
92};
6593
94// this waveform is derived from measuring fig. 10 in the patent
95// it is only an approximation
96const double votrax_sc01_device::s_glottal_wave[16] =
97{
98   0, 
99   16.0/22.0,
100   -22.0/22.0,
101   -17.0/22.0,
102   -15.0/22.0,
103   -10.0/22.0, 
104   -7.0/22.0, 
105   -4.0/22.0,
106   0,   
107   0,   
108   0,   
109   0,   
110   0,   
111   0,   
112   0,   
113   0
114};
66115
116
117
67118//**************************************************************************
68119//  LIVE DEVICE
69120//**************************************************************************
70121
71122//-------------------------------------------------
72//  votrax_device - constructor
123//  votrax_sc01_device - constructor
73124//-------------------------------------------------
74125
75votrax_device::votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76   : samples_device(mconfig, VOTRAX, "VOTRAX SC-01", tag, owner, clock)
126votrax_sc01_device::votrax_sc01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127   : device_t(mconfig, VOTRAX_SC01, "Votrax SC-01", "votrax", tag, owner, clock),
128     device_sound_interface(mconfig, *this),
129     m_stream(NULL),
130     m_phoneme_timer(NULL)
77131{
78132}
79133
r14675r14676
83137//  to set the interface
84138//-------------------------------------------------
85139
86void votrax_device::static_set_interface(device_t &device, const votrax_interface &interface)
140void votrax_sc01_device::static_set_interface(device_t &device, const votrax_sc01_interface &interface)
87141{
88   votrax_device &samples = downcast<votrax_device &>(device);
89   static_cast<votrax_interface &>(samples) = interface;
142   votrax_sc01_device &votrax = downcast<votrax_sc01_device &>(device);
143   static_cast<votrax_sc01_interface &>(votrax) = interface;
90144}
91145
92146
r14675r14676
99153//  write - handle a write to the control register
100154//-------------------------------------------------
101155
102WRITE8_MEMBER( votrax_device::write )
156WRITE8_MEMBER( votrax_sc01_device::write )
103157{
104   // append to the current string
105   m_current.cat(s_phoneme_table[data & 0x3f]);
158   // flush out anything currently processing
159   m_stream->update();
106160
107   // look for a match in our sample table
108   for (int index = 0; m_votrax_map[index].phoneme != NULL; index++)
109      if (m_current.find(m_votrax_map[index].phoneme) != -1)
110      {
111         // if we found it, play the corresponding sample and flush the buffer
112         start(0, index);
113         m_current.replace(m_votrax_map[index].phoneme, "");
114         m_current.trimspace();
115         if (m_current.len() > 0)
116            mame_printf_warning("Votrax missed partial match: %s\n", m_current.cstr());
117         m_current.reset();
118         return;
119      }
161   // only 6 bits matter
162   m_phoneme = data & 0x3f;
163mame_printf_debug("%s: STROBE %s\n", machine().time().as_string(3), s_phoneme_table[m_phoneme]);
164   
165   // the STROBE signal resets the phoneme counter
166   m_counter_84 = 0xf;
167   
168   // not in the schematics, but necessary to fully reset the request latch
169   m_latch_92 = 0;
120170
121   // if we got a stop and didn't find a match, print it
122   if ((data & 0x3f) == 0x3f)
123   {
124      mame_printf_warning("Votrax missed match: %s\n", m_current.cstr());
125      m_current.reset();
126   }
171   // clear the request signal
172   m_request_func(m_request_state = m_internal_request = CLEAR_LINE);
173   m_phoneme_timer->adjust(attotime::zero);
127174}
128175
129176
130177//-------------------------------------------------
131//  status - read the status line
178//  inflection_w - handle a write to the
179//   inflection bits
132180//-------------------------------------------------
133181
134READ_LINE_MEMBER( votrax_device::status )
182WRITE8_MEMBER( votrax_sc01_device::inflection_w )
135183{
136   // is this correct, or is it really a ready line and should be inverted?
137   return (m_current.len() > 0 || playing(0)) ? ASSERT_LINE : CLEAR_LINE;
184   // only 2 bits matter
185   data &= 3;
186   if (m_inflection == data)
187      return;
188   
189   // append an inflection marker
190   m_stream->update();
191   m_inflection = data;
138192}
139193
140194
141195
142196//**************************************************************************
197//  CORE LOGIC
198//**************************************************************************
199
200//-------------------------------------------------
201//  update_subphoneme_clock_period - re-compute the
202//  period of the sub-phoneme clock, as a multiple
203//  of the master clock
204//-------------------------------------------------
205
206void votrax_sc01_device::update_subphoneme_clock_period()
207{
208   assert(m_latch_80 < 128);
209   
210/*
211   The sub-phoneme timing circuit is based off the switching capacitor
212   technique described in the Votrax patent. Replacing the capacitor
213   ladder with [Rx] representing the effective resistance, the circuit
214   becomes essentially a pair of op-amps:
215
216       VM
217       | i1
218      [R1]
219       |                       Vc
220       +----------------------+
221       |        +---|C1|---+  |
222      [R2]      |          |  |  |\
223       |Vb i2   |    |\    |  +--++\
224       +--[Rx]--+----+-\   |     |  >
225       |             |  >--+-----+-/
226      [R3]      +----++/   Vc    |/
227       |i3      |    |/
228       +--------+ Va
229       |
230      [R4]
231       |
232       0
233
234   We have two op-amps, the left used as a standard amplifier, the right
235   one as a comparator.  The circuit triggers when the two inputs of the
236   right op-amp are equal.
237
238   The left part of the circuit (before C1) is simply a current injector.
239   It's all made of resistors, there's no modulated input, so everything
240   is going to be constant.  If you don't know about op-amps used as
241   amplifiers, you just need to know that it forces its two inputs to
242   have the same voltage while not sending or providing any current
243   through there (only though its output in fact).
244
245   In the schema, the injected current is i2.  Basic equations apply:
246     Va = R4.i3
247     Vb = Va + R3.i3
248     Vb = Va + Rx.i2
249     Vc = Vb + R2.i1
250     VM = Vc + R1.i1
251     i1 = i2 + i3
252
253   And the tipping happens when the voltage on the right of C1 reaches
254   Vc, so:
255     Vc = Va + i2.T/C1
256
257   (i2 being a constant, the integration is kinda easy)
258
259   Some maths later:
260     R3.i3 = Rx.i2 -> i3 = Rx/R3.i2
261     i1 = (1+Rx/R3).i2
262     Va + (Rx + R2 + R2.Rx/R3).i2 = Va + T/C1.i2
263     T = C1*(Rx*(1+R2/R3) + R2)
264
265   Which isn't, interestingly though not surprisingly, dependant on Vm,
266   R1 or R4.  And you have to round it to the next multiple of
267   0.2ms+0.1ms due to the clocking on p2 and its offset to p1 (charging
268   only happens on p1 active), and add one p1/p2 cycle (0.2ms) for the
269   discharge.
270
271   So now you have your base clock, which you have to multiply by 16 to
272   get the phoneme length.
273
274   r2 = 9e3
275   r3 = 1e3
276   c1 = 1000e-12
277   rx = 1/(5KHz * cx)
278*/
279
280   // determine total capacitance
281   double cx = 0;
282   if ((m_latch_80 & 0x01) != 0) cx += 5e-12;
283   if ((m_latch_80 & 0x02) != 0) cx += 11e-12;
284   if ((m_latch_80 & 0x04) != 0) cx += 21e-12;
285   if ((m_latch_80 & 0x08) != 0) cx += 43e-12;
286   if ((m_latch_80 & 0x10) != 0) cx += 86e-12;
287   if ((m_latch_80 & 0x20) != 0) cx += 173e-12;
288   if ((m_latch_80 & 0x40) != 0) cx += 345e-12;
289   
290   // apply the equation above to determine charging time
291   // note that the 5kHz listed above for P1 is for a nominal master
292   // clock frequency of 1.28MHz, meaning it is master clock / 128
293   // which should be the P1 clock but appears to be a bit different
294   double p1_frequency = double(m_master_clock_freq) / double(1 << (P_CLOCK_BIT + 2));
295   double rx = 1.0 / (p1_frequency * cx);
296   double period = 1000e-12 * (rx * (1.0 + 9e3 / 1e3) + 9e3);
297   
298   // convert to master clock cycles and round up
299   m_subphoneme_period = UINT32(ceil(period * double(m_master_clock_freq)));
300}
301
302
303//-------------------------------------------------
304//  sound_stream_update - handle update requests
305//  for our sound stream
306//-------------------------------------------------
307
308void votrax_sc01_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples)
309{
310   // determine how many master half-clocks per sample
311   int clocks_per_sample = m_master_clock_freq / stream.sample_rate();
312
313   // iterate over clocks (samples)
314   stream_sample_t *dest = outputs[0];
315   while (samples--)
316   {
317      // run the digital logic at the master clock rate
318      double glottal_out = 0;
319      double noise_out = 0;
320      for (int curclock = 0; curclock < clocks_per_sample; curclock++)
321      {
322         //==============================================
323         //
324         // Timing circuit (patent figure 2a)
325         //
326         //==============================================
327
328         // update master clock
329         m_master_clock ^= 1;
330         
331         // on the falling edge of the master clock, advance the 10-bit counter at 34
332         UINT8 old_latch_72 = m_latch_72;
333         if (m_master_clock == 0)
334            m_counter_34 = (m_counter_34 + 1) & 0x3ff;
335         else
336         {
337            m_latch_70 = m_counter_34 & 0xf;
338            m_latch_72 = ((m_counter_34 >> 4) & 7) | ((m_counter_34 >> 6) & 8);
339         }
340
341         // derive beta 1 clock:
342         //   set if m_latch_70.0 == 1
343         //   reset if m_latch_70.0 == 0
344//         UINT8 old_beta1 = m_beta1;
345         m_beta1 = BIT(m_latch_70, 0);
346
347         // derive p2 clock:
348         //   set if (m_counter_34.P_CLOCK_BIT & clock) == 1
349         //   reset if (m_counter_34.P_CLOCK_BIT == 0)
350         UINT8 old_p2 = m_p2;
351         if (BIT(m_counter_34, P_CLOCK_BIT) & m_master_clock)
352            m_p2 = 1;
353         else if (!BIT(m_counter_34, P_CLOCK_BIT))
354            m_p2 = 0;
355         
356         // derive p1 clock:
357         //   set if (!m_counter_34.P_CLOCK_BIT & clock) == 1
358         //   reset if (m_counter_34.P_CLOCK_BIT == 1)
359//         UINT8 old_p1 = m_p1;
360         if (BIT(~m_counter_34, P_CLOCK_BIT) & m_master_clock)
361            m_p1 = 1;
362         else if (BIT(m_counter_34, P_CLOCK_BIT))
363            m_p1 = 0;
364         
365         // derive phi2 clock:
366         //   set if (m_counter_34.PHI_CLOCK_BIT & clock) == 1
367         //   reset if (m_counter_34.PHI_CLOCK_BIT == 0)
368         UINT8 old_phi2 = m_phi2;
369         if (BIT(m_counter_34, PHI_CLOCK_BIT) & m_master_clock)
370            m_phi2 = 1;
371         else if (!BIT(m_counter_34, PHI_CLOCK_BIT))
372            m_phi2 = 0;
373         
374         // derive phi1 clock:
375         //   set if (!m_counter_34.PHI_CLOCK_BIT & clock) == 1
376         //   reset if (m_counter_34.PHI_CLOCK_BIT == 1)
377         UINT8 old_phi1 = m_phi1;
378         if (BIT(~m_counter_34, PHI_CLOCK_BIT) & m_master_clock)
379            m_phi1 = 1;
380         else if (BIT(m_counter_34, PHI_CLOCK_BIT))
381            m_phi1 = 0;
382
383         // determine rising edges of each clock of interest
384//         UINT8 beta1_rising = (old_beta1 ^ m_beta1) & m_beta1;
385         UINT8 p2_rising = (old_p2 ^ m_p2) & m_p2;
386//         UINT8 p1_rising = (old_p1 ^ m_p1) & m_p1;
387         UINT8 phi2_rising = (old_phi2 ^ m_phi2) & m_phi2;
388         UINT8 phi1_rising = (old_phi1 ^ m_phi1) & m_phi1;
389         UINT8 a0_rising = BIT((old_latch_72 ^ m_latch_72) & m_latch_72, 0);
390         UINT8 a2_rising = BIT((old_latch_72 ^ m_latch_72) & m_latch_72, 2);
391         UINT8 _125k_rising = BIT((old_latch_72 ^ m_latch_72) & m_latch_72, 3);
392
393         // track subphoneme counter state
394         if (!(m_latch_42 | m_phi1))
395            m_subphoneme_count = 0;
396         else
397            m_subphoneme_count++;
398         if (p2_rising)
399            m_latch_42 = (m_subphoneme_count < m_subphoneme_period);
400
401         // update the state of the subphoneme clock line
402         UINT8 old_clock_88 = m_clock_88;
403         m_clock_88 = !m_latch_42;   //!(m_latch_42 | m_phi1); -- figure 7 seems to be wrong here
404         UINT8 clock_88_rising = (old_clock_88 ^ m_clock_88) & m_clock_88;
405         
406         // the A/R line holds the counter in reset except during phoneme processing,
407         // when it is clocked on the rising edge of the subphoneme timer clock
408         if (m_internal_request != CLEAR_LINE)
409            m_counter_84 = 0xf;
410         else if (clock_88_rising)
411         {
412            m_counter_84 = (m_counter_84 - 1) & 0x0f;
413mame_printf_debug("counter=%d\n", m_counter_84);
414         }
415         
416         // clock the zero count latch
417         if (p2_rising)
418            m_latch_92 = ((m_counter_84 == 0) | (m_latch_92 << 1)) & 3;
419         
420         // once both bits are set, the request line goes high
421         if (m_latch_92 == 3)
422         {
423            // if the request line was previously low, reset the VD/CLD flip-flops
424            if (m_internal_request == CLEAR_LINE)
425               m_srff_112 = m_srff_114 = 0;
426            m_internal_request = ASSERT_LINE;
427         }
428
429         //==============================================
430         //
431         // Low parameter clocking (patent figure 2b)
432         //
433         //==============================================
434
435         // fetch ROM data; note that the address lines come directly from
436         // counter_34 and not from the latches, which are 1 cycle delayed
437         UINT8 romdata = m_rom[(m_phoneme << 3) | ((m_counter_34 >> 4) & 7)];
438
439         // update the ROM data; ROM format is (upper nibble/lower nibble)
440         //   +00 = F1 parameter / 0
441         //   +01 = F2 parameter / 0
442         //   +02 = FC parameter / 0
443         //   +03 = F3 parameter / CL
444         //   +04 = F2Q Parameter / CLD
445         //   +05 = VA Parameter / VD
446         //   +06 = FA Parameter / PAC
447         //   +07 = Phoneme timing (full 7 bits)
448         
449         // latch a new value from ROM on phi2
450         UINT8 a = m_latch_72 & 7;
451         UINT8 romdata_swapped;
452         if (phi2_rising)
453         {
454            switch (a)
455            {
456               // update CL
457               case 3:
458                  m_srff_132 = m_srff_114 & BIT(~romdata, 3);
459                  break;
460           
461               // update CLD
462               case 4:
463                  romdata_swapped = (BIT(romdata, 0) << 3) | (BIT(romdata, 1) << 2) | (BIT(romdata, 2) << 1) | (BIT(romdata, 3) << 0);
464                  if (m_counter_84 != 0 && romdata_swapped == (m_counter_84 ^ 0xf))
465                     m_srff_114 = 1;
466                  break;
467           
468               // update VD
469               case 5:
470                  romdata_swapped = (BIT(romdata, 0) << 3) | (BIT(romdata, 1) << 2) | (BIT(romdata, 2) << 1) | (BIT(romdata, 3) << 0);
471                  if (m_counter_84 != 0 && romdata_swapped == (m_counter_84 ^ 0xf))
472                     m_srff_112 = 1;
473                  break;
474           
475               // update FF == PAC & (VA | FA)
476               case 6:
477                  m_srff_142 = BIT(romdata, 3);
478                  break;
479               
480               // update PH
481               case 7:
482                  if (m_latch_80 != (romdata & 0x7f))
483                  {
484                     m_latch_80 = romdata & 0x7f;
485mame_printf_debug("[PH=%02X]\n", m_latch_80);
486                     UINT32 old_period = m_subphoneme_period;
487                     update_subphoneme_clock_period();
488                     m_subphoneme_count = (m_subphoneme_count * m_subphoneme_period) / old_period;
489                     m_phoneme_timer->adjust(attotime::zero);
490                  }
491                  break;
492            }
493         }
494         
495         //==============================================
496         //
497         // Glottal circuit (patent figure 6)
498         //
499         //==============================================
500
501         // determine the TC output from the counters (note that TC requires ET)
502         UINT8 counter_222_tc = (m_counter_222 == 0xf);
503         UINT8 counter_220_tc = (m_counter_220 == 0xf && counter_222_tc);
504         UINT8 counter_224_tc = (m_counter_224 == 0xf && counter_222_tc);
505
506         // clock glottal counter 224 on rising edge of a0
507         if (a0_rising)
508         {
509            // counter 224 is only enabled if TC of counter 222 is 1
510            if (counter_222_tc)
511            {
512               // if counter 220's TC is 1, do a load instead of a count
513               if (counter_220_tc)
514                  m_counter_224 = (m_inflection << 1) | ((~m_f1 & 0x8) >> 3);
515               else
516                  m_counter_224 = (m_counter_224 + 1) & 0xf;
517            }
518         }
519         
520         // clock remaining glottal counters (220, 222, 236) on rising edge of phi2
521         if (phi2_rising)
522         {
523            // counter 220 is only enabled if TC of counter 222 is 1
524            if (counter_222_tc)
525            {
526               // if counter 220's TC is 1, do a load instead of a count
527               if (counter_220_tc)
528                  m_counter_220 = (m_inflection << 1) | ((~m_f1 & 0x8) >> 3);
529               else
530                  m_counter_220 = (m_counter_220 + 1) & 0xf;
531            }
532           
533            // counter 222 is always enabled
534            if (1)
535            {
536               // if counter 220's TC is 1, do a load instead of a count
537               if (counter_220_tc)
538                  m_counter_222 = (~m_f1 & 0x7) << 1;
539               else
540                  m_counter_222 = (m_counter_222 + 1) & 0xf;
541            }
542           
543            // counter 236 is always enabled
544            if (1)
545            {
546               m_counter_236 = (m_counter_236 + 1) & 0xf;
547           
548               // rising edge of Q1 from counter 236 clocks counter 234
549               if ((m_counter_236 & 0x3) == 0x2)
550               {
551                  // counter 234 is only enabled if it has not reached terminal
552                  if (m_counter_234 != 0xf)
553                     m_counter_234 = (m_counter_234 + 1) & 0xf;
554               }
555            }
556         }
557         
558         // update FGATE state
559         if (counter_220_tc)
560            m_fgate = 0;
561         if (counter_224_tc)
562            m_fgate = 1;
563         
564         // apply asynchronous clear to counters 234/236
565         if (counter_220_tc && m_phi1)
566            m_counter_236 = m_counter_234 = 0;
567           
568         // derive glottal circuit output signals
569         UINT8 old_glottal_sync = m_glottal_sync;
570         m_glottal_sync = (m_counter_234 == 0);
571         glottal_out = s_glottal_wave[m_counter_234];
572         
573         //==============================================
574         //
575         // Transition circuit (patent figure 3a/3b)
576         //
577         //==============================================
578         
579         // divide 1.25k clock by 2 (lower-left of 46)
580         UINT8 old_0625_clock = m_0625_clock;
581         if (_125k_rising)
582            m_0625_clock = !m_0625_clock;
583         UINT8 _0625_rising = (old_0625_clock ^ m_0625_clock) & m_0625_clock;
584         
585         // update counter above
586         if (_0625_rising)
587         {
588            if (m_counter_46 == 0xf)
589               m_counter_46 = 0xd;
590            else
591               m_counter_46 = (m_counter_46 + 1) & 0xf;
592         }
593         
594         // and then the latch to the right
595         if (a2_rising)
596            m_latch_46 = (BIT(m_counter_46, 1) << 0) |
597                      (BIT(m_latch_46, 0) << 1) |
598                      (m_0625_clock << 2) |
599                      (BIT(m_latch_46, 2) << 3);
600
601         // determine the read/write signal
602         UINT8 ram_write = 0;
603         switch (a)
604         {
605            // write if not FF and low 2 bits of latch
606            // FF is the S/R flip-flop at 142 ANDed with !(/FA & /VA)
607            case 0:   case 1:   case 2: case 3: case 4:
608               if (!(m_srff_142 && ((m_fa | m_va) & 0xf0) != 0) && (m_latch_46 & 0x3) == 0x3)
609                  ram_write = 1;
610               break;
611           
612            case 5:
613               if ((m_latch_46 & 0xc) == 0xc && m_srff_112)
614                  ram_write = 1;
615               break;
616           
617            case 6:
618               if ((m_latch_46 & 0xc) == 0xc && m_srff_114)
619                  ram_write = 1;
620               break;
621         }
622         
623         // gate on the phi2 clock (OR gate @ 172)
624         ram_write &= m_phi2;
625         
626         // write the transitioned values to RAM if requested
627         // (note we consolidate the serial addition and clocking steps here)
628         if (ram_write)
629         {
630            UINT8 old = (m_latch_168 << 4) | m_latch_170;
631            m_ram[a] = old - (old >> 3) + ((romdata & 0xf0) >> 3);
632         }
633         
634         // latch some parameter values on rising edge of phi2
635         if (phi2_rising)
636         {
637            switch (a)
638            {
639               case 2:
640                  m_fc = m_latch_168;
641                  break;
642               
643               case 5:
644                  m_va = m_latch_168;
645                  break;
646               
647               case 6:
648                  m_fa = m_latch_168;
649                  break;
650            }
651         }
652         
653         // latch remaining parameter values on rising edge of (phi2 & glottal sync)
654         UINT8 old_phi2_glottal = (old_phi2 & old_glottal_sync);
655         UINT8 new_phi2_glottal = m_phi2 & m_glottal_sync;
656         if ((old_phi2_glottal ^ new_phi2_glottal) & new_phi2_glottal)
657            switch (a)
658            {
659               case 0:
660                  m_f1 = m_latch_168;
661                  break;
662               
663               case 1:
664                  m_f2 = (m_latch_168 << 1) | (m_latch_170 >> 3);
665                  break;
666               
667               case 3:
668                  m_f3 = m_latch_168;
669                  break;
670               
671               case 4:
672                  m_f2q = m_latch_168;
673                  break;
674            }
675         
676         // latch value from RAM on rising edge of phi1
677         if (phi1_rising)
678         {
679            m_latch_168 = m_ram[a] >> 4;
680            m_latch_170 = m_ram[a] & 0xf;
681         }
682
683         //==============================================
684         //
685         // Noise generator circuit (patent figure 8)
686         //
687         //==============================================
688         
689         // nose is clocked by the NOR of /FA and P1
690         UINT8 old_noise_clock = m_noise_clock;
691         m_noise_clock = !((m_fa == 0) | m_p1);
692         UINT8 noise_clock_rising = (old_noise_clock ^ m_noise_clock) & m_noise_clock;
693         UINT8 noise_clock_falling = (old_noise_clock ^ m_noise_clock) & old_noise_clock;
694         
695         // falling edge clocks the shift register
696         if (noise_clock_falling)
697         {
698            // shift register 252 is actually 4 shift registers (2 4-bit, 2 5-bit)
699            // d1 and d3 are the 4-bit registers, d2 and d4 are the 5-bit registers
700            // XOR'ed input goes into d4, which shifts in to d2, then d3, then d1
701            // thus the full 18-bit value is effectively
702            //
703            //   d4 = (m_shift_252 >> 0) & 0x1f;
704            //   d2 = (m_shift_252 >> 5) & 0x1f;
705            //   d3 = (m_shift_252 >> 10) & 0xf;
706            //   d1 = (m_shift_252 >> 14) & 0xf;
707            //
708            // input at the low end is ((d1+4 ^ d2+5) ^ (d4+4 ^ d4+5)) ^ !(counter2 | counter3)
709            // output is tapped at d3+4
710
711            UINT32 old_shift = m_shift_252;
712            m_shift_252 <<= 1;
713            m_shift_252 |= ((BIT(old_shift, 17) ^ BIT(old_shift, 9)) ^ (BIT(old_shift, 3) ^ BIT(old_shift, 4))) ^
714                         ((m_counter_250 & 0xc) == 0);
715         }
716         
717         // rising edge clocks the counter
718         if (noise_clock_rising)
719         {
720            // counter is reset to 1 if terminal, otherwise it increments
721            if (m_counter_250 == 0xf)
722               m_counter_250 = 0x1;
723            else
724               m_counter_250 = (m_counter_250 + 1) & 0xf;
725         }
726         
727         // compute final noise out signal
728         UINT8 noise_out_digital = !(BIT(m_shift_252, 13) & (m_fgate | (m_va == 0)));
729         noise_out = noise_out_digital ? (double(m_fa) / 15.0f) : 0;
730      }
731         
732      // amplify the glottal pulse by the VA and cheesily mix in the noise just to
733      // help see what's going on
734      double current = 0.5 * glottal_out * (double(m_va) / 15.0f) + 0.5 * noise_out;
735     
736      // TODO: apply high pass noise shaping to noise_out (see figure 8)
737     
738      // TODO: apply resonsant filters based on m_f1, m_f2, m_f2q and
739      // inject noise based on m_fc (see figure 9)
740     
741      // TODO: apply final filter f3 and inject inverse of noise based on ~m_fc (see figure 5)
742     
743      // TODO: apply closure circuit (undocumented)
744     
745      // output the current result
746      *dest++ = INT16(current * 32767.0);
747   }
748}
749
750
751
752//**************************************************************************
143753//  DEVICE INTERFACE
144754//**************************************************************************
145755
146756//-------------------------------------------------
757//  rom_region - return a pointer to the device's
758//  internal ROM region
759//-------------------------------------------------
760
761const rom_entry *votrax_sc01_device::device_rom_region() const
762{
763   return ROM_NAME( votrax_sc01 );
764}
765
766
767//-------------------------------------------------
147768//  device_start - handle device startup
148769//-------------------------------------------------
149770
150void votrax_device::device_start()
771void votrax_sc01_device::device_start()
151772{
152   // build up a samples list
153   for (const votrax_map *curmap = m_votrax_map; curmap->phoneme != NULL; curmap++)
154      m_sample_list.append((curmap->samplename != NULL) ? curmap->samplename : "");
773   // initialize internal state
774   m_master_clock_freq = clock();
775   m_stream = stream_alloc(0, 1, m_master_clock_freq / 16);
776   m_phoneme_timer = timer_alloc();
777   m_rom = subregion("phoneme")->base();
778   
779   // reset inputs
780   m_inflection = 0;
781   m_phoneme = 0x3f;
782   
783   // reset outputs
784   m_request_func.resolve(m_request_cb, *this);
785   m_request_state = ASSERT_LINE;
786   m_internal_request = ASSERT_LINE;
787   
788   // save inputs
789   save_item(NAME(m_inflection));
790   save_item(NAME(m_phoneme));
791   
792   // save outputs
793   save_item(NAME(m_request_state));
794   save_item(NAME(m_internal_request));
795   
796   // save timing circuit
797   save_item(NAME(m_master_clock_freq));
798   save_item(NAME(m_master_clock));
799   save_item(NAME(m_counter_34));
800   save_item(NAME(m_latch_70));
801   save_item(NAME(m_latch_72));
802   save_item(NAME(m_beta1));
803   save_item(NAME(m_p2));
804   save_item(NAME(m_p1));
805   save_item(NAME(m_phi2));
806   save_item(NAME(m_phi1));
807   save_item(NAME(m_subphoneme_period));
808   save_item(NAME(m_subphoneme_count));
809   save_item(NAME(m_clock_88));
810   save_item(NAME(m_latch_42));
811   save_item(NAME(m_counter_84));
812   save_item(NAME(m_latch_92));
813   
814   // save low parameter clocking
815   save_item(NAME(m_srff_132));
816   save_item(NAME(m_srff_114));
817   save_item(NAME(m_srff_112));
818   save_item(NAME(m_srff_142));
819   save_item(NAME(m_latch_80));
820   
821   // save glottal circuit
822   save_item(NAME(m_counter_220));
823   save_item(NAME(m_counter_222));
824   save_item(NAME(m_counter_224));
825   save_item(NAME(m_counter_234));
826   save_item(NAME(m_counter_236));
827   save_item(NAME(m_fgate));
828   save_item(NAME(m_glottal_sync));
155829
156   // create the samples interface
157   m_channels = 1;
158   m_names = m_sample_list;
159   m_start = NULL;
830   // save transition circuit
831   save_item(NAME(m_0625_clock));
832   save_item(NAME(m_counter_46));
833   save_item(NAME(m_latch_46));
834   save_item(NAME(m_ram));
835   save_item(NAME(m_latch_168));
836   save_item(NAME(m_latch_170));
837   save_item(NAME(m_f1));
838   save_item(NAME(m_f2));
839   save_item(NAME(m_fc));
840   save_item(NAME(m_f3));
841   save_item(NAME(m_f2q));
842   save_item(NAME(m_va));
843   save_item(NAME(m_fa));
844   
845   // save noise generator circuit
846   save_item(NAME(m_noise_clock));
847   save_item(NAME(m_shift_252));
848   save_item(NAME(m_counter_250));
849}
160850
161   // let the samples device do the rest
162   samples_device::device_start();
851
852//-------------------------------------------------
853//  device_reset - handle device reset
854//-------------------------------------------------
855
856void votrax_sc01_device::device_reset()
857{
858   // set the initial state
859   m_stream->update();
860   
861   // reset inputs
862   m_phoneme = 0x3f;
863   m_request_func(m_internal_request = m_request_state = ASSERT_LINE);
864   
865   // reset timing circuit
866   m_master_clock = 0;
867   m_counter_34 = 0;
868   m_latch_70 = 0;
869   m_latch_72 = 0;
870   m_beta1 = 0;
871   m_p2 = 0;
872   m_p1 = 0;
873   m_phi2 = 0;
874   m_phi1 = 0;
875   m_subphoneme_period = 1000;
876   m_subphoneme_count = 0;
877   m_clock_88 = 0;
878   m_latch_42 = 0;
879   m_counter_84 = 0;
880   m_latch_92 = 0;
881   
882   // reset low parameter clocking
883   m_srff_132 = 0;
884   m_srff_114 = 0;
885   m_srff_112 = 0;
886   m_srff_142 = 0;
887   m_latch_80 = 50;
888   update_subphoneme_clock_period();
889   
890   // reset glottal circuit
891   m_counter_220 = 0;
892   m_counter_222 = 0;
893   m_counter_224 = 0;
894   m_counter_234 = 0;
895   m_counter_236 = 0;
896   m_fgate = 0;
897   m_glottal_sync = 0;
898   
899   // reset transition circuit
900   m_0625_clock = 0;
901   m_counter_46 = 0;
902   m_latch_46 = 0;
903   memset(m_ram, 0, sizeof(m_ram));
904   m_latch_168 = 0;
905   m_latch_170 = 0;
906   m_f1 = 0;
907   m_f2 = 0;
908   m_fc = 0;
909   m_f3 = 0;
910   m_f2q = 0;
911   m_va = 0;
912   m_fa = 0;
913   
914   // reset noise circuit
915   m_noise_clock = 0;
916   m_shift_252 = 0;
917   m_counter_250 = 0;
163918}
919
920
921//-------------------------------------------------
922//  device_clock_changed - handle dynamic clock
923//   changes by altering our output frequency
924//-------------------------------------------------
925
926void votrax_sc01_device::device_clock_changed()
927{
928   // compute new frequency of the master clock, and update if changed
929   UINT32 newfreq = clock();
930   if (newfreq != m_master_clock_freq)
931   {
932      // if we have a stream
933      if (m_stream != NULL)
934      {
935         m_stream->update();
936         m_stream->set_sample_rate(newfreq / 16);
937      }
938     
939      // determine how many clock ticks remained on the phoneme timer
940      UINT64 remaining = m_phoneme_timer->remaining().as_ticks(m_master_clock_freq);
941     
942      // recompute the master clock
943      m_master_clock_freq = newfreq;
944
945      // adjust the phoneme timer to the same number of ticks based on the new frequency
946      if (remaining > 0)
947         m_phoneme_timer->adjust(attotime::from_ticks(remaining, newfreq));
948   }
949}
950
951
952//-------------------------------------------------
953//  device_timer - handle device timer
954//-------------------------------------------------
955
956void votrax_sc01_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
957{
958   // force a stream update
959   m_stream->update();
960   
961   // if we're requesting more data, no need for timing
962   if (m_request_state == ASSERT_LINE)
963      return;
964   
965   // if we're supposed to have fired, do it now
966   if (m_internal_request == ASSERT_LINE)
967   {
968mame_printf_debug("%s: REQUEST\n", timer.machine().time().as_string(3));
969      m_request_func(m_request_state = ASSERT_LINE);
970      return;
971   }
972
973   // account for the rest of this subphoneme clock
974   UINT32 clocks_until_request = 0;
975   if (m_counter_84 != 0)
976   {
977      if (m_subphoneme_count < m_subphoneme_period)
978         clocks_until_request += m_subphoneme_period - m_subphoneme_count;
979      clocks_until_request += m_subphoneme_period * (m_counter_84 - 1);
980   }
981         
982   // plus 1/2
983   clocks_until_request = MAX(clocks_until_request, (1 << P_CLOCK_BIT) / 2);
984   timer.adjust(attotime::from_ticks(clocks_until_request, m_master_clock_freq));
985}
src/emu/sound/votrax.h
r14675r14676
22
33    votrax.h
44
5    Hacked up votrax simulator that maps to samples, until a real one
6    is written.
5    Simple VOTRAX SC-01 simulator based on sample fragments.
76
87****************************************************************************
98
r14675r14676
5049//  INTERFACE CONFIGURATION MACROS
5150//**************************************************************************
5251
53#define MCFG_VOTRAX_ADD(_tag, _clock, _interface) \
54   MCFG_DEVICE_ADD(_tag, VOTRAX, 0) \
55   votrax_device::static_set_interface(*device, _interface);
52#define MCFG_VOTRAX_SC01_ADD(_tag, _clock, _interface) \
53   MCFG_DEVICE_ADD(_tag, VOTRAX_SC01, _clock) \
54   votrax_sc01_device::static_set_interface(*device, _interface); \
55   
5656
5757
58
5958//**************************************************************************
6059//  TYPE DEFINITIONS
6160//**************************************************************************
6261
63// ======================> votrax_interface sample
62// ======================> votrax_sc01_interface
6463
65struct votrax_map
64struct votrax_sc01_interface
6665{
67   const char *phoneme;
68   const char *samplename;
66   devcb_write_line m_request_cb;      // callback for request
6967};
7068
71struct votrax_interface
72{
73   votrax_map const *m_votrax_map;      // array of map entries
74};
7569
70// ======================> votrax_sc01_device
7671
77// ======================> votrax_device
78
79class votrax_device :   public samples_device,
80                  public votrax_interface
72class votrax_sc01_device :   public device_t,
73                     public device_sound_interface,
74                     public votrax_sc01_interface
8175{
8276public:
8377   // construction/destruction
84   votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
78   votrax_sc01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
8579
8680   // static configuration helpers
87   static void static_set_interface(device_t &device, const votrax_interface &interface);
81   static void static_set_interface(device_t &device, const votrax_sc01_interface &interface);
8882
8983   // writers
9084   DECLARE_WRITE8_MEMBER( write );
91   DECLARE_READ_LINE_MEMBER( status );
85   DECLARE_WRITE8_MEMBER( inflection_w );
86   DECLARE_READ_LINE_MEMBER( request ) { return m_request_state; }
9287
9388protected:
9489   // device-level overrides
90   const rom_entry *device_rom_region() const;
9591   virtual void device_start();
92   virtual void device_reset();
93   virtual void device_clock_changed();
94   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
9695
96   // device_sound_interface overrides
97   virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
98
9799private:
100   // internal helpers
101   void update_subphoneme_clock_period();
102
98103   // internal state
99   astring                  m_current;
100   dynamic_array<const char *>   m_sample_list;
104   sound_stream *            m_stream;            // output stream
105   emu_timer *               m_phoneme_timer;      // phoneme timer
106   const UINT8 *            m_rom;               // pointer to our ROM
101107
108   // inputs
109   UINT8                  m_inflection;         // 2-bit inflection value
110   UINT8                  m_phoneme;            // 6-bit phoneme value
111
112   // outputs
113   devcb_resolved_write_line   m_request_func;         // request callback
114   UINT8                  m_request_state;      // request as seen to the outside world
115   UINT8                  m_internal_request;      // request managed by stream timing
116   
117   // timing circuit
118   UINT32                  m_master_clock_freq;   // frequency of the master clock
119   UINT8                  m_master_clock;         // master clock
120   UINT16                  m_counter_34;         // ripple counter @ 34
121   UINT8                  m_latch_70;            // 4-bit latch @ 70
122   UINT8                  m_latch_72;            // 4-bit latch @ 72
123   UINT8                  m_beta1;            // beta1 clock state
124   UINT8                  m_p2;               // P2 clock state
125   UINT8                  m_p1;               // P1 clock state
126   UINT8                  m_phi2;               // phi2 clock state
127   UINT8                  m_phi1;               // phi1 clock state
128   UINT32                  m_subphoneme_period;   // period of the subphoneme timer
129   UINT32                  m_subphoneme_count;      // number of ticks executed already
130   UINT8                  m_clock_88;            // subphoneme clock output @ 88
131   UINT8                  m_latch_42;            // D flip-flop @ 42
132   UINT8                  m_counter_84;         // 4-bit phoneme counter @ 84
133   UINT8                  m_latch_92;            // 2-bit latch @ 92
134   
135   // low parameter clocking
136   UINT8                  m_srff_132;            // S/R flip-flop @ 132
137   UINT8                  m_srff_114;            // S/R flip-flop @ 114
138   UINT8                  m_srff_112;            // S/R flip-flop @ 112
139   UINT8                  m_srff_142;            // S/R flip-flop @ 142
140   UINT8                  m_latch_80;            // phoneme timing latch @ 80
141   
142   // glottal circuit
143   UINT8                  m_counter_220;         // 4-bit counter @ 220
144   UINT8                  m_counter_222;         // 4-bit counter @ 222
145   UINT8                  m_counter_224;         // 4-bit counter @ 224
146   UINT8                  m_counter_234;         // 4-bit counter @ 234
147   UINT8                  m_counter_236;         // 4-bit counter @ 236
148   UINT8                  m_fgate;            // FGATE signal
149   UINT8                  m_glottal_sync;         // Glottal Sync signal
150   
151   // transition circuit
152   UINT8                  m_0625_clock;         // state of 0.625kHz clock
153   UINT8                  m_counter_46;         // 4-bit counter in block @ 46
154   UINT8                  m_latch_46;            // 4-bit latch in block @ 46
155   UINT8                  m_ram[8];            // RAM to hold parameters
156   UINT8                  m_latch_168;         // 4-bit latch @ 168
157   UINT8                  m_latch_170;         // 4-bit latch @ 170
158   UINT8                  m_f1;               // latched 4-bit F1 value
159   UINT8                  m_f2;               // latched 5-bit F2 value
160   UINT8                  m_fc;               // latched 4-bit FC value
161   UINT8                  m_f3;               // latched 4-bit F3 value
162   UINT8                  m_f2q;               // latched 4-bit F2Q value
163   UINT8                  m_va;               // latched 4-bit VA value
164   UINT8                  m_fa;               // latched 4-bit FA value
165   
166   // noise generator circuit
167   UINT8                  m_noise_clock;         // clock input to noise generator
168   UINT32                  m_shift_252;         // shift register @ 252
169   UINT8                  m_counter_250;         // 4-bit counter @ 250
170
171   // static tables
102172   static const char *const s_phoneme_table[64];
173   static const UINT16 s_phoneme_duration[64];
174   static const double s_glottal_wave[16];
103175};
104176
105177
r14675r14676
109181//**************************************************************************
110182
111183// device type definition
112extern const device_type VOTRAX;
184extern const device_type VOTRAX_SC01;
113185
114186
115187#endif /* __VOTRAX_H__ */
src/mess/drivers/votrtnt.c
r14675r14676
6363   required_device<cpu_device> m_maincpu;
6464   required_device<generic_terminal_device> m_terminal;
6565   //required_device<device_t> m_acia;
66   required_device<votrax_device> m_votrax;
66   required_device<votrax_sc01_device> m_votrax;
6767   DECLARE_READ8_MEMBER( votrtnt_acia_status_r );
6868   DECLARE_READ8_MEMBER( votrtnt_acia_data_r );
6969   DECLARE_WRITE8_MEMBER( votrtnt_votrax_w );
r14675r14676
147147static TIMER_DEVICE_CALLBACK( votrtnt_poll_votrax )
148148{
149149   votrtnt_state *state = timer.machine().driver_data<votrtnt_state>();
150   UINT8 status = state->m_votrax->status();
150   UINT8 status = state->m_votrax->request();
151151   //printf("%X ",status);
152152   device_set_input_line(timer.machine().device("maincpu"), INPUT_LINE_IRQ0, status ? ASSERT_LINE : CLEAR_LINE);
153153}
154154
155static struct votrax_map dummy =
155static struct votrax_sc01_interface votrtnt_votrax_interface =
156156{
157   NULL,
158   NULL
157   DEVCB_NULL
159158};
160159
161static struct votrax_interface votrtnt_votrax_interface =
162{
163   &dummy
164};
165
166160/******************************************************************************
167161 Machine Drivers
168162******************************************************************************/
r14675r14676
181175
182176   /* sound hardware */
183177   MCFG_SPEAKER_STANDARD_MONO("mono")
184   MCFG_VOTRAX_ADD("votrax", 1700000, votrtnt_votrax_interface ) /* 1.70 MHz? needs verify */
178   MCFG_VOTRAX_SC01_ADD("votrax", 1700000, votrtnt_votrax_interface ) /* 1.70 MHz? needs verify */
185179   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
186180
187181   MCFG_GENERIC_TERMINAL_ADD(TERMINAL_TAG, votrtnt_terminal_intf)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team