{
  "machine": {
    "name": "hapfarm_in0101a",
    "sourcefile": "astrocorp/astrcorp.cpp",
    "cloneof": "hapfarm",
    "romof": "hapfarm",
    "isbios": "no",
    "isdevice": "no",
    "ismechanical": "no",
    "runnable": "yes",
    "description": "Happy Farm (Ver. IN.01.01.A)",
    "year": "2008",
    "manufacturer": "Astro Corp.",
    "rom": [
      {
        "name": "1_happy_farm_in.01.01.a.u26",
        "size": "131072",
        "crc": "335514b6",
        "sha1": "7207955a8a40b6704b26e533af9e9f9b6d733fd1",
        "region": "encrypted_rom",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "2_happy_farm_in.01.01.a.u25",
        "size": "131072",
        "crc": "f4663851",
        "sha1": "d2472d0ef50fa3558d1c30952a7041d2206ec4cf",
        "region": "encrypted_rom",
        "offset": "1",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "mx29f1610mc.rom3.u51",
        "size": "2097152",
        "crc": "8cd1274e",
        "sha1": "308f4de0e7f9addbbbfd9526abc8b3c55167c856",
        "region": "sprites",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "mx29f1610mc.rom4.u30",
        "size": "2097152",
        "crc": "ff9d27b0",
        "sha1": "9f34d8feb9570f8cc8812669315151e586cf9816",
        "region": "sprites",
        "offset": "800000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "mx29f1610mc.rom7",
        "size": "2097152",
        "crc": "b44439d2",
        "sha1": "15b48111c37aac145d1f6cce62df0e8c6638cdbd",
        "region": "sprites",
        "offset": "1000000",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "5_happy_farm.rom5",
        "merge": "5_happy_farm.bin",
        "size": "524288",
        "crc": "f6b7cc89",
        "sha1": "3a5863a643b9259db95522e1a7f1b1eea457d28a",
        "region": "oki",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "93c46.u13",
        "size": "128",
        "crc": "99219840",
        "sha1": "c0df22c2423d23b73edcbbeecd4964f78042e5c2",
        "region": "eeprom",
        "offset": "0",
        "status": "good",
        "optional": "no"
      },
      {
        "name": "hapfarm_in0101a_cpucode.key",
        "size": "2",
        "crc": "3e92abb0",
        "sha1": "8e0eb6b43a45a4a4d402d06c32a25b64c7503f0c",
        "region": "astro_cpucode",
        "offset": "0",
        "status": "good",
        "optional": "no"
      }
    ],
    "device_ref": [
      {
        "tag": ":maincpu",
        "name": "m68000"
      },
      {
        "tag": ":scantimer",
        "name": "timer"
      },
      {
        "tag": ":nvram",
        "name": "nvram"
      },
      {
        "tag": ":eeprom",
        "name": "93c46_16"
      },
      {
        "tag": ":ticket",
        "name": "coin_hopper"
      },
      {
        "tag": ":hopper",
        "name": "coin_hopper"
      },
      {
        "tag": ":screen",
        "name": "screen"
      },
      {
        "tag": ":gfxdecode",
        "name": "gfxdecode"
      },
      {
        "tag": ":palette",
        "name": "palette"
      },
      {
        "tag": ":mono",
        "name": "speaker"
      },
      {
        "tag": ":oki",
        "name": "okim6295"
      },
      {
        "tag": ":astro_cpucode",
        "name": "astro_cpucode"
      }
    ],
    "chip": [
      {
        "type": "cpu",
        "tag": "maincpu",
        "name": "Motorola MC68000",
        "clock": "12000000"
      },
      {
        "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": "58.869413",
      "pixclock": "12000000",
      "htotal": "781",
      "hbend": "0",
      "hbstart": "512",
      "vtotal": "261",
      "vbend": "0",
      "vbstart": "240",
      "flipx": "no"
    },
    "sound": {
      "channels": "1"
    },
    "input": {
      "players": "1",
      "coins": "1",
      "service": "yes",
      "tilt": "no",
      "control": {
        "type": "gambling",
        "buttons": "9",
        "reverse": "no"
      }
    },
    "port": [
      {
        "tag": ":CPUCODE_IN"
      },
      {
        "tag": ":CPUCODE_OUT"
      },
      {
        "tag": ":EEPROM_IN"
      },
      {
        "tag": ":EEPROM_OUT"
      },
      {
        "tag": ":INPUTS"
      },
      {
        "tag": ":hopper:TEST"
      },
      {
        "tag": ":ticket:TEST"
      }
    ],
    "driver": {
      "status": "preliminary",
      "emulation": "preliminary",
      "savestate": "supported",
      "requiresartwork": "no",
      "unofficial": "no",
      "nosoundhardware": "no",
      "incomplete": "no"
    },
    "feature": {
      "type": "protection",
      "status": "imperfect"
    }
  }
}