1 #include "../vidhrdw/mrdo.c"
2 
3 /***************************************************************************
4 
5 Mr Do! memory map (preliminary)
6 
7 driver by Nicola Salmoria
8 
9 0000-7fff ROM
10 8000-83ff color RAM 1
11 8400-87ff video RAM 1
12 8800-8bff color RAM 2
13 8c00-8fff video RAM 2
14 e000-efff RAM
15 
16 memory mapped ports:
17 
18 read:
19 9803      SECRE 1/6-J2-11
20 a000      IN0
21 a001      IN1
22 a002      DSW1
23 a003      DSW2
24 
25 write:
26 9000-90ff sprites, 64 groups of 4 bytes.
27 9800      flip (bit 0) playfield priority selector? (bits 1-3)
28 9801      sound port 1
29 9802      sound port 2
30 f000      playfield 0 Y scroll position (not used by Mr. Do!)
31 f800      playfield 0 X scroll position
32 
33 ***************************************************************************/
34 
35 #include "driver.h"
36 #include "vidhrdw/generic.h"
37 #include "cpu/z80/z80.h"
38 
39 
40 
41 extern unsigned char *mrdo_bgvideoram,*mrdo_fgvideoram;
42 WRITE_HANDLER( mrdo_bgvideoram_w );
43 WRITE_HANDLER( mrdo_fgvideoram_w );
44 WRITE_HANDLER( mrdo_scrollx_w );
45 WRITE_HANDLER( mrdo_scrolly_w );
46 WRITE_HANDLER( mrdo_flipscreen_w );
47 void mrdo_vh_convert_color_prom(unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
48 int mrdo_vh_start(void);
49 void mrdo_vh_screenrefresh(struct osd_bitmap *bitmap,int full_refresh);
50 
51 
52 
53 /* this looks like some kind of protection. The game doesn't clear the screen */
54 /* if a read from this address doesn't return the value it expects. */
READ_HANDLER(mrdo_SECRE_r)55 READ_HANDLER( mrdo_SECRE_r )
56 {
57 	unsigned char *RAM = memory_region(REGION_CPU1);
58 	return RAM[ cpu_get_reg(Z80_HL) ];
59 }
60 
61 
62 
63 static struct MemoryReadAddress readmem[] =
64 {
65 	{ 0x0000, 0x7fff, MRA_ROM },
66 	{ 0x8000, 0x8fff, MRA_RAM },	/* video and color RAM */
67 	{ 0x9803, 0x9803, mrdo_SECRE_r },
68 	{ 0xa000, 0xa000, input_port_0_r },	/* IN0 */
69 	{ 0xa001, 0xa001, input_port_1_r },	/* IN1 */
70 	{ 0xa002, 0xa002, input_port_2_r },	/* DSW1 */
71 	{ 0xa003, 0xa003, input_port_3_r },	/* DSW2 */
72 	{ 0xe000, 0xefff, MRA_RAM },
73 	{ -1 }	/* end of table */
74 };
75 
76 static struct MemoryWriteAddress writemem[] =
77 {
78 	{ 0x0000, 0x7fff, MWA_ROM },
79 	{ 0x8000, 0x87ff, mrdo_bgvideoram_w, &mrdo_bgvideoram },
80 	{ 0x8800, 0x8fff, mrdo_fgvideoram_w, &mrdo_fgvideoram },
81 	{ 0x9000, 0x90ff, MWA_RAM, &spriteram, &spriteram_size },
82 	{ 0x9800, 0x9800, mrdo_flipscreen_w },	/* screen flip + playfield priority */
83 	{ 0x9801, 0x9801, SN76496_0_w },
84 	{ 0x9802, 0x9802, SN76496_1_w },
85 	{ 0xe000, 0xefff, MWA_RAM },
86 	{ 0xf000, 0xf7ff, mrdo_scrollx_w },
87 	{ 0xf800, 0xffff, mrdo_scrolly_w },
88 	{ -1 }	/* end of table */
89 };
90 
91 
92 INPUT_PORTS_START( mrdo )
93 	PORT_START	/* IN0 */
94 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY )
95 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY )
96 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
97 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY )
98 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
99 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
100 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
101 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT )
102 
103 	PORT_START	/* IN1 */
104 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
105 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
106 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
107 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
108 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
109 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
110 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
111 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
112 
113 	PORT_START	/* DSW0 */
114 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
115 	PORT_DIPSETTING(    0x03, "Easy" )
116 	PORT_DIPSETTING(    0x02, "Medium" )
117 	PORT_DIPSETTING(    0x01, "Hard" )
118 	PORT_DIPSETTING(    0x00, "Hardest" )
119 	PORT_BITX(    0x04, 0x04, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
120 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
121 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
122 	PORT_DIPNAME( 0x08, 0x08, "Special" )
123 	PORT_DIPSETTING(    0x08, "Easy" )
124 	PORT_DIPSETTING(    0x00, "Hard" )
125 	PORT_DIPNAME( 0x10, 0x10, "Extra" )
126 	PORT_DIPSETTING(    0x10, "Easy" )
127 	PORT_DIPSETTING(    0x00, "Hard" )
128 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
129 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
130 	PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
131 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
132 	PORT_DIPSETTING(    0x00, "2" )
133 	PORT_DIPSETTING(    0xc0, "3" )
134 	PORT_DIPSETTING(    0x80, "4" )
135 	PORT_DIPSETTING(    0x40, "5" )
136 
137 	PORT_START	/* DSW1 */
138 	PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) )
139 	PORT_DIPSETTING(    0x06, DEF_STR( 4C_1C ) )
140 	PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
141 	PORT_DIPSETTING(    0x0a, DEF_STR( 2C_1C ) )
142 	PORT_DIPSETTING(    0x07, DEF_STR( 3C_2C ) )
143 	PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
144 	PORT_DIPSETTING(    0x09, DEF_STR( 2C_3C ) )
145 	PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) )
146 	PORT_DIPSETTING(    0x0d, DEF_STR( 1C_3C ) )
147 	PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
148 	PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
149 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
150 	/* settings 0x01 thru 0x05 all give 1 Coin/1 Credit */
151 	PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) )
152 	PORT_DIPSETTING(    0x60, DEF_STR( 4C_1C ) )
153 	PORT_DIPSETTING(    0x80, DEF_STR( 3C_1C ) )
154 	PORT_DIPSETTING(    0xa0, DEF_STR( 2C_1C ) )
155 	PORT_DIPSETTING(    0x70, DEF_STR( 3C_2C ) )
156 	PORT_DIPSETTING(    0xf0, DEF_STR( 1C_1C ) )
157 	PORT_DIPSETTING(    0x90, DEF_STR( 2C_3C ) )
158 	PORT_DIPSETTING(    0xe0, DEF_STR( 1C_2C ) )
159 	PORT_DIPSETTING(    0xd0, DEF_STR( 1C_3C ) )
160 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_4C ) )
161 	PORT_DIPSETTING(    0xb0, DEF_STR( 1C_5C ) )
162 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
163 	/* settings 0x10 thru 0x50 all give 1 Coin/1 Credit */
164 INPUT_PORTS_END
165 
166 
167 
168 static struct GfxLayout charlayout =
169 {
170 	8,8,	/* 8*8 characters */
171 	512,	/* 512 characters */
172 	2,	/* 2 bits per pixel */
173 	{ 0, 512*8*8 },	/* the two bitplanes are separated */
174 	{ 7, 6, 5, 4, 3, 2, 1, 0 },
175 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
176 	8*8	/* every char takes 8 consecutive bytes */
177 };
178 static struct GfxLayout spritelayout =
179 {
180 	16,16,	/* 16*16 sprites */
181 	128,	/* 128 sprites */
182 	2,	/* 2 bits per pixel */
183 	{ 4, 0 },	/* the two bitplanes for 4 pixels are packed into one byte */
184 	{ 3, 2, 1, 0, 8+3, 8+2, 8+1, 8+0,
185 			16+3, 16+2, 16+1, 16+0, 24+3, 24+2, 24+1, 24+0 },
186 	{ 0*16, 2*16, 4*16, 6*16, 8*16, 10*16, 12*16, 14*16,
187 			16*16, 18*16, 20*16, 22*16, 24*16, 26*16, 28*16, 30*16 },
188 	64*8	/* every sprite takes 64 consecutive bytes */
189 };
190 
191 
192 
193 static struct GfxDecodeInfo gfxdecodeinfo[] =
194 {
195 	{ REGION_GFX1, 0, &charlayout,      0, 64 },	/* colors 0-255 directly mapped */
196 	{ REGION_GFX2, 0, &charlayout,      0, 64 },
197 	{ REGION_GFX3, 0, &spritelayout, 4*64, 16 },
198 	{ -1 } /* end of array */
199 };
200 
201 
202 
203 static struct SN76496interface sn76496_interface =
204 {
205 	2,	/* 2 chips */
206 	{ 4000000, 4000000 },	/* 4 MHz */
207 	{ 50, 50 }
208 };
209 
210 
211 
212 static struct MachineDriver machine_driver_mrdo =
213 {
214 	/* basic machine hardware */
215 	{
216 		{
217 			CPU_Z80,
218 			4000000,	/* 4 Mhz */
219 			readmem,writemem,0,0,
220 			interrupt,1
221 		}
222 	},
223 	60, DEFAULT_60HZ_VBLANK_DURATION,	/* frames per second, vblank duration */
224 	1,	/* single CPU, no need for interleaving */
225 	0,
226 
227 	/* video hardware */
228 	32*8, 32*8, { 1*8, 31*8-1, 4*8, 28*8-1 },
229 	gfxdecodeinfo,
230 	256,64*4+16*4,
231 	mrdo_vh_convert_color_prom,
232 
233 	VIDEO_TYPE_RASTER,
234 	0,
235 	mrdo_vh_start,
236 	0,
237 	mrdo_vh_screenrefresh,
238 
239 	/* sound hardware */
240 	0,0,0,0,
241 	{
242 		{
243 			SOUND_SN76496,
244 			&sn76496_interface
245 		}
246 	}
247 };
248 
249 
250 
251 /***************************************************************************
252 
253   Game driver(s)
254 
255 ***************************************************************************/
256 
257 ROM_START( mrdo )
258 	ROM_REGION( 0x10000, REGION_CPU1 )	/* 64k for code */
259 	ROM_LOAD( "a4-01.bin",    0x0000, 0x2000, 0x03dcfba2 )
260 	ROM_LOAD( "c4-02.bin",    0x2000, 0x2000, 0x0ecdd39c )
261 	ROM_LOAD( "e4-03.bin",    0x4000, 0x2000, 0x358f5dc2 )
262 	ROM_LOAD( "f4-04.bin",    0x6000, 0x2000, 0xf4190cfc )
263 
264 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
265 	ROM_LOAD( "s8-09.bin",    0x0000, 0x1000, 0xaa80c5b6 )
266 	ROM_LOAD( "u8-10.bin",    0x1000, 0x1000, 0xd20ec85b )
267 
268 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
269 	ROM_LOAD( "r8-08.bin",    0x0000, 0x1000, 0xdbdc9ffa )
270 	ROM_LOAD( "n8-07.bin",    0x1000, 0x1000, 0x4b9973db )
271 
272 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
273 	ROM_LOAD( "h5-05.bin",    0x0000, 0x1000, 0xe1218cc5 )
274 	ROM_LOAD( "k5-06.bin",    0x1000, 0x1000, 0xb1f68b04 )
275 
276 	ROM_REGION( 0x0060, REGION_PROMS )
277 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )	/* palette (high bits) */
278 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )	/* palette (low bits) */
279 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )	/* sprite color lookup table */
280 ROM_END
281 
282 ROM_START( mrdot )
283 	ROM_REGION( 0x10000, REGION_CPU1 )	/* 64k for code */
284 	ROM_LOAD( "d1",           0x0000, 0x2000, 0x3dcd9359 )
285 	ROM_LOAD( "d2",           0x2000, 0x2000, 0x710058d8 )
286 	ROM_LOAD( "d3",           0x4000, 0x2000, 0x467d12d8 )
287 	ROM_LOAD( "d4",           0x6000, 0x2000, 0xfce9afeb )
288 
289 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
290 	ROM_LOAD( "d9",           0x0000, 0x1000, 0xde4cfe66 )
291 	ROM_LOAD( "d10",          0x1000, 0x1000, 0xa6c2f38b )
292 
293 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
294 	ROM_LOAD( "r8-08.bin",    0x0000, 0x1000, 0xdbdc9ffa )
295 	ROM_LOAD( "n8-07.bin",    0x1000, 0x1000, 0x4b9973db )
296 
297 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
298 	ROM_LOAD( "h5-05.bin",    0x0000, 0x1000, 0xe1218cc5 )
299 	ROM_LOAD( "k5-06.bin",    0x1000, 0x1000, 0xb1f68b04 )
300 
301 	ROM_REGION( 0x0060, REGION_PROMS )
302 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )	/* palette (high bits) */
303 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )	/* palette (low bits) */
304 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )	/* sprite color lookup table */
305 ROM_END
306 
307 ROM_START( mrdofix )
308 	ROM_REGION( 0x10000, REGION_CPU1 ) /* 64k for code */
309 	ROM_LOAD( "d1",           0x0000, 0x2000, 0x3dcd9359 )
310 	ROM_LOAD( "d2",           0x2000, 0x2000, 0x710058d8 )
311 	ROM_LOAD( "dofix.d3",     0x4000, 0x2000, 0x3a7d039b )
312 	ROM_LOAD( "dofix.d4",     0x6000, 0x2000, 0x32db845f )
313 
314 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
315 	ROM_LOAD( "d9",           0x0000, 0x1000, 0xde4cfe66 )
316 	ROM_LOAD( "d10",          0x1000, 0x1000, 0xa6c2f38b )
317 
318 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
319 	ROM_LOAD( "r8-08.bin",    0x0000, 0x1000, 0xdbdc9ffa )
320 	ROM_LOAD( "n8-07.bin",    0x1000, 0x1000, 0x4b9973db )
321 
322 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
323 	ROM_LOAD( "h5-05.bin",    0x0000, 0x1000, 0xe1218cc5 )
324 	ROM_LOAD( "k5-06.bin",    0x1000, 0x1000, 0xb1f68b04 )
325 
326 	ROM_REGION( 0x0060, REGION_PROMS )
327 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )  /* palette (high bits) */
328 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )  /* palette (low bits) */
329 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )  /* sprite color lookup table */
330 ROM_END
331 
332 ROM_START( mrlo )
333 	ROM_REGION( 0x10000, REGION_CPU1 )	/* 64k for code */
334 	ROM_LOAD( "mrlo01.bin",   0x0000, 0x2000, 0x6f455e7d )
335 	ROM_LOAD( "d2",           0x2000, 0x2000, 0x710058d8 )
336 	ROM_LOAD( "dofix.d3",     0x4000, 0x2000, 0x3a7d039b )
337 	ROM_LOAD( "mrlo04.bin",   0x6000, 0x2000, 0x49c10274 )
338 
339 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
340 	ROM_LOAD( "mrlo09.bin",   0x0000, 0x1000, 0xfdb60d0d )
341 	ROM_LOAD( "mrlo10.bin",   0x1000, 0x1000, 0x0492c10e )
342 
343 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
344 	ROM_LOAD( "r8-08.bin",    0x0000, 0x1000, 0xdbdc9ffa )
345 	ROM_LOAD( "n8-07.bin",    0x1000, 0x1000, 0x4b9973db )
346 
347 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
348 	ROM_LOAD( "h5-05.bin",    0x0000, 0x1000, 0xe1218cc5 )
349 	ROM_LOAD( "k5-06.bin",    0x1000, 0x1000, 0xb1f68b04 )
350 
351 	ROM_REGION( 0x0060, REGION_PROMS )
352 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )	/* palette (high bits) */
353 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )	/* palette (low bits) */
354 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )	/* sprite color lookup table */
355 ROM_END
356 
357 ROM_START( mrdu )
358 	ROM_REGION( 0x10000, REGION_CPU1 )	/* 64k for code */
359 	ROM_LOAD( "d1",           0x0000, 0x2000, 0x3dcd9359 )
360 	ROM_LOAD( "d2",           0x2000, 0x2000, 0x710058d8 )
361 	ROM_LOAD( "d3",           0x4000, 0x2000, 0x467d12d8 )
362 	ROM_LOAD( "du4.bin",      0x6000, 0x2000, 0x893bc218 )
363 
364 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
365 	ROM_LOAD( "du9.bin",      0x0000, 0x1000, 0x4090dcdc )
366 	ROM_LOAD( "du10.bin",     0x1000, 0x1000, 0x1e63ab69 )
367 
368 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
369 	ROM_LOAD( "r8-08.bin",    0x0000, 0x1000, 0xdbdc9ffa )
370 	ROM_LOAD( "n8-07.bin",    0x1000, 0x1000, 0x4b9973db )
371 
372 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
373 	ROM_LOAD( "h5-05.bin",    0x0000, 0x1000, 0xe1218cc5 )
374 	ROM_LOAD( "k5-06.bin",    0x1000, 0x1000, 0xb1f68b04 )
375 
376 	ROM_REGION( 0x0060, REGION_PROMS )
377 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )	/* palette (high bits) */
378 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )	/* palette (low bits) */
379 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )	/* sprite color lookup table */
380 ROM_END
381 
382 ROM_START( mrdoy )
383 	ROM_REGION( 0x10000, REGION_CPU1 )	/* 64k for code */
384 	ROM_LOAD( "dosnow.1",     0x0000, 0x2000, 0xd3454e2c )
385 	ROM_LOAD( "dosnow.2",     0x2000, 0x2000, 0x5120a6b2 )
386 	ROM_LOAD( "dosnow.3",     0x4000, 0x2000, 0x96416dbe )
387 	ROM_LOAD( "dosnow.4",     0x6000, 0x2000, 0xc05051b6 )
388 
389 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
390 	ROM_LOAD( "dosnow.9",     0x0000, 0x1000, 0x85d16217 )
391 	ROM_LOAD( "dosnow.10",    0x1000, 0x1000, 0x61a7f54b )
392 
393 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
394 	ROM_LOAD( "dosnow.8",     0x0000, 0x1000, 0x2bd1239a )
395 	ROM_LOAD( "dosnow.7",     0x1000, 0x1000, 0xac8ffddf )
396 
397 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
398 	ROM_LOAD( "dosnow.5",     0x0000, 0x1000, 0x7662d828 )
399 	ROM_LOAD( "dosnow.6",     0x1000, 0x1000, 0x413f88d1 )
400 
401 	ROM_REGION( 0x0060, REGION_PROMS )
402 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )	/* palette (high bits) */
403 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )	/* palette (low bits) */
404 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )	/* sprite color lookup table */
405 ROM_END
406 
407 ROM_START( yankeedo )
408 	ROM_REGION( 0x10000, REGION_CPU1 )	/* 64k for code */
409 	ROM_LOAD( "a4-01.bin",    0x0000, 0x2000, 0x03dcfba2 )
410 	ROM_LOAD( "yd_d2.c4",     0x2000, 0x2000, 0x7c9d7ce0 )
411 	ROM_LOAD( "e4-03.bin",    0x4000, 0x2000, 0x358f5dc2 )
412 	ROM_LOAD( "f4-04.bin",    0x6000, 0x2000, 0xf4190cfc )
413 
414 	ROM_REGION( 0x2000, REGION_GFX1 | REGIONFLAG_DISPOSE )
415 	ROM_LOAD( "s8-09.bin",    0x0000, 0x1000, 0xaa80c5b6 )
416 	ROM_LOAD( "u8-10.bin",    0x1000, 0x1000, 0xd20ec85b )
417 
418 	ROM_REGION( 0x2000, REGION_GFX2 | REGIONFLAG_DISPOSE )
419 	ROM_LOAD( "r8-08.bin",    0x0000, 0x1000, 0xdbdc9ffa )
420 	ROM_LOAD( "n8-07.bin",    0x1000, 0x1000, 0x4b9973db )
421 
422 	ROM_REGION( 0x2000, REGION_GFX3 | REGIONFLAG_DISPOSE )
423 	ROM_LOAD( "yd_d5.h5",     0x0000, 0x1000, 0xf530b79b )
424 	ROM_LOAD( "yd_d6.k5",     0x1000, 0x1000, 0x790579aa )
425 
426 	ROM_REGION( 0x0060, REGION_PROMS )
427 	ROM_LOAD( "u02--2.bin",   0x0000, 0x0020, 0x238a65d7 )	/* palette (high bits) */
428 	ROM_LOAD( "t02--3.bin",   0x0020, 0x0020, 0xae263dc0 )	/* palette (low bits) */
429 	ROM_LOAD( "f10--1.bin",   0x0040, 0x0020, 0x16ee4ca2 )	/* sprite color lookup table */
430 ROM_END
431 
432 
433 
434 GAME( 1982, mrdo,     0,    mrdo, mrdo, 0, ROT270, "Universal", "Mr. Do! (Universal)" )
435 GAME( 1982, mrdot,    mrdo, mrdo, mrdo, 0, ROT270, "Universal (Taito license)", "Mr. Do! (Taito)" )
436 GAME( 1982, mrdofix,  mrdo, mrdo, mrdo, 0, ROT270, "Universal (Taito license)", "Mr. Do! (bugfixed)" )
437 GAME( 1982, mrlo,     mrdo, mrdo, mrdo, 0, ROT270, "bootleg", "Mr. Lo!" )
438 GAME( 1982, mrdu,     mrdo, mrdo, mrdo, 0, ROT270, "bootleg", "Mr. Du!" )
439 GAME( 1982, mrdoy,    mrdo, mrdo, mrdo, 0, ROT270, "bootleg", "Mr. Do! (Yukidaruma)" )
440 GAME( 1982, yankeedo, mrdo, mrdo, mrdo, 0, ROT270, "hack", "Yankee DO!" )
441