{
  "machine": {
    "name": "mgfx",
    "sourcefile": "igs/igs_m027.cpp",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Manguan Fuxing (V104T)",
    "year": "2000",
    "manufacturer": "IGS",
    "rom": [
      {
        "name": "w6_027a.u23",
        "size": "16384",
        "crc": "7a8a2ea6",
        "sha1": "88f580dc267986cf979de4ef1981758417f106e9",
        "region": "maincpu",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "v-104t.u10",
        "size": "524288",
        "crc": "e6e304f7",
        "sha1": "e99cecbbd938affb521b28583af5f8171d397ec2",
        "region": "user1",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "igs_t3402.u9",
        "size": "524288",
        "crc": "19b37f83",
        "sha1": "d49bd0c1357bfe76182976c0142c2dded415ac7a",
        "region": "igs017_igs031:tilemaps",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "igs_a3401.u17",
        "size": "4194304",
        "crc": "c031f069",
        "sha1": "bb2a6a65e31d730bff8d3e1b8efeafe1a93a73b4",
        "region": "igs017_igs031:sprites",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "igs_s3403.u14",
        "size": "1048576",
        "crc": "d8dc252a",
        "sha1": "3e94230599a21cf7b5d238e48b09ab4b3de595a3",
        "region": "oki",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "igs027a"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":scantimer",
        "name": "timer"
      },
      {
        "tag": ":igs017_igs031",
        "name": "igs017_031"
      },
      {
        "tag": ":igs017_igs031:palette",
        "name": "palette"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":oki",
        "name": "okim6295"
      },
      {
        "tag": ":ppi1",
        "name": "i8255"
      },
      {
        "tag": ":hopper",
        "name": "coin_hopper"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "IGS 027A ARM CPU (little)",
        "clock": "22000000"
      },
      {
        "type": "audio",
        "tag": "mono",
        "name": "Speaker"
      },
      {
        "type": "audio",
        "tag": "oki",
        "name": "OKI MSM6295 ADPCM",
        "clock": "1000000"
      }
    ],
    "display": {
      "tag": "screen",
      "type": "raster",
      "rotate": "0",
      "width": "512",
      "height": "240",
      "refresh": "60.000000",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "1",
      "coins": "1",
      "service": "yes",
      "tilt": "no",
      "control": [
        {
          "type": "joy",
          "buttons": "1",
          "ways": "8",
          "reverse": "no"
        },
        {
          "type": "mahjong",
          "buttons": "25",
          "reverse": "no"
        },
        {
          "type": "gambling",
          "buttons": "6",
          "reverse": "no"
        }
      ]
    },
    "dipswitch": [
      {
        "name": "Unknown",
        "tag": "DSW1",
        "mask": "1",
        "diplocation": {
          "name": "SW1",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Key-In Rate",
        "tag": "DSW1",
        "mask": "6",
        "diplocation": [
          {
            "name": "SW1",
            "number": "2",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "3",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "5",
            "value": "6",
            "default": "yes"
          },
          {
            "name": "10",
            "value": "4",
            "default": "no"
          },
          {
            "name": "50",
            "value": "2",
            "default": "no"
          },
          {
            "name": "100",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Credit Limit",
        "tag": "DSW1",
        "mask": "8",
        "diplocation": {
          "name": "SW1",
          "number": "4",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "100",
            "value": "8",
            "default": "yes"
          },
          {
            "name": "500",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Credit Mode",
        "tag": "DSW1",
        "mask": "16",
        "diplocation": {
          "name": "SW1",
          "number": "5",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Coin Acceptor",
            "value": "16",
            "default": "yes"
          },
          {
            "name": "Key-In",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Payout Mode",
        "tag": "DSW1",
        "mask": "32",
        "diplocation": {
          "name": "SW1",
          "number": "6",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Return Coins",
            "value": "32",
            "default": "yes"
          },
          {
            "name": "Key-Out",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Minimum Bet",
        "tag": "DSW1",
        "mask": "192",
        "diplocation": [
          {
            "name": "SW1",
            "number": "7",
            "inverted": "no"
          },
          {
            "name": "SW1",
            "number": "8",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "1",
            "value": "192",
            "default": "yes"
          },
          {
            "name": "2",
            "value": "128",
            "default": "no"
          },
          {
            "name": "3",
            "value": "64",
            "default": "no"
          },
          {
            "name": "5",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Unknown",
        "tag": "DSW2",
        "mask": "1",
        "diplocation": {
          "name": "SW2",
          "number": "1",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "1",
            "default": "yes"
          },
          {
            "name": "On",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Controls",
        "tag": "DSW2",
        "mask": "2",
        "diplocation": {
          "name": "SW2",
          "number": "2",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Mahjong",
            "value": "2",
            "default": "yes"
          },
          {
            "name": "Joystick",
            "value": "0",
            "default": "no"
          }
        ]
      },
      {
        "name": "Demo Sounds",
        "tag": "DSW2",
        "mask": "4",
        "diplocation": {
          "name": "SW2",
          "number": "3",
          "inverted": "no"
        },
        "dipvalue": [
          {
            "name": "Off",
            "value": "0",
            "default": "no"
          },
          {
            "name": "On",
            "value": "4",
            "default": "yes"
          }
        ]
      },
      {
        "name": "Coinage",
        "tag": "DSW2",
        "mask": "24",
        "diplocation": [
          {
            "name": "SW2",
            "number": "4",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "5",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "2 Coins/1 Credit",
            "value": "0",
            "default": "no"
          },
          {
            "name": "1 Coin/1 Credit",
            "value": "24",
            "default": "yes"
          },
          {
            "name": "1 Coin/2 Credits",
            "value": "16",
            "default": "no"
          },
          {
            "name": "1 Coin/3 Credits",
            "value": "8",
            "default": "no"
          }
        ]
      },
      {
        "name": "Lottery Rate",
        "tag": "DSW2",
        "mask": "224",
        "diplocation": [
          {
            "name": "SW2",
            "number": "6",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "7",
            "inverted": "no"
          },
          {
            "name": "SW2",
            "number": "8",
            "inverted": "no"
          }
        ],
        "dipvalue": [
          {
            "name": "1:1",
            "value": "224",
            "default": "yes"
          },
          {
            "name": "1:2",
            "value": "192",
            "default": "no"
          },
          {
            "name": "1:5",
            "value": "160",
            "default": "no"
          },
          {
            "name": "1:6",
            "value": "128",
            "default": "no"
          },
          {
            "name": "1:7",
            "value": "96",
            "default": "no"
          },
          {
            "name": "1:8",
            "value": "64",
            "default": "no"
          },
          {
            "name": "1:9",
            "value": "32",
            "default": "no"
          },
          {
            "name": "1:10",
            "value": "0",
            "default": "no"
          }
        ]
      }
    ],
    "port": [
      {
        "tag": ":CLEARMEM"
      },
      {
        "tag": ":DSW1"
      },
      {
        "tag": ":DSW2"
      },
      {
        "tag": ":JOY"
      },
      {
        "tag": ":KEY0"
      },
      {
        "tag": ":KEY1"
      },
      {
        "tag": ":KEY2"
      },
      {
        "tag": ":KEY3"
      },
      {
        "tag": ":KEY4"
      },
      {
        "tag": ":TEST"
      },
      {
        "tag": ":hopper:TEST"
      }
    ],
    "driver": {
      "status": "imperfect",
      "emulation": "good",
      "savestate": "unsupported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    },
    "feature": {
      "type": "timing",
      "overall": "imperfect"
    }
  }
}