<machine name="pbactiont2" sourcefile="tecmo/pbaction.cpp" cloneof="pbaction" romof="pbaction" isbios="no" isdevice="no" ismechanical="no" runnable="yes">
  <description>Pinball Action (Tecfri, without external display)</description>
  <year>1985</year>
  <manufacturer>Tehkan (Tecfri license)</manufacturer>
  <rom name="16.p7" size="16384" crc="01d8b452" sha1="98edc4ce5d441b0326c9f0a3c23f7c23b12afbf6" region="maincpu" offset="0" status="good" optional="no" />
  <rom name="15.n7" size="16384" crc="8a7ad290" sha1="54892125d46a28d2f9f7be64f9595ab9b35b1574" region="maincpu" offset="4000" status="good" optional="no" />
  <rom name="14.l7" size="8192" crc="d7d77c67" sha1="c6797f5597d5f485b963059e1ab8ad1255f6f255" region="maincpu" offset="8000" status="good" optional="no" />
  <rom name="1.e3" size="8192" crc="8b69b933" sha1="eb0762579d52ed9f5b1a002ffe7e517c59650e22" region="audiocpu" offset="0" status="good" optional="no" />
  <rom name="7.s6" merge="a-s6.bin" size="8192" crc="9a74a8e1" sha1="bd27439b91f41db3fd7eedb44e828d61b793bda0" region="fgchars" offset="0" status="good" optional="no" />
  <rom name="8.s7" merge="a-s7.bin" size="8192" crc="5ca6ad3c" sha1="7c8eff087f18cc2ff0572ea45e681a3a1ec94fad" region="fgchars" offset="2000" status="good" optional="no" />
  <rom name="9.s8" merge="a-s8.bin" size="8192" crc="9f00b757" sha1="74b6d926b8f456c8d0101f0232c5d3662423b396" region="fgchars" offset="4000" status="good" optional="no" />
  <rom name="2.j5" merge="a-j5.bin" size="16384" crc="21efe866" sha1="0c0a05a26d793ba98b0f421d464ff4b1d301ff9e" region="bgchars" offset="0" status="good" optional="no" />
  <rom name="3.j6" merge="a-j6.bin" size="16384" crc="7f984c80" sha1="18795ecbcd2da94f1cfcce5559d652388d1b8bc0" region="bgchars" offset="4000" status="good" optional="no" />
  <rom name="4.j7" merge="a-j7.bin" size="16384" crc="df69e51b" sha1="52ab15c63332f0fa98884fa9adc8d35b93c939c4" region="bgchars" offset="8000" status="good" optional="no" />
  <rom name="5.j8" merge="a-j8.bin" size="16384" crc="0094cb8b" sha1="58f48d24903b797e8451bf231f9e8df621685d9f" region="bgchars" offset="c000" status="good" optional="no" />
  <rom name="11.c7" merge="b-c7.bin" size="8192" crc="d1795ef5" sha1="69ad8e419e340d2f548468ed7838102789b978da" region="sprites" offset="0" status="good" optional="no" />
  <rom name="12.d7" merge="b-d7.bin" size="8192" crc="f28df203" sha1="060f70ed6386c808303a488c97691257681bd8f3" region="sprites" offset="2000" status="good" optional="no" />
  <rom name="13.f7" merge="b-f7.bin" size="8192" crc="af6e9817" sha1="56f47d25761b3850c49a3a81b5ea35f12bd77b14" region="sprites" offset="4000" status="good" optional="no" />
  <device_ref tag=":maincpu" name="z80" />
  <device_ref tag=":audiocpu" name="z80" />
  <device_ref tag=":ctc" name="z80ctc" />
  <device_ref tag=":ctc:ch0" name="z80ctc_channel" />
  <device_ref tag=":ctc:ch1" name="z80ctc_channel" />
  <device_ref tag=":ctc:ch2" name="z80ctc_channel" />
  <device_ref tag=":ctc:ch3" name="z80ctc_channel" />
  <device_ref tag=":screen" name="screen" />
  <device_ref tag=":gfxdecode" name="gfxdecode" />
  <device_ref tag=":palette" name="palette" />
  <device_ref tag=":mono" name="speaker" />
  <device_ref tag=":soundlatch" name="generic_latch_8" />
  <device_ref tag=":ay1" name="ay8910" />
  <device_ref tag=":ay2" name="ay8910" />
  <device_ref tag=":ay3" name="ay8910" />
  <chip type="cpu" tag="maincpu" name="Zilog Z80" clock="4000000" />
  <chip type="cpu" tag="audiocpu" name="Zilog Z80" clock="3000000" />
  <chip type="audio" tag="mono" name="Speaker" />
  <chip type="audio" tag="ay1" name="AY-3-8910A PSG" clock="1500000" />
  <chip type="audio" tag="ay2" name="AY-3-8910A PSG" clock="1500000" />
  <chip type="audio" tag="ay3" name="AY-3-8910A PSG" clock="1500000" />
  <display tag="screen" type="raster" rotate="90" width="256" height="224" refresh="60.000000" flipx="no" />
  <sound channels="1" />
  <input players="2" coins="2" service="no" tilt="no">
    <control type="only_buttons" player="1" buttons="4" reverse="no" />
    <control type="only_buttons" player="2" buttons="4" reverse="no" />
  </input>
  <dipswitch name="Coin B" tag="DSW1" mask="3">
    <diplocation name="SW1" number="1" inverted="yes" />
    <diplocation name="SW1" number="2" inverted="yes" />
    <dipvalue name="1 Coin/1 Credit" value="0" default="yes" />
    <dipvalue name="1 Coin/2 Credits" value="1" default="no" />
    <dipvalue name="1 Coin/3 Credits" value="2" default="no" />
    <dipvalue name="1 Coin/6 Credits" value="3" default="no" />
  </dipswitch>
  <dipswitch name="Coin A" tag="DSW1" mask="12">
    <diplocation name="SW1" number="3" inverted="yes" />
    <diplocation name="SW1" number="4" inverted="yes" />
    <dipvalue name="2 Coins/1 Credit" value="4" default="no" />
    <dipvalue name="1 Coin/1 Credit" value="0" default="yes" />
    <dipvalue name="1 Coin/2 Credits" value="8" default="no" />
    <dipvalue name="1 Coin/3 Credits" value="12" default="no" />
  </dipswitch>
  <dipswitch name="Lives" tag="DSW1" mask="48">
    <diplocation name="SW1" number="5" inverted="yes" />
    <diplocation name="SW1" number="6" inverted="yes" />
    <dipvalue name="2" value="48" default="no" />
    <dipvalue name="3" value="0" default="yes" />
    <dipvalue name="4" value="16" default="no" />
    <dipvalue name="5" value="32" default="no" />
  </dipswitch>
  <dipswitch name="Cabinet" tag="DSW1" mask="64">
    <diplocation name="SW1" number="7" inverted="yes" />
    <dipvalue name="Upright" value="64" default="yes" />
    <dipvalue name="Cocktail" value="0" default="no" />
  </dipswitch>
  <dipswitch name="Demo Sounds" tag="DSW1" mask="128">
    <diplocation name="SW1" number="8" inverted="yes" />
    <dipvalue name="Off" value="128" default="no" />
    <dipvalue name="On" value="0" default="yes" />
  </dipswitch>
  <dipswitch name="Bonus Life" tag="DSW2" mask="7">
    <diplocation name="SW2" number="1" inverted="yes" />
    <diplocation name="SW2" number="2" inverted="yes" />
    <diplocation name="SW2" number="3" inverted="yes" />
    <dipvalue name="70k 200k 1000k" value="1" default="no" />
    <dipvalue name="100k 300k 1000k" value="4" default="no" />
    <dipvalue name="70k 200k" value="0" default="yes" />
    <dipvalue name="100k 300k" value="3" default="no" />
    <dipvalue name="200k 1000k" value="6" default="no" />
    <dipvalue name="100k" value="2" default="no" />
    <dipvalue name="200k" value="5" default="no" />
    <dipvalue name="None" value="7" default="no" />
  </dipswitch>
  <dipswitch name="Extra" tag="DSW2" mask="8">
    <diplocation name="SW2" number="4" inverted="yes" />
    <dipvalue name="Easy" value="0" default="yes" />
    <dipvalue name="Hard" value="8" default="no" />
  </dipswitch>
  <dipswitch name="Difficulty (Flippers)" tag="DSW2" mask="48">
    <diplocation name="SW2" number="5" inverted="yes" />
    <diplocation name="SW2" number="6" inverted="yes" />
    <dipvalue name="Easy" value="0" default="yes" />
    <dipvalue name="Medium" value="16" default="no" />
    <dipvalue name="Hard" value="32" default="no" />
    <dipvalue name="Hardest" value="48" default="no" />
  </dipswitch>
  <dipswitch name="Difficulty (Outlanes)" tag="DSW2" mask="192">
    <diplocation name="SW2" number="7" inverted="yes" />
    <diplocation name="SW2" number="8" inverted="yes" />
    <dipvalue name="Easy" value="0" default="yes" />
    <dipvalue name="Medium" value="64" default="no" />
    <dipvalue name="Hard" value="128" default="no" />
    <dipvalue name="Hardest" value="192" default="no" />
  </dipswitch>
  <port tag=":DSW1"></port>
  <port tag=":DSW2"></port>
  <port tag=":P1"></port>
  <port tag=":P2"></port>
  <port tag=":SYSTEM"></port>
  <driver status="good" emulation="good" savestate="supported" requiresartwork="no" unofficial="no" nosoundhardware="no" incomplete="no" />
</machine>