1 #include "../vidhrdw/dday.c"
2
3 /***************************************************************************
4
5 D-Day
6
7 driver by Zsolt Vasvari
8
9
10 Note: This game doesn't seem to support cocktail mode, which is not too
11 suprising for a gun game.
12
13 0000-3fff ROM
14 5000-53ff Foreground RAM 1
15 5400-57ff Foreground RAM 2
16 5800-5bff Background RAM (Only the first 28 lines are visible,
17 the last 0x80 bytes probably contain color
18 information)
19 5c00-5fff Attributes RAM for Foreground 2
20 A0-A4 seem to be ignored.
21 D0 - X Flip
22 D2 - Used by the software to separate area that the short shots
23 cannot penetrate
24 Others unknown, they don't seem to be used by this game
25 6000-63ff RAM
26
27 read:
28
29 6c00 Input Port #1
30 7000 Dip Sw #1
31 7400 Dip Sw #2
32 7800 Timer
33 7c00 Analog Control
34
35 write:
36
37 4000 Search light image and flip
38 6400 AY8910 #1 Control Port
39 6401 AY8910 #1 Write Port
40 6800 AY8910 #2 Control Port
41 6801 AY8910 #2 Write Port
42 7800 Bit 0 - Coin Counter 1
43 Bit 1 - Coin Counter 2
44 Bit 2 - ??? Pulsated when the player is hit
45 Bit 3 - ??? Seems to be unused
46 Bit 4 - Tied to AY8910 RST. Used to turn off sound
47 Bit 5 - ??? Seem to be always on
48 Bit 6 - Search light enable
49 Bit 7 - ???
50
51
52 ***************************************************************************/
53
54 #include "driver.h"
55 #include "vidhrdw/generic.h"
56
57 extern unsigned char *dday_videoram2;
58 extern unsigned char *dday_videoram3;
59
60 void dday_vh_convert_color_prom(unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
61 void dday_vh_screenrefresh(struct osd_bitmap *bitmap,int full_refresh);
62 WRITE_HANDLER( dday_colorram_w );
63 READ_HANDLER( dday_colorram_r );
64 WRITE_HANDLER( dday_control_w );
65 WRITE_HANDLER( dday_searchlight_w );
66 void dday_decode(void);
67
68
69 // Note: There seems to be no way to reset this timer via hardware.
70 // The game uses a difference method to reset it to 99.
71 //
72 // Thanks Zwaxy for the timer info.
73
74 #define START_TIMER 99
75 static int timerVal = START_TIMER;
76
READ_HANDLER(dday_timer_r)77 static READ_HANDLER( dday_timer_r )
78 {
79 return ((timerVal / 10) << 4) | (timerVal % 10);
80 }
81
82 // This is not a real interrupt routine. It is just used to decrement the
83 // counter.
dday_interrupt(void)84 static int dday_interrupt (void)
85 {
86 #define START_TIMER_SMALL 60
87 static int timerValSmall = START_TIMER_SMALL;
88 /* if the timer hits zero, start over at START_TIMER */
89 timerValSmall--;
90 if (timerValSmall == 0)
91 {
92 timerValSmall = START_TIMER_SMALL;
93 timerVal--;
94 if (timerVal == -1) timerVal = START_TIMER;
95 }
96
97 return ignore_interrupt();
98 }
99
100 static struct MemoryReadAddress readmem[] =
101 {
102 { 0x0000, 0x3fff, MRA_ROM },
103 { 0x5000, 0x5bff, MRA_RAM },
104 { 0x5c00, 0x5fff, dday_colorram_r },
105 { 0x6000, 0x63ff, MRA_RAM },
106 { 0x6c00, 0x6c00, input_port_0_r },
107 { 0x7000, 0x7000, input_port_1_r },
108 { 0x7400, 0x7400, input_port_2_r },
109 { 0x7800, 0x7800, dday_timer_r },
110 { 0x7c00, 0x7c00, input_port_3_r },
111 { -1 } /* end of table */
112 };
113
114 static struct MemoryWriteAddress writemem[] =
115 {
116 { 0x0000, 0x3fff, MWA_ROM },
117 { 0x4000, 0x4000, dday_searchlight_w },
118 { 0x5000, 0x53ff, MWA_RAM, &dday_videoram2 },
119 { 0x5400, 0x57ff, MWA_RAM, &dday_videoram3 },
120 { 0x5800, 0x5bff, MWA_RAM, &videoram, &videoram_size },
121 { 0x5c00, 0x5fff, dday_colorram_w, &colorram },
122 { 0x6000, 0x63ff, MWA_RAM },
123 { 0x6400, 0x6400, AY8910_control_port_0_w },
124 { 0x6401, 0x6401, AY8910_write_port_0_w },
125 { 0x6402, 0x6402, AY8910_control_port_0_w },
126 { 0x6403, 0x6403, AY8910_write_port_0_w },
127 { 0x6404, 0x6404, AY8910_control_port_0_w },
128 { 0x6405, 0x6405, AY8910_write_port_0_w },
129 { 0x6406, 0x6406, AY8910_control_port_0_w },
130 { 0x6407, 0x6407, AY8910_write_port_0_w },
131 { 0x6408, 0x6408, AY8910_control_port_0_w },
132 { 0x6409, 0x6409, AY8910_write_port_0_w },
133 { 0x640a, 0x640a, AY8910_control_port_0_w },
134 { 0x640b, 0x640b, AY8910_write_port_0_w },
135 { 0x640c, 0x640c, AY8910_control_port_0_w },
136 { 0x640d, 0x640d, AY8910_write_port_0_w },
137 { 0x6800, 0x6800, AY8910_control_port_1_w },
138 { 0x6801, 0x6801, AY8910_write_port_1_w },
139 { 0x7800, 0x7800, dday_control_w },
140 { -1 } /* end of table */
141 };
142
143
144
145 INPUT_PORTS_START( dday )
146 PORT_START /* IN 0 */
147 PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
148 PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 )
149 PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) // Fire Button
150 PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
151 PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
152 PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START2 )
153 PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // Doesn't seem to be
154 // accessed
155 PORT_START /* DSW 0 */
156 PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
157 PORT_DIPSETTING( 0x00, "2" )
158 PORT_DIPSETTING( 0x01, "3" )
159 PORT_DIPSETTING( 0x02, "4" )
160 PORT_DIPSETTING( 0x03, "5" )
161 PORT_DIPNAME( 0x0c, 0x00, "Extended Play At" )
162 PORT_DIPSETTING( 0x00, "10000" )
163 PORT_DIPSETTING( 0x04, "15000" )
164 PORT_DIPSETTING( 0x08, "20000" )
165 PORT_DIPSETTING( 0x0c, "25000" )
166 PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
167 PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
168 PORT_DIPSETTING( 0x10, DEF_STR( On ) )
169 PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
170 PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
171 PORT_DIPSETTING( 0x20, DEF_STR( On ) )
172 PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
173 PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
174 PORT_DIPSETTING( 0x40, DEF_STR( On ) )
175 PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) ) // has to do with lives
176 PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
177 PORT_DIPSETTING( 0x80, DEF_STR( On ) )
178
179 PORT_START /* DSW 1 */
180 PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
181 PORT_DIPSETTING( 0x0e, DEF_STR( 2C_1C ) )
182 PORT_DIPSETTING( 0x0c, DEF_STR( 2C_2C ) )
183 PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) )
184 PORT_DIPSETTING( 0x0a, DEF_STR( 2C_3C ) )
185 PORT_DIPSETTING( 0x08, DEF_STR( 2C_4C ) )
186 PORT_DIPSETTING( 0x0d, DEF_STR( 1C_2C ) )
187 PORT_DIPSETTING( 0x06, DEF_STR( 2C_5C ) )
188 PORT_DIPSETTING( 0x04, DEF_STR( 2C_6C ) )
189 PORT_DIPSETTING( 0x0b, DEF_STR( 1C_3C ) )
190 PORT_DIPSETTING( 0x02, DEF_STR( 2C_7C ) )
191 PORT_DIPSETTING( 0x00, DEF_STR( 2C_8C ) )
192 PORT_DIPSETTING( 0x09, DEF_STR( 1C_4C ) )
193 PORT_DIPSETTING( 0x07, DEF_STR( 1C_5C ) )
194 PORT_DIPSETTING( 0x05, DEF_STR( 1C_6C ) )
195 PORT_DIPSETTING( 0x03, DEF_STR( 1C_7C ) )
196 PORT_DIPSETTING( 0x01, DEF_STR( 1C_8C ) )
197 PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) )
198 PORT_DIPSETTING( 0xe0, DEF_STR( 2C_1C ) )
199 PORT_DIPSETTING( 0xc0, DEF_STR( 2C_2C ) )
200 PORT_DIPSETTING( 0xf0, DEF_STR( 1C_1C ) )
201 PORT_DIPSETTING( 0xa0, DEF_STR( 2C_3C ) )
202 PORT_DIPSETTING( 0x80, DEF_STR( 2C_4C ) )
203 PORT_DIPSETTING( 0xd0, DEF_STR( 1C_2C ) )
204 PORT_DIPSETTING( 0x60, DEF_STR( 2C_5C ) )
205 PORT_DIPSETTING( 0x40, DEF_STR( 2C_6C ) )
206 PORT_DIPSETTING( 0xb0, DEF_STR( 1C_3C ) )
207 PORT_DIPSETTING( 0x20, DEF_STR( 2C_7C ) )
208 PORT_DIPSETTING( 0x00, DEF_STR( 2C_8C ) )
209 PORT_DIPSETTING( 0x90, DEF_STR( 1C_4C ) )
210 PORT_DIPSETTING( 0x70, DEF_STR( 1C_5C ) )
211 PORT_DIPSETTING( 0x50, DEF_STR( 1C_6C ) )
212 PORT_DIPSETTING( 0x30, DEF_STR( 1C_7C ) )
213 PORT_DIPSETTING( 0x10, DEF_STR( 1C_8C ) )
214
215 PORT_START /* IN1 */
216 PORT_ANALOG(0xff, 96, IPT_PADDLE, 20, 10, 0, 191 )
217 INPUT_PORTS_END
218
219 INPUT_PORTS_START( ddayc )
220 PORT_START /* IN 0 */
221 PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
222 PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 )
223 PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON1 ) // Fire Button
224 PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
225 PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
226 PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON2 ) // Distance Button
227 PORT_BIT( 0xc0, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // Doesn't seem to be
228 // accessed
229 PORT_START /* DSW 0 */
230 PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
231 PORT_DIPSETTING( 0x00, "2" )
232 PORT_DIPSETTING( 0x01, "3" )
233 PORT_DIPSETTING( 0x02, "4" )
234 PORT_DIPSETTING( 0x03, "5" )
235 PORT_DIPNAME( 0x0c, 0x00, "Extended Play At" )
236 PORT_DIPSETTING( 0x00, "4000" )
237 PORT_DIPSETTING( 0x04, "6000" )
238 PORT_DIPSETTING( 0x08, "8000" )
239 PORT_DIPSETTING( 0x0c, "10000" )
240 PORT_DIPNAME( 0x30, 0x10, DEF_STR( Difficulty ) )
241 PORT_DIPSETTING( 0x30, "Easy" ) // Easy - No Bombs, No Troop Carriers
242 PORT_DIPSETTING( 0x20, "Normal" ) // Normal - No Bombs, Troop Carriers
243 PORT_DIPSETTING( 0x10, "Hard" ) // Hard - Bombs, Troop Carriers
244 //PORT_DIPSETTING( 0x00, "Hard" ) // Same as 0x10
245 PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) // Doesn't seem to be used
246 PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
247 PORT_DIPSETTING( 0x40, DEF_STR( On ) )
248 PORT_DIPNAME( 0x80, 0x80, "Start with 20000 Pts" )
249 PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
250 PORT_DIPSETTING( 0x00, DEF_STR( On ) )
251
252 PORT_START /* DSW 1 */
253 PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
254 PORT_DIPSETTING( 0x0e, DEF_STR( 2C_1C ) )
255 PORT_DIPSETTING( 0x0c, DEF_STR( 2C_2C ) )
256 PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) )
257 PORT_DIPSETTING( 0x0a, DEF_STR( 2C_3C ) )
258 PORT_DIPSETTING( 0x08, DEF_STR( 2C_4C ) )
259 PORT_DIPSETTING( 0x0d, DEF_STR( 1C_2C ) )
260 PORT_DIPSETTING( 0x06, DEF_STR( 2C_5C ) )
261 PORT_DIPSETTING( 0x04, DEF_STR( 2C_6C ) )
262 PORT_DIPSETTING( 0x0b, DEF_STR( 1C_3C ) )
263 PORT_DIPSETTING( 0x02, DEF_STR( 2C_7C ) )
264 PORT_DIPSETTING( 0x00, DEF_STR( 2C_8C ) )
265 PORT_DIPSETTING( 0x09, DEF_STR( 1C_4C ) )
266 PORT_DIPSETTING( 0x07, DEF_STR( 1C_5C ) )
267 PORT_DIPSETTING( 0x05, DEF_STR( 1C_6C ) )
268 PORT_DIPSETTING( 0x03, DEF_STR( 1C_7C ) )
269 PORT_DIPSETTING( 0x01, DEF_STR( 1C_8C ) )
270 PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) )
271 PORT_DIPSETTING( 0xe0, DEF_STR( 2C_1C ) )
272 PORT_DIPSETTING( 0xc0, DEF_STR( 2C_2C ) )
273 PORT_DIPSETTING( 0xf0, DEF_STR( 1C_1C ) )
274 PORT_DIPSETTING( 0xa0, DEF_STR( 2C_3C ) )
275 PORT_DIPSETTING( 0x80, DEF_STR( 2C_4C ) )
276 PORT_DIPSETTING( 0xd0, DEF_STR( 1C_2C ) )
277 PORT_DIPSETTING( 0x60, DEF_STR( 2C_5C ) )
278 PORT_DIPSETTING( 0x40, DEF_STR( 2C_6C ) )
279 PORT_DIPSETTING( 0xb0, DEF_STR( 1C_3C ) )
280 PORT_DIPSETTING( 0x20, DEF_STR( 2C_7C ) )
281 PORT_DIPSETTING( 0x00, DEF_STR( 2C_8C ) )
282 PORT_DIPSETTING( 0x90, DEF_STR( 1C_4C ) )
283 PORT_DIPSETTING( 0x70, DEF_STR( 1C_5C ) )
284 PORT_DIPSETTING( 0x50, DEF_STR( 1C_6C ) )
285 PORT_DIPSETTING( 0x30, DEF_STR( 1C_7C ) )
286 PORT_DIPSETTING( 0x10, DEF_STR( 1C_8C ) )
287
288 PORT_START /* IN1 */
289 PORT_ANALOG(0xff, 96, IPT_PADDLE, 20, 10, 0, 191 )
290 INPUT_PORTS_END
291
292
293
294 static struct GfxLayout charlayout =
295 {
296 8,8, /* 8*8 characters */
297 256, /* 256 characters */
298 2, /* 2 bits per pixel */
299 { 0, 0x0800*8 }, /* the two bitplanes are separated */
300 { 7, 6, 5, 4, 3, 2, 1, 0 },
301 { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
302 8*8 /* every char takes 8 consecutive bytes */
303 };
304
305 static struct GfxLayout charlayout_flipx =
306 {
307 8,8, /* 8*8 characters */
308 256, /* 256 characters */
309 2, /* 2 bits per pixel */
310 { 0, 0x0800*8 }, /* the two bitplanes are separated */
311 { 0, 1, 2, 3, 4, 5, 6, 7 },
312 { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
313 8*8 /* every char takes 8 consecutive bytes */
314 };
315
316 static struct GfxDecodeInfo gfxdecodeinfo[] =
317 {
318 { REGION_GFX1, 0, &charlayout, 0, 8 },
319 { REGION_GFX2, 0, &charlayout, 32, 8 },
320 { REGION_GFX3, 0, &charlayout, 64, 8 },
321 { REGION_GFX3, 0, &charlayout_flipx, 64, 8 },
322 { -1 } /* end of array */
323 };
324
325
326
327 static struct AY8910interface ay8910_interface =
328 {
329 2, /* 2 chips */
330 1000000, /* 1.0 MHz ? */
331 { 25, 25 },
332 { 0 },
333 { 0 },
334 { 0 },
335 { 0 }
336 };
337
338
339 static struct MachineDriver machine_driver_dday =
340 {
341 /* basic machine hardware */
342 {
343 {
344 CPU_Z80,
345 2000000, /* 2 Mhz ? */
346 readmem,writemem,0,0,
347 dday_interrupt,1
348 }
349 },
350 60, DEFAULT_REAL_60HZ_VBLANK_DURATION, /* frames per second, vblank duration */
351 1, /* single CPU, no need for interleaving */
352 0,
353
354 /* video hardware */
355 32*8, 32*8, { 0*8, 32*8-1, 0*8, 28*8-1 },
356 gfxdecodeinfo,
357 512,512,
358 dday_vh_convert_color_prom,
359
360 VIDEO_TYPE_RASTER,
361 0,
362 generic_vh_start,
363 generic_vh_stop,
364 dday_vh_screenrefresh,
365
366 /* sound hardware */
367 0,0,0,0,
368 {
369 {
370 SOUND_AY8910,
371 &ay8910_interface
372 }
373 }
374 };
375
376
377
378 /***************************************************************************
379
380 Game driver(s)
381
382 ***************************************************************************/
383
384 ROM_START( dday )
385 ROM_REGION( 0x10000, REGION_CPU1 ) /* 64k for code */
386 ROM_LOAD( "e8_63co.bin", 0x0000, 0x1000, 0x13d53793 )
387 ROM_LOAD( "e7_64co.bin", 0x1000, 0x1000, 0xe1ef2a70 )
388 ROM_LOAD( "e6_65co.bin", 0x2000, 0x1000, 0xfe414a83 )
389 ROM_LOAD( "e5_66co.bin", 0x3000, 0x1000, 0xfc9f7774 )
390
391 ROM_REGION( 0x1000, REGION_GFX1 | REGIONFLAG_DISPOSE )
392 ROM_LOAD( "k2_71.bin", 0x0000, 0x0800, 0xf85461de )
393 ROM_LOAD( "k3_72.bin", 0x0800, 0x0800, 0xfdfe88b6 )
394
395 ROM_REGION( 0x1000, REGION_GFX2 | REGIONFLAG_DISPOSE )
396 ROM_LOAD( "j8_70co.bin", 0x0000, 0x0800, 0x0c60e94c )
397 ROM_LOAD( "j9_69co.bin", 0x0800, 0x0800, 0xba341c10 )
398
399 ROM_REGION( 0x1000, REGION_GFX3 | REGIONFLAG_DISPOSE )
400 ROM_LOAD( "k6_74o.bin", 0x0000, 0x0800, 0x66719aea )
401 ROM_LOAD( "k7_75o.bin", 0x0800, 0x0800, 0x5f8772e2 )
402
403 ROM_REGION( 0x2000, REGION_GFX4 ) /* search light */
404 ROM_LOAD( "d2_67.bin", 0x0000, 0x1000, 0x2b693e42 ) /* layout */
405 ROM_LOAD( "d4_68.bin", 0x1000, 0x0800, 0xf3649264 ) /* mask */
406 /*0x1800 -0x1fff will be filled in dynamically */
407
408 ROM_REGION( 0x0800, REGION_GFX5 ) /* layer mask */
409 ROM_LOAD( "k4_73.bin", 0x0000, 0x0800, 0xfa6237e4 )
410
411 ROM_REGION( 0x0300, REGION_PROMS )
412 ROM_LOAD( "dday.m11", 0x0000, 0x0100, 0xaef6bbfc ) /* red component */
413 ROM_LOAD( "dday.m8", 0x0100, 0x0100, 0xad3314b9 ) /* green component */
414 ROM_LOAD( "dday.m3", 0x0200, 0x0100, 0xe877ab82 ) /* blue component */
415 ROM_END
416
ROM_START(ddayc)417 ROM_START( ddayc )
418 ROM_REGION( 0x10000, REGION_CPU1 ) /* 64k for code */
419 ROM_LOAD( "e8_63-c.bin", 0x0000, 0x1000, 0xd4fa3ae3 )
420 ROM_LOAD( "e7_64-c.bin", 0x1000, 0x1000, 0x9fb8b1a7 )
421 ROM_LOAD( "e6_65-c.bin", 0x2000, 0x1000, 0x4c210686 )
422 ROM_LOAD( "e5_66-c.bin", 0x3000, 0x1000, 0xe7e832f9 )
423
424 ROM_REGION( 0x1000, REGION_GFX1 | REGIONFLAG_DISPOSE )
425 ROM_LOAD( "k2_71.bin", 0x0000, 0x0800, 0xf85461de )
426 ROM_LOAD( "k3_72.bin", 0x0800, 0x0800, 0xfdfe88b6 )
427
428 ROM_REGION( 0x1000, REGION_GFX2 | REGIONFLAG_DISPOSE )
429 ROM_LOAD( "j8_70-c.bin", 0x0000, 0x0800, 0xa0c6b86b )
430 ROM_LOAD( "j9_69-c.bin", 0x0800, 0x0800, 0xd352a3d6 )
431
432 ROM_REGION( 0x1000, REGION_GFX3 | REGIONFLAG_DISPOSE )
433 ROM_LOAD( "k6_74.bin", 0x0000, 0x0800, 0xd21a3e22 )
434 ROM_LOAD( "k7_75.bin", 0x0800, 0x0800, 0xa5e5058c )
435
436 ROM_REGION( 0x2000, REGION_GFX4 ) /* search light */
437 ROM_LOAD( "d2_67.bin", 0x0000, 0x1000, 0x2b693e42 ) /* layout */
438 ROM_LOAD( "d4_68.bin", 0x1000, 0x0800, 0xf3649264 ) /* mask */
439 /*0x1800 -0x1fff will be filled in dynamically */
440
441 ROM_REGION( 0x0800, REGION_GFX5 ) /* layer mask */
442 ROM_LOAD( "k4_73.bin", 0x0000, 0x0800, 0xfa6237e4 )
443
444 ROM_REGION( 0x0300, REGION_PROMS )
445 ROM_LOAD( "dday.m11", 0x0000, 0x0100, 0xaef6bbfc ) /* red component */
446 ROM_LOAD( "dday.m8", 0x0100, 0x0100, 0xad3314b9 ) /* green component */
447 ROM_LOAD( "dday.m3", 0x0200, 0x0100, 0xe877ab82 ) /* blue component */
448 ROM_END
449
450
451 static void init_dday(void)
452 {
453 dday_decode();
454 }
455
456
457 GAMEX( 1982, dday, 0, dday, dday, dday, ROT0, "Olympia", "D-Day", GAME_IMPERFECT_COLORS )
458 GAMEX( 1982, ddayc, dday, dday, ddayc, dday, ROT0, "Olympia (Centuri license)", "D-Day (Centuri)", GAME_IMPERFECT_COLORS )
459