1 /***************************************************************************
2 
3 Issues:
4 -sound effects missing
5 -cpu speeds are guessed
6 -colours might be wrong in the night stage
7 ***************************************************************************/
8 
9 #include "driver.h"
10 #include "vidhrdw/generic.h"
11 #include "cpu/z80/z80.h"
12 
13 
14 VIDEO_UPDATE( rollrace );
15 PALETTE_INIT( wiz );
16 VIDEO_START( rollrace );
17 
18 WRITE_HANDLER( rollrace_charbank_w );
19 WRITE_HANDLER( rollrace_backgroundpage_w);
20 WRITE_HANDLER( rollrace_backgroundcolor_w);
21 WRITE_HANDLER( rollrace_bkgpen_w );
22 WRITE_HANDLER( rollrace_flipy_w );
23 WRITE_HANDLER( rollrace_spritebank_w );
24 WRITE_HANDLER( rollrace_flipx_w );
25 
26 READ_HANDLER( rollrace_bkgpen_r );
27 
READ_HANDLER(ra_fake_d800_r)28 READ_HANDLER( ra_fake_d800_r )
29 {
30 	return 0x51;
31 }
32 
WRITE_HANDLER(ra_fake_d800_w)33 WRITE_HANDLER( ra_fake_d800_w )
34 {
35 /*	logerror("d900: %02X\n",data);*/
36 }
37 
MEMORY_READ_START(readmem)38 static MEMORY_READ_START (readmem)
39 	{ 0x0000, 0x7fff, MRA_ROM },
40 	{ 0x8000, 0x9fff, MRA_ROM }, /* only rollace2 */
41 	{ 0xc000, 0xcfff, MRA_RAM },
42 	{ 0xd900, 0xd900, ra_fake_d800_r }, /* protection ??*/
43 	{ 0xe000, 0xe3ff, MRA_RAM },
44 	{ 0xe400, 0xe47f, MRA_RAM },
45 	{ 0xec00, 0xec0f, MRA_NOP }, /* Analog sound effects ??*/
46 	{ 0xf000, 0xf0ff, MRA_RAM },
47 	{ 0xf800, 0xf800, input_port_0_r },		/* player1*/
48 	{ 0xf801, 0xf801, input_port_1_r },		/* player2*/
49 	{ 0xf804, 0xf804, input_port_3_r },
50 	{ 0xf802, 0xf802, input_port_2_r },
51 	{ 0xf805, 0xf805, input_port_4_r },
52 	{ 0xd806, 0xd806, MRA_NOP }, /* looks like a watchdog, bit4 checked*/
53 MEMORY_END
54 
55 static MEMORY_WRITE_START (writemem)
56 	{ 0x0000, 0x7fff, MWA_ROM },
57 	{ 0x8000, 0x9fff, MWA_ROM },
58 	{ 0xc000, 0xcfff, MWA_RAM },
59 	{ 0xd900, 0xd900, ra_fake_d800_w }, /* protection ?? */
60 	{ 0xe000, 0xe3ff, videoram_w, &videoram, &videoram_size },
61 	{ 0xe400, 0xe47f, colorram_w, &colorram },
62 	{ 0xe800, 0xe800, soundlatch_w },
63 	{ 0xec00, 0xec0f, MWA_NOP }, /* Analog sound effects ?? ec00 sound enable ?*/
64 	{ 0xf000, 0xf0ff, MWA_RAM , &spriteram, &spriteram_size },
65 	{ 0xfc00, 0xfc00, rollrace_flipx_w },
66 	{ 0xfc01, 0xfc01, interrupt_enable_w },
67 	{ 0xfc02, 0xfc03, MWA_NOP }, /* coin counters */
68 	{ 0xfc04, 0xfc05, rollrace_charbank_w },
69 	{ 0xfc06, 0xfc06, rollrace_spritebank_w },
70 	{ 0xf400, 0xf400, rollrace_backgroundcolor_w },
71 	{ 0xf801, 0xf801, rollrace_bkgpen_w },
72 	{ 0xf802, 0xf802, rollrace_backgroundpage_w },
73 	{ 0xf803, 0xf803, rollrace_flipy_w },
74 MEMORY_END
75 
76 static MEMORY_READ_START (readmem_snd)
77 		{ 0x0000, 0x0fff, MRA_ROM },
78 		{ 0x2000, 0x2fff, MRA_RAM },
79 		{ 0x3000, 0x3000, soundlatch_r },
80 MEMORY_END
81 
82 static MEMORY_WRITE_START (writemem_snd)
83 		{ 0x0000, 0x0fff, MWA_ROM },
84 		{ 0x2000, 0x2fff, MWA_RAM },
85 		{ 0x3000, 0x3000, interrupt_enable_w },
86 		{ 0x4000, 0x4000, AY8910_control_port_0_w },
87 		{ 0x4001, 0x4001, AY8910_write_port_0_w },
88 		{ 0x5000, 0x5000, AY8910_control_port_1_w },
89 		{ 0x5001, 0x5001, AY8910_write_port_1_w },
90 		{ 0x6000, 0x6000, AY8910_control_port_2_w },
91 		{ 0x6001, 0x6001, AY8910_write_port_2_w },
92 MEMORY_END
93 
94 
95 INPUT_PORTS_START( rollrace )
96 	PORT_START
97 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_8WAY )
98 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT| IPF_8WAY )
99 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP   | IPF_8WAY )
100 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_8WAY )
101 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 ) // Jump
102 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) // Punch
103 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
104 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
105 	PORT_START
106 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_COCKTAIL |IPF_8WAY )
107 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_COCKTAIL |IPF_8WAY )
108 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_COCKTAIL |IPF_8WAY )
109 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_COCKTAIL |IPF_8WAY )
110 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL ) // Jump
111 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 | IPF_COCKTAIL ) // Punch
112 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
113 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
114 
115 	PORT_START
116 	PORT_BIT( 0x01, IP_ACTIVE_HIGH,IPT_COIN1 )
117 	PORT_BIT( 0x02, IP_ACTIVE_HIGH,IPT_COIN2 )
118 	PORT_BIT( 0x04, IP_ACTIVE_HIGH,IPT_SERVICE1 )
119 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
120 	PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
121 	PORT_DIPSETTING( 0x08, DEF_STR( On ) )
122 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START1 )
123 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START2 )
124 	PORT_SERVICE( 0x40, IP_ACTIVE_HIGH )
125 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
126 	PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
127 	PORT_DIPSETTING( 0x80, DEF_STR( On ) )
128 
129 	PORT_START
130 	PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A ) )
131 	PORT_DIPSETTING( 	0x07, DEF_STR( 6C_1C ) )
132 	PORT_DIPSETTING( 	0x06, DEF_STR( 3C_1C ) )
133 	PORT_DIPSETTING( 	0x04, DEF_STR( 2C_1C ) )
134 	PORT_DIPSETTING( 	0x00, DEF_STR( 1C_1C ) )
135 	PORT_DIPSETTING( 	0x05, DEF_STR( 2C_3C ) )
136 	PORT_DIPSETTING( 	0x01, DEF_STR( 1C_2C ) )
137 	PORT_DIPSETTING( 	0x02, DEF_STR( 1C_3C ) )
138 	PORT_DIPSETTING( 	0x03, DEF_STR( 1C_6C ) )
139 
140 	PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) )
141 	PORT_DIPSETTING( 	0x38, DEF_STR( 6C_1C ) )
142 	PORT_DIPSETTING( 	0x30, DEF_STR( 3C_1C ) )
143 	PORT_DIPSETTING( 	0x20, DEF_STR( 2C_1C ) )
144 	PORT_DIPSETTING( 	0x00, DEF_STR( 1C_1C ) )
145 	PORT_DIPSETTING( 	0x28, DEF_STR( 2C_3C ) )
146 	PORT_DIPSETTING( 	0x08, DEF_STR( 1C_2C ) )
147 	PORT_DIPSETTING( 	0x10, DEF_STR( 1C_3C ) )
148 	PORT_DIPSETTING( 	0x18, DEF_STR( 1C_6C ) )
149 
150 /*	PORT_BIT( 0x40, IP_ACTIVE_HIGH , IPT_VBLANK )  freezes frame, could be vblank ?*/
151 	PORT_DIPNAME( 0x40, 0x00, "Freeze" )
152 	PORT_DIPSETTING( 	0x00, DEF_STR( Off ) )
153 	PORT_DIPSETTING( 	0x40, DEF_STR( On ) )
154 /*	PORT_DIPNAME( 0x80, 0x00, "Free Run" ) */
155 	PORT_BITX(    0x80, 0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", 0, 0 )
156 	PORT_DIPSETTING( 	0x00, DEF_STR( Off ) ) /* test mode, you are invulnerable */
157 	PORT_DIPSETTING( 	0x80, DEF_STR( On ) )	/* to 'static' objects */
158 
159 	PORT_START
160 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
161 	PORT_DIPSETTING( 	0x00, "2" )
162 	PORT_DIPSETTING( 	0x01, "3" )
163 	PORT_DIPSETTING( 	0x02, "5" )
164 	PORT_DIPSETTING( 	0x03, "7" )
165 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Bonus_Life ) )
166 	PORT_DIPSETTING( 	0x04, "20000" )
167 	PORT_DIPSETTING( 	0x08, "50000" )
168 	PORT_DIPSETTING( 	0x0c, "100000" )
169 	PORT_DIPSETTING( 	0x00, "None" )
170 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Difficulty ) )
171 	PORT_DIPSETTING( 	0x00, "A" )
172 	PORT_DIPSETTING( 	0x10, "B" )
173 	PORT_DIPSETTING( 	0x20, "C" )
174 	PORT_DIPSETTING( 	0x30, "D" )
175 	PORT_DIPNAME( 0x40, 0x00, DEF_STR(Cabinet) )
176 	PORT_DIPSETTING( 	0x00, DEF_STR( Upright ) )
177 	PORT_DIPSETTING( 	0x40, DEF_STR( Cocktail ) )
178 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
179 	PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
180 	PORT_DIPSETTING( 0x80, DEF_STR( On ) )
181 INPUT_PORTS_END
182 
183 static struct GfxLayout charlayout =
184 {
185 	8,8,	/* 8*8 characters */
186 		256,	/* 256 characters */
187 		3,	  /* 3 bits per pixel */
188 		{ 0,1024*8*8, 2*1024*8*8 }, /* the two bitplanes are separated */
189 	{ 0,1,2,3,4,5,6,7 },
190 	{ 7*8, 6*8, 5*8, 4*8, 3*8, 2*8, 1*8, 0*8 },
191 
192 
193 	8*8	/* every char takes 8 consecutive bytes */
194 };
195 static struct GfxLayout charlayout2 =
196 {
197 	8,8,	/* 8*8 characters */
198 		1024,	/* 1024 characters */
199 		3,	  /* 3 bits per pixel */
200 		{ 0,1024*8*8, 2*1024*8*8 }, /* the two bitplanes are separated */
201 	{ 0, 1, 2, 3, 4, 5, 6, 7 },
202 	{ 7*8, 6*8, 5*8, 4*8, 3*8, 2*8, 1*8, 0*8 },
203 
204 //	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
205 
206 	8*8	/* every char takes 8 consecutive bytes */
207 };
208 
209 static struct GfxLayout spritelayout =
210 {
211 		32,32,  /* 32*32 sprites */
212 		64,	/* 64 sprites */
213 	3,	  /* 3 bits per pixel */
214 		{ 0x4000*8, 0x2000*8, 0 }, /* the three bitplanes are separated */
215 	{ 0, 1, 2, 3, 4, 5, 6, 7,
216 		 8*8+0, 8*8+1, 8*8+2, 8*8+3, 8*8+4, 8*8+5, 8*8+6, 8*8+7,16*8,16*8+1,16*8+2,16*8+3,16*8+4,16*8+5,16*8+6,16*8+7,24*8,24*8+1,24*8+2,24*8+3,24*8+4,24*8+5,24*8+6,24*8+7},
217 
218 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
219 		  32*8, 33*8, 34*8, 35*8, 36*8, 37*8, 38*8, 39*8,
220 		  64*8,65*8,66*8,67*8,68*8,69*8,70*8,71*8, 96*8,97*8,98*8,99*8,100*8,101*8,102*8,103*8 },
221 
222 		32*32	 /* every sprite takes 128 consecutive bytes */
223 };
224 
225 static struct GfxDecodeInfo gfxdecodeinfo[] =
226 {
227 		{ REGION_GFX1, 0x0000, &charlayout,	0,	32 }, /* foreground */
228 		{ REGION_GFX1, 0x0800, &charlayout,	0,	32 },
229 		{ REGION_GFX1, 0x1000, &charlayout,	0,	32 },
230 		{ REGION_GFX1, 0x1800, &charlayout,	0,	32 },
231 		{ REGION_GFX2, 0x0000, &charlayout2,	0, 	32 }, /* for the road */
232 		{ REGION_GFX3, 0x0000, &spritelayout,	0, 	32 }, /* sprites */
233 		{ REGION_GFX4, 0x0000, &spritelayout,	0,	32 },
234 		{ REGION_GFX5, 0x0000, &spritelayout,	0,	32 },
235 
236 	{ -1 } /* end of array */
237 };
238 
239 static struct AY8910interface ra_ay8910_interface =
240 {
241 	3,	  	/* 3 chips */
242 	14318000/8,	/* 1.78975 MHz */
243 	{ 10,10,10 },
244 	{ 0 },
245 	{ 0 },
246 	{ 0 },
247 	{ 0 }
248 };
249 
250 static MACHINE_DRIVER_START( rollrace )
251 
252 	/* basic machine hardware */
253 	MDRV_CPU_ADD(Z80,18432000/6)			/* ?? */
254 	MDRV_CPU_MEMORY(readmem,writemem)
255 	MDRV_CPU_VBLANK_INT(nmi_line_pulse,1)
256 
257 	MDRV_CPU_ADD(Z80,14318000/6)
258 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)			/* ?? */
259 	MDRV_CPU_MEMORY(readmem_snd,writemem_snd)
260 	MDRV_CPU_VBLANK_INT(nmi_line_pulse,3)
261 
262 	MDRV_FRAMES_PER_SECOND(60)
263 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
264 
265 	/* video hardware */
266 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
267 	MDRV_SCREEN_SIZE(256, 256)
268 	MDRV_VISIBLE_AREA(16,255,16, 255-16)
269 	MDRV_GFXDECODE(gfxdecodeinfo)
270 	MDRV_PALETTE_LENGTH(256)
271 	MDRV_COLORTABLE_LENGTH(32*8)
272 
273 	MDRV_PALETTE_INIT(wiz)
274 	MDRV_VIDEO_START(generic)
275 	MDRV_VIDEO_UPDATE(rollrace)
276 
277 	/* sound hardware */
278 	MDRV_SOUND_ADD(AY8910, ra_ay8910_interface)
279 MACHINE_DRIVER_END
280 
281 static MACHINE_DRIVER_START( rollace2 )
282 
283 	/* basic machine hardware */
284 	MDRV_IMPORT_FROM(rollrace)
285 
286 	MDRV_VISIBLE_AREA(0,255-24,16, 255-16)
287 MACHINE_DRIVER_END
288 
289 
290 /***************************************************************************
291 
292   Game driver(s)
293 
294 ***************************************************************************/
295 
296 ROM_START( fightrol )
297 	ROM_REGION( 0x10000, REGION_CPU1,0 )	/* 64k for code */
298 	ROM_LOAD( "4.8k", 0x0000, 0x2000, CRC(efa2f430) SHA1(6aeb2a41e4fba97a0ac1b24fe5437e25b6c6b6c5) )
299 	ROM_LOAD( "5.8h", 0x2000, 0x2000, CRC(2497d9f6) SHA1(4f4cfed47efc603bf057dd24b761beecf5b929f4) )
300 	ROM_LOAD( "6.8f", 0x4000, 0x2000, CRC(f39727b9) SHA1(08a1300172b4100cb80c9a5d8942408255d8e330) )
301 	ROM_LOAD( "7.8d", 0x6000, 0x2000, CRC(ee65b728) SHA1(871918d505ad8bab60c55bbb95fe37556a204dc9) )
302 
303 	ROM_REGION( 0x6000,REGION_GFX1,ROMREGION_DISPOSE )	/* characters */
304 	ROM_LOAD( "3.7m", 0x0000, 0x2000, CRC(ca4f353c) SHA1(754838c6ad6886052a018966d55f40a7ed4b684d) )
305 	ROM_LOAD( "2.8m", 0x2000, 0x2000, CRC(93786171) SHA1(3928aad8bc43adeaad5e53c1d4e9df64f1d23704) )
306 	ROM_LOAD( "1.9m", 0x4000, 0x2000, CRC(dc072be1) SHA1(94d379a4c5a53050a18cd572cc82edb337182f3b) )
307 
308 	ROM_REGION( 0x6000, REGION_GFX2,ROMREGION_DISPOSE )	/* road graphics */
309 	ROM_LOAD ( "6.20k", 0x0000, 0x2000, CRC(003d7515) SHA1(d8d84d690478cad16101f2ef9a1ae1ae74d01c88) )
310 	ROM_LOAD ( "7.18k", 0x2000, 0x2000, CRC(27843afa) SHA1(81d3031a2c06086461110696a0ee11d32992ecac) )
311 	ROM_LOAD ( "5.20f", 0x4000, 0x2000, CRC(51dd0108) SHA1(138c0aba6c952204e794216193def17b390c4ba2) )
312 
313 	ROM_REGION( 0x6000, REGION_GFX3,ROMREGION_DISPOSE ) 	/* sprite bank 0*/
314 	ROM_LOAD ( "8.17m",  0x0000, 0x2000, CRC(08ad783e) SHA1(fea91e41916cfc7b29c5f9a578e2c82a54f66829) )
315 	ROM_LOAD ( "9.17r",  0x2000, 0x2000, CRC(69b23461) SHA1(73eca5e721425f37df311454bd5b4e632b096eba) )
316 	ROM_LOAD ( "10.17t", 0x4000, 0x2000, CRC(ba6ccd8c) SHA1(29a13e3161aba4db080434685869f8b79ad7997c) )
317 
318 	ROM_REGION( 0x6000, REGION_GFX4,ROMREGION_DISPOSE ) 	/* sprite bank 1*/
319 	ROM_LOAD ( "11.18m", 0x0000, 0x2000, CRC(06a5d849) SHA1(b9f604edf4fdc053b738041493aef91dd730fe6b) )
320 	ROM_LOAD ( "12.18r", 0x2000, 0x2000, CRC(569815ef) SHA1(db261799892f60b2274b73fb25cde58219bb44db) )
321 	ROM_LOAD ( "13.18t", 0x4000, 0x2000, CRC(4f8af872) SHA1(6c07ff0733b8d8440309c9ae0db0876587b740a6) )
322 
323 	ROM_REGION( 0x6000, REGION_GFX5,ROMREGION_DISPOSE )	/* sprite bank 2*/
324 	ROM_LOAD ( "14.19m", 0x0000, 0x2000, CRC(93f3c649) SHA1(38d6bb4b6108a67b135ae1a145532f4a0c2568b8) )
325 	ROM_LOAD ( "15.19r", 0x2000, 0x2000, CRC(5b3d87e4) SHA1(e47f7b62bf7101afba8d5e181f4bd8f8eb6eeb08) )
326 	ROM_LOAD ( "16.19u", 0x4000, 0x2000, CRC(a2c24b64) SHA1(e76558785ea337ab902fb6f94dc1a4bdfcd6335e) )
327 
328 	ROM_REGION( 0x8000, REGION_USER1,ROMREGION_NODISPOSE )	/* road layout */
329 	ROM_LOAD ( "1.17a", 0x0000, 0x2000, CRC(f0fa72fc) SHA1(b73e794df635630f29a79adfe2951dc8f1d17e20) )
330 	ROM_LOAD ( "3.18b", 0x2000, 0x2000, CRC(954268f7) SHA1(07057296e0281f90b18dfe4223aad18bff7cfa6e) )
331 	ROM_LOAD ( "2.17d", 0x4000, 0x2000, CRC(2e38bb0e) SHA1(684f14a06ff957e40780be21c0ad5f10088a55ed) )
332 	ROM_LOAD ( "4.18d", 0x6000, 0x2000, CRC(3d9e16ab) SHA1(e99628ffc54e3ff4818313a287ca111617120910) )
333 
334 	ROM_REGION( 0x300, REGION_PROMS,ROMREGION_NODISPOSE )	/* colour */
335 	ROM_LOAD("tbp24s10.7u", 0x0000, 0x0100, CRC(9d199d33) SHA1(b8982f7da2b85f10d117177e4e73cbb486931cf5) )
336 	ROM_LOAD("tbp24s10.7t", 0x0100, 0x0100, CRC(c0426582) SHA1(8e3e4d1e76243cce272aa099d2d6ad4fa6c99f7c) )
337 	ROM_LOAD("tbp24s10.6t", 0x0200, 0x0100, CRC(c096e05c) SHA1(cb5b509e6124453f381a683ba446f8f4493d4610) )
338 
339 	ROM_REGION( 0x10000,REGION_CPU2,0 )
340 	ROM_LOAD( "8.6f", 0x0000, 0x1000, CRC(6ec3c545) SHA1(1a2477b9e1563734195b0743f5dbbb005e06022e) )
341 ROM_END
342 
343 ROM_START( rollace )
344 	ROM_REGION( 0x10000, REGION_CPU1,0 )	/* 64k for code */
345 	ROM_LOAD( "w1.8k", 0x0000, 0x2000, CRC(c0bd3cf3) SHA1(a44d69b8c3249b5093261a32d0e0404992fa7f7a) )
346 	ROM_LOAD( "w2.8h", 0x2000, 0x2000, CRC(c1900a75) SHA1(f7ec968b6bcb6ee6db98628cdf566ae0a501edba) )
347 	ROM_LOAD( "w3.8f", 0x4000, 0x2000, CRC(16ceced6) SHA1(241119959ffdf26780258bcc5651eca0c6a6128f) )
348 	ROM_LOAD( "w4.8d", 0x6000, 0x2000, CRC(ae826a96) SHA1(47979343c9fa7629ba6d62630c7c3fdfa2c8c28a) )
349 
350 	ROM_REGION( 0x6000,REGION_GFX1,ROMREGION_DISPOSE )	/* characters */
351 	ROM_LOAD( "w3.7m", 0x0000, 0x2000, CRC(f9970aae) SHA1(ccb806cab3d3817c779e048f995d1f6fbe163679) )
352 	ROM_LOAD( "w2.8m", 0x2000, 0x2000, CRC(80573091) SHA1(ea352abebc428db9e89eda5f369a3b1086aa8970) )
353 	ROM_LOAD( "w1.9m", 0x4000, 0x2000, CRC(b37effd8) SHA1(d77d56d734834812b8d9b3c156577dbbcb2deac8) )
354 
355 	ROM_REGION( 0x6000, REGION_GFX2,ROMREGION_DISPOSE )	/* road graphics */
356 	ROM_LOAD ( "6.20k", 0x0000, 0x2000, CRC(003d7515) SHA1(d8d84d690478cad16101f2ef9a1ae1ae74d01c88) )
357 	ROM_LOAD ( "7.18k", 0x2000, 0x2000, CRC(27843afa) SHA1(81d3031a2c06086461110696a0ee11d32992ecac) )
358 	ROM_LOAD ( "5.20f", 0x4000, 0x2000, CRC(51dd0108) SHA1(138c0aba6c952204e794216193def17b390c4ba2) )
359 
360 	ROM_REGION( 0x6000, REGION_GFX3,ROMREGION_DISPOSE ) 	/* sprite bank 0*/
361 	ROM_LOAD ( "w8.17m",  0x0000, 0x2000, CRC(e2afe3a3) SHA1(a83a12c0c6c62e45add916a6993f0ad06840c4d9) )
362 	ROM_LOAD ( "w9.17p",  0x2000, 0x2000, CRC(8a8e6b62) SHA1(6e7d4a84b7c78e009bce0641e357f74c8ac9e5ac) )
363 	ROM_LOAD ( "w10.17t", 0x4000, 0x2000, CRC(70bf7b23) SHA1(6774eceb0bfea66156ecd837f9d0adbdf8dec8ee) )
364 
365 	ROM_REGION( 0x6000, REGION_GFX4,ROMREGION_DISPOSE ) 	/* sprite bank 1*/
366 	ROM_LOAD ( "11.18m", 0x0000, 0x2000, CRC(06a5d849) SHA1(b9f604edf4fdc053b738041493aef91dd730fe6b) )
367 	ROM_LOAD ( "12.18r", 0x2000, 0x2000, CRC(569815ef) SHA1(db261799892f60b2274b73fb25cde58219bb44db) )
368 	ROM_LOAD ( "13.18t", 0x4000, 0x2000, CRC(4f8af872) SHA1(6c07ff0733b8d8440309c9ae0db0876587b740a6) )
369 
370 	ROM_REGION( 0x6000, REGION_GFX5,ROMREGION_DISPOSE )	/* sprite bank 2*/
371 	ROM_LOAD ( "14.19m", 0x0000, 0x2000, CRC(93f3c649) SHA1(38d6bb4b6108a67b135ae1a145532f4a0c2568b8) )
372 	ROM_LOAD ( "15.19r", 0x2000, 0x2000, CRC(5b3d87e4) SHA1(e47f7b62bf7101afba8d5e181f4bd8f8eb6eeb08) )
373 	ROM_LOAD ( "16.19u", 0x4000, 0x2000, CRC(a2c24b64) SHA1(e76558785ea337ab902fb6f94dc1a4bdfcd6335e) )
374 
375 	ROM_REGION( 0x8000, REGION_USER1,ROMREGION_NODISPOSE )	/* road layout */
376 	ROM_LOAD ( "1.17a", 0x0000, 0x2000, CRC(f0fa72fc) SHA1(b73e794df635630f29a79adfe2951dc8f1d17e20) )
377 	ROM_LOAD ( "3.18b", 0x2000, 0x2000, CRC(954268f7) SHA1(07057296e0281f90b18dfe4223aad18bff7cfa6e) )
378 	ROM_LOAD ( "2.17d", 0x4000, 0x2000, CRC(2e38bb0e) SHA1(684f14a06ff957e40780be21c0ad5f10088a55ed) )
379 	ROM_LOAD ( "4.18d", 0x6000, 0x2000, CRC(3d9e16ab) SHA1(e99628ffc54e3ff4818313a287ca111617120910) )
380 
381 	ROM_REGION( 0x300, REGION_PROMS,ROMREGION_NODISPOSE )	/* colour */
382 	ROM_LOAD("tbp24s10.7u", 0x0000, 0x0100, CRC(9d199d33) SHA1(b8982f7da2b85f10d117177e4e73cbb486931cf5) )
383 	ROM_LOAD("tbp24s10.7t", 0x0100, 0x0100, CRC(c0426582) SHA1(8e3e4d1e76243cce272aa099d2d6ad4fa6c99f7c) )
384 	ROM_LOAD("tbp24s10.6t", 0x0200, 0x0100, CRC(c096e05c) SHA1(cb5b509e6124453f381a683ba446f8f4493d4610) )
385 
386 	ROM_REGION( 0x10000,REGION_CPU2,0 )
387 	ROM_LOAD( "8.6f", 0x0000, 0x1000, CRC(6ec3c545) SHA1(1a2477b9e1563734195b0743f5dbbb005e06022e) )
388 ROM_END
389 
390 ROM_START( rollace2 )
391 	ROM_REGION( 0x10000, REGION_CPU1,0 )	/* 64k for code */
392 	ROM_LOAD( "8k.764", 0x0000, 0x2000, CRC(a7abff82) SHA1(d49635f98b28b2b5e2833d25b0961addac2c3e6f) )
393 	ROM_LOAD( "8h.764", 0x2000, 0x2000, CRC(9716ba03) SHA1(8a7bfc1dce3b1b0c634690e0637e0a30776c0334) )
394 	ROM_LOAD( "8f.764", 0x4000, 0x2000, CRC(3eadb0e8) SHA1(6ff5b76360597f3a6a9718e505295c8557e569ae) )
395 	ROM_LOAD( "8d.764", 0x6000, 0x2000, CRC(baac14db) SHA1(9707b59a6506eb11c0a6b88364a784469ccdbb96) )
396 	ROM_LOAD( "8c.764", 0x8000, 0x2000, CRC(b418ce84) SHA1(876be297a671328138a9238d42871f22bb568cda) )
397 
398 	ROM_REGION( 0x6000,REGION_GFX1,ROMREGION_DISPOSE )	/* characters */
399 	ROM_LOAD( "7m.764", 0x0000, 0x2000, CRC(8b9b27af) SHA1(a52894adb739f14a5949b6d15dd7b03ce5716d9a) )
400 	ROM_LOAD( "8m.764", 0x2000, 0x2000, CRC(2dfc38f2) SHA1(c0ad3a7d1f5249c159c355d709cc3039fbb7a3b2) )
401 	ROM_LOAD( "9m.764", 0x4000, 0x2000, CRC(2e3a825b) SHA1(d0d25d9a0fe31d46cb6cc999da3d9fc14f23251f) )
402 
403 	ROM_REGION( 0x6000, REGION_GFX2,ROMREGION_DISPOSE )	/* road graphics */
404 	ROM_LOAD ( "6.20k", 0x0000, 0x2000, CRC(003d7515) SHA1(d8d84d690478cad16101f2ef9a1ae1ae74d01c88) )
405 	ROM_LOAD ( "7.18k", 0x2000, 0x2000, CRC(27843afa) SHA1(81d3031a2c06086461110696a0ee11d32992ecac) )
406 	ROM_LOAD ( "5.20f", 0x4000, 0x2000, CRC(51dd0108) SHA1(138c0aba6c952204e794216193def17b390c4ba2) )
407 
408 	ROM_REGION( 0x6000, REGION_GFX3,ROMREGION_DISPOSE ) 	/* sprite bank 0*/
409 	ROM_LOAD ( "17n.764",0x0000, 0x2000, CRC(3365703c) SHA1(7cf374ba25f4fd163a66c0aea74ddfd3003c7992) )
410 	ROM_LOAD ( "9.17r",  0x2000, 0x2000, CRC(69b23461) SHA1(73eca5e721425f37df311454bd5b4e632b096eba) )
411 	ROM_LOAD ( "17t.764",0x4000, 0x2000, CRC(5e84cc9b) SHA1(33cdf7b756ade8c0dd1dcdad583af4de02cd51eb) )
412 
413 	ROM_REGION( 0x6000, REGION_GFX4,ROMREGION_DISPOSE ) 	/* sprite bank 1*/
414 	ROM_LOAD ( "11.18m", 0x0000, 0x2000, CRC(06a5d849) SHA1(b9f604edf4fdc053b738041493aef91dd730fe6b) )
415 	ROM_LOAD ( "12.18r", 0x2000, 0x2000, CRC(569815ef) SHA1(db261799892f60b2274b73fb25cde58219bb44db) )
416 	ROM_LOAD ( "13.18t", 0x4000, 0x2000, CRC(4f8af872) SHA1(6c07ff0733b8d8440309c9ae0db0876587b740a6) )
417 
418 	ROM_REGION( 0x6000, REGION_GFX5,ROMREGION_DISPOSE )	/* sprite bank 2*/
419 	ROM_LOAD ( "14.19m", 0x0000, 0x2000, CRC(93f3c649) SHA1(38d6bb4b6108a67b135ae1a145532f4a0c2568b8) )
420 	ROM_LOAD ( "15.19r", 0x2000, 0x2000, CRC(5b3d87e4) SHA1(e47f7b62bf7101afba8d5e181f4bd8f8eb6eeb08) )
421 	ROM_LOAD ( "16.19u", 0x4000, 0x2000, CRC(a2c24b64) SHA1(e76558785ea337ab902fb6f94dc1a4bdfcd6335e) )
422 
423 	ROM_REGION( 0x8000, REGION_USER1,ROMREGION_NODISPOSE )	/* road layout */
424 	ROM_LOAD ( "1.17a",  0x0000, 0x2000, CRC(f0fa72fc) SHA1(b73e794df635630f29a79adfe2951dc8f1d17e20) )
425 	ROM_LOAD ( "3.18b",  0x2000, 0x2000, CRC(954268f7) SHA1(07057296e0281f90b18dfe4223aad18bff7cfa6e) )
426 	ROM_LOAD ( "17d.764",0x4000, 0x2000, CRC(32e69320) SHA1(d399a8c3b0319178d75f68f1a9b65b3efd91e00a) )
427 	ROM_LOAD ( "4.18d",  0x6000, 0x2000, CRC(3d9e16ab) SHA1(e99628ffc54e3ff4818313a287ca111617120910) )
428 
429 	ROM_REGION( 0x300, REGION_PROMS,ROMREGION_NODISPOSE )	/* colour */
430 	ROM_LOAD("tbp24s10.7u", 0x0000, 0x0100, CRC(9d199d33) SHA1(b8982f7da2b85f10d117177e4e73cbb486931cf5) )
431 	ROM_LOAD("tbp24s10.7t", 0x0100, 0x0100, CRC(c0426582) SHA1(8e3e4d1e76243cce272aa099d2d6ad4fa6c99f7c) )
432 	ROM_LOAD("tbp24s10.6t", 0x0200, 0x0100, CRC(c096e05c) SHA1(cb5b509e6124453f381a683ba446f8f4493d4610) )
433 
434 	ROM_REGION( 0x10000,REGION_CPU2,0 )
435 	ROM_LOAD( "8.6f", 0x0000, 0x1000, CRC(6ec3c545) SHA1(1a2477b9e1563734195b0743f5dbbb005e06022e) )
436 ROM_END
437 
438 GAMEX( 1983, fightrol, 0,        rollrace, rollrace, 0, ROT270, "[Kaneko] (Taito license)", "Fighting Roller", GAME_IMPERFECT_SOUND|GAME_IMPERFECT_COLORS )
439 GAMEX( 1983, rollace,  fightrol, rollrace, rollrace, 0, ROT270, "[Kaneko] (Williams license)", "Roller Aces (set 1)", GAME_IMPERFECT_SOUND|GAME_IMPERFECT_COLORS )
440 GAMEX( 1983, rollace2, fightrol, rollace2, rollrace, 0, ROT90,  "[Kaneko] (Williams license)", "Roller Aces (set 2)", GAME_IMPERFECT_SOUND|GAME_IMPERFECT_COLORS )
441