Previous 199869 Revisions Next

r30876 Saturday 7th June, 2014 at 10:49:51 UTC by David Haywood
start lamps, added pal dump (nw)
[src/mame/drivers]kenseim.c
[src/mame/layout]kenseim.lay

trunk/src/mame/layout/kenseim.lay
r30875r30876
1010         <bounds x="0" y="0" width="7" height="7" />
1111         <color red="1.0" green="0.2" blue="0.2" />
1212      </rect>
13
1413   </element>
14 
15    <element name="circle_lamp">
16      <disk state ="0">
17         <color red="0.2" green="0.2" blue="0.2" />
18      </disk>
19        <disk state ="1">
20         <color red="1.0" green="0.2" blue="0.2" />
21      </disk>
22   </element>
23  <element name="start1"><text string="Ryu"><color red="1.0" green="1.0" blue="1.0" /></text></element>
24  <element name="start2"><text string="Chun-Li"><color red="1.0" green="1.0" blue="1.0" /></text></element>
25  <element name="start3"><text string="Start"><color red="1.0" green="1.0" blue="1.0" /></text></element>
26 
1527
1628
17   <view name="Adder,VFD and Lamps">
29   <view name="Cabinet Lamps and Screen">
1830
1931      <backdrop name="lamp1" element="powerled" state="0">
2032         <bounds x="10" y="245" width="7" height="7"/>
r30875r30876
7890         <bounds x="213" y="245" width="7" height="7"/>
7991      </backdrop>
8092
93      <backdrop name="startlamp1" element="circle_lamp" state="0" inputtag="CAB-IN" inputmask="0x02" >
94         <bounds x="140" y="255" width="15" height="15"/>
95      </backdrop>
96      <backdrop name="start1a" element="start1" state="0">
97         <bounds x="110" y="255" width="30" height="8"/>
98      </backdrop>
99       <backdrop name="start1b" element="start3" state="0">
100         <bounds x="110" y="263" width="30" height="8"/>
101      </backdrop>
102   
103    <backdrop name="startlamp2" element="circle_lamp" state="0" inputtag="CAB-IN" inputmask="0x04">
104         <bounds x="165" y="255" width="15" height="15"/>
105      </backdrop>
81106
82
107      <backdrop name="start2a" element="start2" state="0">
108         <bounds x="180" y="255" width="30" height="8"/>
109      </backdrop>
110       <backdrop name="start2b" element="start3" state="0">
111         <bounds x="180" y="263" width="30" height="8"/>
112      </backdrop>
113     
114   
83115      <screen index="0">
84116         <bounds x="0" y="0" width="320" height="240" />
85117      </screen>
trunk/src/mame/drivers/kenseim.c
r30875r30876
310310WRITE8_MEMBER(kenseim_state::portc_w)
311311{
312312   // port direction is set to 4-in 4-out
313   logerror("%s write %01x to port C (%02x unmasked)\n", machine().describe_context(), (data & 0xf0)>>4, data );
313//   printf("%s write %01x to port C (%02x unmasked)\n", machine().describe_context(), (data & 0x30)>>4, data );
314
315   output_set_value("startlamp1", (data & 0x80) ? 0 : 1);
316   output_set_value("startlamp2", (data & 0x40) ? 0 : 1);
317   coin_counter_w(machine(), 0, (data & 0x20) ? 0 : 1);
318   coin_lockout_w(machine(), 0, (data & 0x10) ? 0 : 1); // toggles if you attempt to insert a coin when there are already 15 coins inserted
319
314320}
315321
316322
r30875r30876
686692
687693   PORT_START("CAB-IN")
688694   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
689   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
690   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
695   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Ryu Start")
696   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Chun-Li Start")
691697   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 )
692698INPUT_PORTS_END
693699
r30875r30876
728734   ROM_LOAD( "sou1",         0x0000, 0x0117, CRC(84f4b2fe) SHA1(dcc9e86cc36316fe42eace02d6df75d08bc8bb6d) )
729735
730736   ROM_REGION( 0x0200, "bboardplds", ROMREGION_ERASE00 )
731   ROM_LOAD( "knm10b.1a",    0x0000, 0x0117, NO_DUMP )
737   ROM_LOAD( "cps1-knm10b.bin",    0x0000, 0x0117, CRC(e40131d4) SHA1(47e9f67ecacdf1d946838815dfe7396c9c698f04) )
732738   ROM_LOAD( "iob1.12d",     0x0000, 0x0117, CRC(3abc0700) SHA1(973043aa46ec6d5d1db20dc9d5937005a0f9f6ae) )
733739   ROM_LOAD( "bprg1.11d",    0x0000, 0x0117, CRC(31793da7) SHA1(400fa7ac517421c978c1ee7773c30b9ed0c5d3f3) )
734740
r30875r30876
754760
755761// 1994.04.18 is from extra PCB rom, Siguma or Sigma? (Siguma is in the ROM)
756762// the CPS1 board roms contain "M O G U R A   9 2 0 9 2 4" strings suggesting that part of the code was developed earlier
757GAMEL( 1994, kenseim,       0,        kenseim, kenseim,      kenseim_state,   kenseim,     ROT0,   "Sigma / Togo / Capcom", "Ken Sei Mogura (1994.04.18, Ver 1.00)", GAME_NOT_WORKING, layout_kenseim )
763GAMEL( 1994, kenseim,       0,        kenseim, kenseim,      kenseim_state,   kenseim,     ROT0,   "Sigma / Togo / Capcom", "Ken Sei Mogura (1994.04.18, Ver 1.00)", GAME_NOT_WORKING | GAME_CLICKABLE_ARTWORK, layout_kenseim )
758764

Previous 199869 Revisions Next


© 1997-2024 The MAME Team