Previous 199869 Revisions Next

r18174 Thursday 27th September, 2012 at 13:58:05 UTC by hap
small cleanup before i do the next one
[src/mame/drivers]vicdual.c
[src/mame/includes]vicdual.h

trunk/src/mame/drivers/vicdual.c
r18173r18174
6464   m_coin_status = 0;
6565}
6666
67
68static void assert_coin_status(running_machine &machine)
67void vicdual_state::assert_coin_status()
6968{
70   vicdual_state *state = machine.driver_data<vicdual_state>();
71   state->m_coin_status = 1;
69   m_coin_status = 1;
7270}
7371
74
7572CUSTOM_INPUT_MEMBER(vicdual_state::vicdual_read_coin_status)
7673{
7774   return m_coin_status;
r18173r18174
7976
8077
8178/* the main CPU is reset when a coin is inserted */
79void vicdual_state::coin_in()
80{
81      m_maincpu->set_input_line(INPUT_LINE_RESET, PULSE_LINE);
82
83      /* simulate the coin switch being closed for a while */
84      machine().scheduler().timer_set(4 * machine().primary_screen->frame_period(), timer_expired_delegate(FUNC(vicdual_state::clear_coin_status),this));
85}
86
8287INPUT_CHANGED_MEMBER(vicdual_state::coin_changed)
8388{
8489   if (newval)
r18173r18174
8691      /* increment the coin counter */
8792      coin_counter_w(machine(), 0, 1);
8893      coin_counter_w(machine(), 0, 0);
89
90      m_maincpu->set_input_line(INPUT_LINE_RESET, PULSE_LINE);
91
92      /* simulate the coin switch being closed for a while */
93      machine().scheduler().timer_set(4 * machine().primary_screen->frame_period(), timer_expired_delegate(FUNC(vicdual_state::clear_coin_status),this));
94     
95      coin_in();
9496   }
9597}
9698
9799
98#define PORT_COIN                              \
100#define PORT_COIN_DEFAULT                        \
99101   PORT_START("COIN")                           \
100102   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, vicdual_state,coin_changed, NULL)
101103
r18173r18174
231233
232234WRITE8_MEMBER(vicdual_state::depthch_io_w)
233235{
234   if (offset & 0x01)  assert_coin_status(machine());
236   if (offset & 0x01)  assert_coin_status();
235237   if (offset & 0x04)  depthch_audio_w(space, 0, data);
236238}
237239
r18173r18174
271273   PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNUSED )
272274   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
273275
274   PORT_COIN
276   PORT_COIN_DEFAULT
275277INPUT_PORTS_END
276278
277279
r18173r18174
312314
313315WRITE8_MEMBER(vicdual_state::safari_io_w)
314316{
315   if (offset & 0x01)  assert_coin_status(machine());
317   if (offset & 0x01)  assert_coin_status();
316318   if (offset & 0x02) { /* safari_audio_w(0, data) */ }
317319}
318320
r18173r18174
358360   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
359361   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
360362
361   PORT_COIN
363   PORT_COIN_DEFAULT
362364INPUT_PORTS_END
363365
364366
r18173r18174
395397
396398WRITE8_MEMBER(vicdual_state::frogs_io_w)
397399{
398   if (offset & 0x01)  assert_coin_status(machine());
400   if (offset & 0x01)  assert_coin_status();
399401   if (offset & 0x02)  frogs_audio_w(space, 0, data);
400402}
401403
r18173r18174
444446   PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
445447   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
446448
447   PORT_COIN
449   PORT_COIN_DEFAULT
448450
449451//  PORT_START("IN2")
450452//  PORT_ADJUSTER( 25, "Boing Volume" )
r18173r18174
517519
518520WRITE8_MEMBER(vicdual_state::headon_io_w)
519521{
520   if (offset & 0x01)  assert_coin_status(machine());
522   if (offset & 0x01)  assert_coin_status();
521523   if (offset & 0x02)  headon_audio_w(space, 0, data);
522524   if (offset & 0x04) { /* vicdual_palette_bank_w(0, data)  */ }    /* not written to */
523525}
r18173r18174
573575
574576   PORT_CABINET_COLOR_OR_BW
575577
576   PORT_COIN
578   PORT_COIN_DEFAULT
577579INPUT_PORTS_END
578580
579581
r18173r18174
604606
605607   PORT_CABINET_COLOR_OR_BW
606608
607   PORT_COIN
609   PORT_COIN_DEFAULT
608610INPUT_PORTS_END
609611
610612
r18173r18174
626628
627629   PORT_CABINET_COLOR_OR_BW
628630
629   PORT_COIN
631   PORT_COIN_DEFAULT
630632INPUT_PORTS_END
631633
632634
r18173r18174
670672
671673   PORT_CABINET_COLOR_OR_BW
672674
673   PORT_COIN
675   PORT_COIN_DEFAULT
674676INPUT_PORTS_END
675677
676678
r18173r18174
735737
736738WRITE8_MEMBER(vicdual_state::headon2_io_w)
737739{
738   if (offset & 0x01)  assert_coin_status(machine());
740   if (offset & 0x01)  assert_coin_status();
739741   if (offset & 0x02)  headon_audio_w(space, 0, data);
740742   if (offset & 0x04)  vicdual_palette_bank_w(space, 0, data);
741743    if (offset & 0x08) { /* schematics show this as going into a shifter circuit, but never written to */ }
r18173r18174
746748
747749WRITE8_MEMBER(vicdual_state::digger_io_w)
748750{
749   if (offset & 0x01)  assert_coin_status(machine());
751   if (offset & 0x01)  assert_coin_status();
750752   if (offset & 0x02) { /* digger_audio_1_w(0, data) */ }
751753   if (offset & 0x04)
752754   {
r18173r18174
815817   PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
816818   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
817819
818   PORT_COIN
820   PORT_COIN_DEFAULT
819821INPUT_PORTS_END
820822
821823
r18173r18174
849851   PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
850852   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
851853
852   PORT_COIN
854   PORT_COIN_DEFAULT
853855INPUT_PORTS_END
854856
855857
r18173r18174
890892   PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
891893   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
892894
893   PORT_COIN
895   PORT_COIN_DEFAULT
894896INPUT_PORTS_END
895897
896898
r18173r18174
952954{
953955   if (offset & 0x01)  invho2_audio_w(space, 0, data);
954956   if (offset & 0x02)  invinco_audio_w(space, 0, data);
955   if (offset & 0x08)  assert_coin_status(machine());
957   if (offset & 0x08)  assert_coin_status();
956958   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
957959}
958960
r18173r18174
961963{
962964   if (offset & 0x01)  invinco_audio_w(space, 0, data);
963965   if (offset & 0x02) { /* deepscan_audio_w(0, data) */ }
964   if (offset & 0x08)  assert_coin_status(machine());
966   if (offset & 0x08)  assert_coin_status();
965967   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
966968}
967969
r18173r18174
970972{
971973   if (offset & 0x01)  invho2_audio_w(space, 0, data);
972974   if (offset & 0x02) { /* s&spaceatt_audio_w(space, 0, data) */ }
973   if (offset & 0x08)  assert_coin_status(machine());
975   if (offset & 0x08)  assert_coin_status();
974976   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
975977}
976978
r18173r18174
979981{
980982   if (offset & 0x01) { /* tranqgun_audio_w(space, 0, data) */ }
981983   if (offset & 0x02)  vicdual_palette_bank_w(space, 0, data);
982   if (offset & 0x08)  assert_coin_status(machine());
984   if (offset & 0x08)  assert_coin_status();
983985}
984986
985987
r18173r18174
987989{
988990   if (offset & 0x01) { /* &spacetrk_audio_w(space, 0, data) */ }
989991   if (offset & 0x02) { /* &spacetrk_audio_w(space, 0, data) */ }
990   if (offset & 0x08)  assert_coin_status(machine());
992   if (offset & 0x08)  assert_coin_status();
991993   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
992994}
993995
r18173r18174
996998{
997999   if (offset & 0x01)  carnival_audio_1_w(space, 0, data);
9981000   if (offset & 0x02)  carnival_audio_2_w(space, 0, data);
999   if (offset & 0x08)  assert_coin_status(machine());
1001   if (offset & 0x08)  assert_coin_status();
10001002   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
10011003}
10021004
r18173r18174
10051007{
10061008   if (offset & 0x01) { /* brdrline_audio_w(space, 0, data) */ }
10071009   if (offset & 0x02)  vicdual_palette_bank_w(space, 0, data);
1008   if (offset & 0x08)  assert_coin_status(machine());
1010   if (offset & 0x08)  assert_coin_status();
10091011}
10101012
10111013
r18173r18174
10131015{
10141016   if (offset & 0x01)  pulsar_audio_1_w(space, 0, data);
10151017   if (offset & 0x02)  pulsar_audio_2_w(space, 0, data);
1016   if (offset & 0x08)  assert_coin_status(machine());
1018   if (offset & 0x08)  assert_coin_status();
10171019   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
10181020}
10191021
r18173r18174
10211023WRITE8_MEMBER(vicdual_state::heiankyo_io_w)
10221024{
10231025   if (offset & 0x01) { /* heiankyo_audio_1_w(0, data) */ }
1024
1025   if (offset & 0x02)
1026   {
1027      vicdual_palette_bank_w(space, 0, data >> 6);
1028      /* heiankyo_audio_2_w(0, data & 0x3f); */
1029   }
1030
1031   if (offset & 0x08)  assert_coin_status(machine());
1026   if (offset & 0x02) { /* heiankyo_audio_2_w(0, data) */ }
1027   if (offset & 0x08)  assert_coin_status();
10321028}
10331029
10341030
r18173r18174
10361032{
10371033   if (offset & 0x01) { /* headon_audio_w(0, data) */ }
10381034   if (offset & 0x02) { /* alphaf_audio_w(0, data) */ }
1039   if (offset & 0x08)  assert_coin_status(machine());
1035   if (offset & 0x08)  assert_coin_status();
10401036   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
10411037}
10421038
r18173r18174
12421238   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
12431239   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
12441240
1245   PORT_COIN
1241   PORT_COIN_DEFAULT
12461242
12471243   PORT_START("FAKE_LIVES1")
12481244   PORT_DIPNAME( 0x03, 0x01, "Head On 2 Lives" )   PORT_DIPLOCATION("SW1:1,2")
r18173r18174
13051301   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
13061302   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
13071303
1308   PORT_COIN
1304   PORT_COIN_DEFAULT
13091305
13101306   // SW1 @ C1, 6-pos (where are 5 & 6?)
13111307   PORT_START("FAKE_LIVES1")
r18173r18174
13671363   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
13681364   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
13691365
1370   PORT_COIN
1366   PORT_COIN_DEFAULT
13711367
13721368   PORT_START("FAKE_LIVES1")
13731369   PORT_DIPNAME( 0x03, 0x03, "Space Attack Lives" )   PORT_DIPLOCATION("SW1:1,2")
r18173r18174
14251421   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
14261422   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
14271423
1428   PORT_COIN
1424   PORT_COIN_DEFAULT
14291425INPUT_PORTS_END
14301426
14311427
r18173r18174
14761472   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
14771473   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
14781474
1479   PORT_COIN
1475   PORT_COIN_DEFAULT
14801476INPUT_PORTS_END
14811477
14821478
r18173r18174
15481544   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
15491545   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
15501546
1551   PORT_COIN
1547   PORT_COIN_DEFAULT
15521548INPUT_PORTS_END
15531549
15541550
r18173r18174
16091605   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
16101606   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
16111607
1612   PORT_COIN
1608   PORT_COIN_DEFAULT
16131609
16141610   PORT_START("FAKE_LIVES1")
16151611   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,3")
r18173r18174
16631659   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
16641660   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
16651661
1666   PORT_COIN
1662   PORT_COIN_DEFAULT
16671663
16681664   PORT_START("FAKE_LIVES1")
16691665   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,3")
r18173r18174
17171713   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
17181714   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
17191715
1720   PORT_COIN
1716   PORT_COIN_DEFAULT
17211717
17221718   PORT_START("FAKE_LIVES1")
17231719   PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW1:1,2")
r18173r18174
17751771   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
17761772   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
17771773
1778   PORT_COIN
1774   PORT_COIN_DEFAULT
17791775INPUT_PORTS_END
17801776
17811777
r18173r18174
18221818   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
18231819   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
18241820
1825   PORT_COIN
1821   PORT_COIN_DEFAULT
18261822
18271823   PORT_START("FAKE_LIVES1")
18281824   PORT_DIPNAME( 0x03, 0x03, "Alpha Fighter Lives" )   PORT_DIPLOCATION("SW1:1,2")
r18173r18174
19891985WRITE8_MEMBER(vicdual_state::samurai_io_w)
19901986{
19911987   if (offset & 0x02) { /* samurai_audio_w(0, data) */ }
1992   if (offset & 0x08)  assert_coin_status(machine());
1988   if (offset & 0x08)  assert_coin_status();
19931989   if (offset & 0x40)  vicdual_palette_bank_w(space, 0, data);
19941990}
19951991
r18173r18174
20642060   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
20652061   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
20662062
2067   PORT_COIN
2063   PORT_COIN_DEFAULT
20682064INPUT_PORTS_END
20692065
20702066
r18173r18174
21012097
21022098WRITE8_MEMBER(vicdual_state::nsub_io_w)
21032099{
2104   if (offset & 0x01)  assert_coin_status(machine());
2100   if (offset & 0x01)  assert_coin_status();
21052101   if (offset & 0x02) { /* nsub_audio_w(0, data) */ }
21062102   if (offset & 0x04)  vicdual_palette_bank_w(space, 0, data);
21072103}
r18173r18174
21362132   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  ) PORT_8WAY
21372133   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    ) PORT_8WAY
21382134
2139   // according to the manual, there's also an 8-pos dipswitch for coinage settings (MT 4717), where is it read?
21402135   PORT_START("IN1")
21412136   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_composite_blank_comp, NULL)
21422137   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
r18173r18174
21592154   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21602155   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
21612156
2162   PORT_COIN
2157   PORT_COIN_DEFAULT
21632158INPUT_PORTS_END
21642159
21652160
r18173r18174
21972192
21982193WRITE8_MEMBER(vicdual_state::invinco_io_w)
21992194{
2200   if (offset & 0x01)  assert_coin_status(machine());
2195   if (offset & 0x01)  assert_coin_status();
22012196   if (offset & 0x02)  invinco_audio_w(space, 0, data);
22022197   if (offset & 0x04)  vicdual_palette_bank_w(space, 0, data);
22032198}
r18173r18174
22572252   PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
22582253   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
22592254
2260   PORT_COIN
2255   PORT_COIN_DEFAULT
22612256INPUT_PORTS_END
22622257
22632258
r18173r18174
26722667/* this one is the same PCB but does show the Sidam copyright */
26732668ROM_START( headonsa )
26742669   ROM_REGION( 0x10000, "maincpu", 0 )
2675   ROM_LOAD( "10305.0.9a",         0x0000, 0x0400, CRC(9a37407b) SHA1(3cd3dbd13c76d01b7541307de92f69d6779046f5) )
2676   ROM_LOAD( "10305.1.8a",         0x0400, 0x0400, CRC(aeac8c5f) SHA1(ef9ad63d13076a559ba12c6421ad61de21dd4c90) )
2677   ROM_LOAD( "10305.2.7a",         0x0800, 0x0400, CRC(f1a0cb72) SHA1(540b30225ef176c416ea5b142fe7dbb67b7a78fb) )
2678   ROM_LOAD( "10305.3.6a",         0x0c00, 0x0400, CRC(ae33fcc4) SHA1(7e0a27f1f502c5293f294875b49186e800a2c749) )
2679   ROM_LOAD( "10305.4.5a",         0x1000, 0x0400, CRC(e87f6fd8) SHA1(7fc1ade66c6783861ab310790f023b02a8db7e08) )
2680   ROM_LOAD( "10305.5.4a",         0x1400, 0x0400, CRC(387e2eba) SHA1(9feca874e795710884d17ca5122280c30c6b6af0) )
2681   ROM_LOAD( "10305.6b.3a",        0x1800, 0x0400, CRC(18749071) SHA1(6badb5cf6f6017d884492e9ef16195f1112d23b5) )
2670   ROM_LOAD( "10305.0.9a",      0x0000, 0x0400, CRC(9a37407b) SHA1(3cd3dbd13c76d01b7541307de92f69d6779046f5) )
2671   ROM_LOAD( "10305.1.8a",      0x0400, 0x0400, CRC(aeac8c5f) SHA1(ef9ad63d13076a559ba12c6421ad61de21dd4c90) )
2672   ROM_LOAD( "10305.2.7a",      0x0800, 0x0400, CRC(f1a0cb72) SHA1(540b30225ef176c416ea5b142fe7dbb67b7a78fb) )
2673   ROM_LOAD( "10305.3.6a",      0x0c00, 0x0400, CRC(ae33fcc4) SHA1(7e0a27f1f502c5293f294875b49186e800a2c749) )
2674   ROM_LOAD( "10305.4.5a",      0x1000, 0x0400, CRC(e87f6fd8) SHA1(7fc1ade66c6783861ab310790f023b02a8db7e08) )
2675   ROM_LOAD( "10305.5.4a",      0x1400, 0x0400, CRC(387e2eba) SHA1(9feca874e795710884d17ca5122280c30c6b6af0) )
2676   ROM_LOAD( "10305.6b.3a",     0x1800, 0x0400, CRC(18749071) SHA1(6badb5cf6f6017d884492e9ef16195f1112d23b5) )
26822677
26832678   ROM_REGION( 0x0040, "user1", 0 )   /* timing PROMs */
26842679   ROM_LOAD( "10303.3e", 0x0000, 0x0020, CRC(e60a7960) SHA1(b8b8716e859c57c35310efc4594262afedb84823) )   /* control PROM */
r18173r18174
27422737
27432738ROM_START( hocrash )
27442739   ROM_REGION( 0x10000, "maincpu", 0 )
2745   ROM_LOAD( "1-0s.0s",         0x0000, 0x0400, CRC(4bb51259) SHA1(43411ffda3fe03b1d694f70791b0bab5786759c0) )
2746   ROM_LOAD( "2-0r.0r",         0x0400, 0x0400, CRC(aeac8c5f) SHA1(ef9ad63d13076a559ba12c6421ad61de21dd4c90) )
2747   ROM_LOAD( "3-0p.0p",         0x0800, 0x0400, CRC(f1a0cb72) SHA1(540b30225ef176c416ea5b142fe7dbb67b7a78fb) )
2748   ROM_LOAD( "4-0m.0m",         0x0c00, 0x0400, CRC(fd67208d) SHA1(539b0db174aef66ac7d8137e4eca4e3237bc7a82) )
2749   ROM_LOAD( "5-0l.0l",         0x1000, 0x0400, CRC(069e839e) SHA1(e1ed68573c13c0c88a2bb7b2096860523de952c0) )
2750   ROM_LOAD( "6-0k.0k",         0x1400, 0x0400, CRC(11960190) SHA1(f3908fece95b7e5468ae4bba5a9f2d2482ed6656) )
2751   ROM_LOAD( "7-0j.0j",         0x1800, 0x0400, CRC(d3782c1d) SHA1(340782374b7015a0aaf98aeb6503b759e199a58a) )
2740   ROM_LOAD( "1-0s.0s",      0x0000, 0x0400, CRC(4bb51259) SHA1(43411ffda3fe03b1d694f70791b0bab5786759c0) )
2741   ROM_LOAD( "2-0r.0r",      0x0400, 0x0400, CRC(aeac8c5f) SHA1(ef9ad63d13076a559ba12c6421ad61de21dd4c90) )
2742   ROM_LOAD( "3-0p.0p",      0x0800, 0x0400, CRC(f1a0cb72) SHA1(540b30225ef176c416ea5b142fe7dbb67b7a78fb) )
2743   ROM_LOAD( "4-0m.0m",      0x0c00, 0x0400, CRC(fd67208d) SHA1(539b0db174aef66ac7d8137e4eca4e3237bc7a82) )
2744   ROM_LOAD( "5-0l.0l",      0x1000, 0x0400, CRC(069e839e) SHA1(e1ed68573c13c0c88a2bb7b2096860523de952c0) )
2745   ROM_LOAD( "6-0k.0k",      0x1400, 0x0400, CRC(11960190) SHA1(f3908fece95b7e5468ae4bba5a9f2d2482ed6656) )
2746   ROM_LOAD( "7-0j.0j",      0x1800, 0x0400, CRC(d3782c1d) SHA1(340782374b7015a0aaf98aeb6503b759e199a58a) )
27522747
27532748   ROM_REGION( 0x0040, "user1", 0 )   /* timing PROMs */
27542749   ROM_LOAD( "316-0043.u87", 0x0000, 0x0020, CRC(e60a7960) SHA1(b8b8716e859c57c35310efc4594262afedb84823) )   /* control PROM */
r18173r18174
32303225   ROM_LOAD( "16.1",       0x3c00, 0x0400, CRC(cc138bed) SHA1(7d3eebdeaff19783d5ef20a7ececec00773434fc) )
32313226
32323227   ROM_REGION( 0x0020, "proms", 0 )
3233   ROM_LOAD( "5610.49",   0x0000, 0x0020, CRC(bc6be94e) SHA1(34e113ec25e19212b74907d35be5cb8714a8249c) )
3228   ROM_LOAD( "5610.49",    0x0000, 0x0020, CRC(bc6be94e) SHA1(34e113ec25e19212b74907d35be5cb8714a8249c) )
32343229
32353230   ROM_REGION( 0x0800, "cpu1", 0 )   /* sound ROM */
3236   ROM_LOAD( "au.bin",       0x0000, 0x0400, CRC(a23e1d9f) SHA1(ce209571f6341aa6f036a015e666673098bc98ea) )
3231   ROM_LOAD( "au.bin",     0x0000, 0x0400, CRC(a23e1d9f) SHA1(ce209571f6341aa6f036a015e666673098bc98ea) )
32373232
32383233   ROM_REGION( 0x0100, "user1", 0 )   /* misc PROM */
3239   ROM_LOAD( "82s123.bin",   0x0000, 0x0020, CRC(c128d0ba) SHA1(0ce9febbb7e2f5388ed999a479e3d385dba0b342) )
3240   ROM_LOAD( "5610.15",  0x0000, 0x0020, CRC(6449e678) SHA1(421c45c8fba3c2bc2a7ebbea2c837c8fa1a5a2f3) )
3241   ROM_LOAD( "5610.14",  0x0000, 0x0020, CRC(55dcdef1) SHA1(6fbd041edc258b7e1b99bbe9526612cfb1b541f8) )
3234   ROM_LOAD( "82s123.bin", 0x0000, 0x0020, CRC(c128d0ba) SHA1(0ce9febbb7e2f5388ed999a479e3d385dba0b342) )
3235   ROM_LOAD( "5610.15",    0x0000, 0x0020, CRC(6449e678) SHA1(421c45c8fba3c2bc2a7ebbea2c837c8fa1a5a2f3) )
3236   ROM_LOAD( "5610.14",    0x0000, 0x0020, CRC(55dcdef1) SHA1(6fbd041edc258b7e1b99bbe9526612cfb1b541f8) )
32423237   /* following 2 from sound board */
3243   ROM_LOAD( "93427.1", 0x0000, 0x0100, CRC(64b98dc7) SHA1(f0bb7d0b4b56cc2936ce4cbec165394f3026ed6d) )
3244   ROM_LOAD( "93427.2", 0x0000, 0x0100, CRC(bda82367) SHA1(1c96453c2ae372892c39b5657cf2b252a90a10a9) )
3238   ROM_LOAD( "93427.1",    0x0000, 0x0100, CRC(64b98dc7) SHA1(f0bb7d0b4b56cc2936ce4cbec165394f3026ed6d) )
3239   ROM_LOAD( "93427.2",    0x0000, 0x0100, CRC(bda82367) SHA1(1c96453c2ae372892c39b5657cf2b252a90a10a9) )
32453240ROM_END
32463241
32473242ROM_START( brdrlinb )
r18173r18174
33253320   ROM_LOAD( "ha7.u7",       0x2400, 0x0400, CRC(6d2f9527) SHA1(4e51c5404d0302547c1ae85b27ffe4de11d68224) )
33263321   ROM_LOAD( "ha6.u6",       0x2800, 0x0400, CRC(e467c353) SHA1(a76b4f6d9702f760f287b5285f76ea4206c6934a) )
33273322   ROM_LOAD( "ha3.u3",       0x2c00, 0x0400, CRC(6a55eda8) SHA1(f526ebf18a33271b798e53cfcadb27e4c3a03466) )
3328   /* 3000-37ff empty */
3323   ROM_FILL(                 0x3000, 0x0400, 0 )
3324   ROM_FILL(                 0x3400, 0x0400, 0 )
33293325   ROM_LOAD( "ha2.u2",       0x3800, 0x0400, CRC(056b3b8b) SHA1(3cce6c928599604ffdcdb767caa7b32d8ec1e03d) )
33303326   ROM_LOAD( "ha1.u1",       0x3c00, 0x0400, CRC(b8da2b5e) SHA1(70d97b89cb3162bd479203c53148319179a9873f) )
33313327
33323328   ROM_REGION( 0x0020, "proms", 0 )
3333   ROM_LOAD( "316-138.u49",  0x0000, 0x0020, CRC(67104ea9) SHA1(26b6bd2a1973b83bb9af4e3385d8cb14cb3f62f2) )
3329   ROM_LOAD( "316-138.u49",  0x0010, 0x0010, CRC(67104ea9) SHA1(26b6bd2a1973b83bb9af4e3385d8cb14cb3f62f2) )
3330   ROM_CONTINUE(             0x0000, 0x0010 )
33343331
33353332   ROM_REGION( 0x0040, "user1", 0 )   /* misc PROMs */
33363333   ROM_LOAD( "316-0043.u87", 0x0000, 0x0020, CRC(e60a7960) SHA1(b8b8716e859c57c35310efc4594262afedb84823) )   /* control PROM */
trunk/src/mame/includes/vicdual.h
r18173r18174
4040   UINT8 m_palette_bank;
4141   UINT8 m_samurai_protection_data;
4242
43   void coin_in();
44   void assert_coin_status();
45   
4346   DECLARE_WRITE8_MEMBER(vicdual_videoram_w);
4447   DECLARE_WRITE8_MEMBER(vicdual_characterram_w);
4548   DECLARE_READ8_MEMBER(depthch_io_r);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team