src/mame/layout/bfm_sc4.lay
| r14982 | r14983 | |
| 14 | 14 | <color red="0.0" green="1.0" blue="0.0" />
|
| 15 | 15 | </rect>
|
| 16 | 16 | </element>
|
| 17 | | <element name="Steppers" defstate="96">
|
| 18 | | <text string="00" state="0">
|
| 19 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 20 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 21 | | </text>
|
| 22 | | <text string="01" state="1">
|
| 23 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 24 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 25 | | </text>
|
| 26 | | <text string="02" state="2">
|
| 27 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 28 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 29 | | </text>
|
| 30 | | <text string="03" state="3">
|
| 31 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 32 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 33 | | </text>
|
| 34 | | <text string="04" state="4">
|
| 35 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 36 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 37 | | </text>
|
| 38 | | <text string="05" state="5">
|
| 39 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 40 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 41 | | </text>
|
| 42 | | <text string="06" state="6">
|
| 43 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 44 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 45 | | </text>
|
| 46 | | <text string="07" state="7">
|
| 47 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 48 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 49 | | </text>
|
| 50 | | <text string="08" state="8">
|
| 51 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 52 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 53 | | </text>
|
| 54 | | <text string="09" state="9">
|
| 55 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 56 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 57 | | </text>
|
| 58 | | <text string="10" state="10">
|
| 59 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 60 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 61 | | </text>
|
| 62 | | <text string="11" state="11">
|
| 63 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 64 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 65 | | </text>
|
| 66 | | <text string="12" state="12">
|
| 67 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 68 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 69 | | </text>
|
| 70 | | <text string="13" state="13">
|
| 71 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 72 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 73 | | </text>
|
| 74 | | <text string="14" state="14">
|
| 75 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 76 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 77 | | </text>
|
| 78 | | <text string="15" state="15">
|
| 79 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 80 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 81 | | </text>
|
| 82 | | <text string="16" state="16">
|
| 83 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 84 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 85 | | </text>
|
| 86 | | <text string="17" state="17">
|
| 87 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 88 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 89 | | </text>
|
| 90 | | <text string="18" state="18">
|
| 91 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 92 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 93 | | </text>
|
| 94 | | <text string="19" state="19">
|
| 95 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 96 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 97 | | </text>
|
| 98 | | <text string="20" state="20">
|
| 99 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 100 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 101 | | </text>
|
| 102 | | <text string="21" state="21">
|
| 103 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 104 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 105 | | </text>
|
| 106 | | <text string="22" state="22">
|
| 107 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 108 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 109 | | </text>
|
| 110 | | <text string="23" state="23">
|
| 111 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 112 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 113 | | </text>
|
| 114 | | <text string="24" state="24">
|
| 115 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 116 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 117 | | </text>
|
| 118 | | <text string="25" state="25">
|
| 119 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 120 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 121 | | </text>
|
| 17 | <element name="Steppers" defstate="0">
|
| 18 | <simplecounter maxstate="999" digits="2">
|
| 19 | <color red="1.0" green="1.0" blue="1.0" />
|
| 20 | <bounds x="0" y="0.1" width="1" height="1" />
|
| 21 | </simplecounter>
|
| 22 | </element>
|
| 122 | 23 | |
| 123 | | <text string="26" state="26">
|
| 124 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 125 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 126 | | </text>
|
| 127 | | <text string="27" state="27">
|
| 128 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 129 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 130 | | </text>
|
| 131 | | <text string="28" state="28">
|
| 132 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 133 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 134 | | </text>
|
| 135 | | <text string="29" state="29">
|
| 136 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 137 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 138 | | </text>
|
| 139 | | <text string="30" state="30">
|
| 140 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 141 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 142 | | </text>
|
| 143 | | <text string="31" state="31">
|
| 144 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 145 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 146 | | </text>
|
| 147 | | <text string="32" state="32">
|
| 148 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 149 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 150 | | </text>
|
| 151 | | <text string="33" state="33">
|
| 152 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 153 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 154 | | </text>
|
| 155 | | <text string="34" state="34">
|
| 156 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 157 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 158 | | </text>
|
| 159 | | <text string="35" state="35">
|
| 160 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 161 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 162 | | </text>
|
| 163 | | <text string="36" state="36">
|
| 164 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 165 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 166 | | </text>
|
| 167 | | <text string="37" state="37">
|
| 168 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 169 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 170 | | </text>
|
| 171 | | <text string="38" state="38">
|
| 172 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 173 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 174 | | </text>
|
| 175 | | <text string="39" state="39">
|
| 176 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 177 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 178 | | </text>
|
| 179 | | <text string="40" state="40">
|
| 180 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 181 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 182 | | </text>
|
| 183 | | <text string="41" state="41">
|
| 184 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 185 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 186 | | </text>
|
| 187 | | <text string="42" state="42">
|
| 188 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 189 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 190 | | </text>
|
| 191 | | <text string="43" state="43">
|
| 192 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 193 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 194 | | </text>
|
| 195 | | <text string="44" state="44">
|
| 196 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 197 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 198 | | </text>
|
| 199 | | <text string="45" state="45">
|
| 200 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 201 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 202 | | </text>
|
| 203 | | <text string="46" state="46">
|
| 204 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 205 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 206 | | </text>
|
| 207 | | <text string="47" state="47">
|
| 208 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 209 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 210 | | </text>
|
| 211 | | <text string="48" state="48">
|
| 212 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 213 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 214 | | </text>
|
| 215 | | <text string="49" state="49">
|
| 216 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 217 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 218 | | </text>
|
| 219 | | <text string="50" state="50">
|
| 220 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 221 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 222 | | </text>
|
| 223 | | <text string="51" state="51">
|
| 224 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 225 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 226 | | </text>
|
| 227 | | <text string="52" state="52">
|
| 228 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 229 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 230 | | </text>
|
| 231 | | <text string="53" state="53">
|
| 232 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 233 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 234 | | </text>
|
| 235 | | <text string="54" state="54">
|
| 236 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 237 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 238 | | </text>
|
| 239 | | <text string="55" state="55">
|
| 240 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 241 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 242 | | </text>
|
| 243 | | <text string="56" state="56">
|
| 244 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 245 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 246 | | </text>
|
| 247 | | <text string="57" state="57">
|
| 248 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 249 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 250 | | </text>
|
| 251 | | <text string="58" state="58">
|
| 252 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 253 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 254 | | </text>
|
| 255 | | <text string="59" state="59">
|
| 256 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 257 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 258 | | </text>
|
| 259 | | <text string="60" state="60">
|
| 260 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 261 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 262 | | </text>
|
| 263 | | <text string="61" state="61">
|
| 264 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 265 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 266 | | </text>
|
| 267 | | <text string="62" state="62">
|
| 268 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 269 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 270 | | </text>
|
| 271 | | <text string="63" state="63">
|
| 272 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 273 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 274 | | </text>
|
| 275 | | <text string="64" state="64">
|
| 276 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 277 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 278 | | </text>
|
| 279 | | <text string="65" state="65">
|
| 280 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 281 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 282 | | </text>
|
| 283 | | <text string="66" state="66">
|
| 284 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 285 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 286 | | </text>
|
| 287 | | <text string="67" state="67">
|
| 288 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 289 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 290 | | </text>
|
| 291 | | <text string="68" state="68">
|
| 292 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 293 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 294 | | </text>
|
| 295 | | <text string="69" state="69">
|
| 296 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 297 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 298 | | </text>
|
| 299 | | <text string="70" state="70">
|
| 300 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 301 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 302 | | </text>
|
| 303 | | <text string="71" state="71">
|
| 304 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 305 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 306 | | </text>
|
| 307 | | <text string="72" state="72">
|
| 308 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 309 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 310 | | </text>
|
| 311 | | <text string="73" state="73">
|
| 312 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 313 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 314 | | </text>
|
| 315 | | <text string="74" state="74">
|
| 316 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 317 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 318 | | </text>
|
| 319 | | <text string="75" state="75">
|
| 320 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 321 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 322 | | </text>
|
| 323 | | <text string="76" state="76">
|
| 324 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 325 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 326 | | </text>
|
| 327 | | <text string="77" state="77">
|
| 328 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 329 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 330 | | </text>
|
| 331 | | <text string="78" state="78">
|
| 332 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 333 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 334 | | </text>
|
| 335 | | <text string="79" state="79">
|
| 336 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 337 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 338 | | </text>
|
| 339 | | <text string="80" state="80">
|
| 340 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 341 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 342 | | </text>
|
| 343 | | <text string="81" state="81">
|
| 344 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 345 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 346 | | </text>
|
| 347 | | <text string="82" state="82">
|
| 348 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 349 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 350 | | </text>
|
| 351 | | <text string="83" state="83">
|
| 352 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 353 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 354 | | </text>
|
| 355 | | <text string="84" state="84">
|
| 356 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 357 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 358 | | </text>
|
| 359 | | <text string="85" state="85">
|
| 360 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 361 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 362 | | </text>
|
| 363 | | <text string="86" state="86">
|
| 364 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 365 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 366 | | </text>
|
| 367 | | <text string="87" state="87">
|
| 368 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 369 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 370 | | </text>
|
| 371 | | <text string="88" state="88">
|
| 372 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 373 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 374 | | </text>
|
| 375 | | <text string="89" state="89">
|
| 376 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 377 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 378 | | </text>
|
| 379 | | <text string="90" state="90">
|
| 380 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 381 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 382 | | </text>
|
| 383 | | <text string="91" state="91">
|
| 384 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 385 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 386 | | </text>
|
| 387 | | <text string="92" state="92">
|
| 388 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 389 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 390 | | </text>
|
| 391 | | <text string="93" state="93">
|
| 392 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 393 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 394 | | </text>
|
| 395 | | <text string="94" state="94">
|
| 396 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 397 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 398 | | </text>
|
| 399 | | <text string="95" state="95">
|
| 400 | | <color red="1.0" green="1.0" blue="1.0" />
|
| 401 | | <bounds x="0" y="0.1" width="1" height="1" />
|
| 402 | | </text>
|
| 403 | | </element>
|
| 404 | 24 | <element name="vfd0">
|
| 405 | | <led14segsc>
|
| 406 | | <color red="0" green="0.6" blue="1.0" />
|
| 407 | | </led14segsc>
|
| 25 | <led14segsc>
|
| 26 | <color red="0" green="0.6" blue="1.0" />
|
| 27 | </led14segsc>
|
| 408 | 28 | </element>
|
| 409 | 29 | <element name="digit" defstate="10">
|
| 410 | 30 | <led7seg>
|
| r14982 | r14983 | |
| 2035 | 1655 | </backdrop>
|
| 2036 | 1656 | |
| 2037 | 1657 | <backdrop name="digit0" element="digit" state="0">
|
| 2038 | | <bounds x="180" y="64" width="18" height="34"/>
|
| 1658 | <bounds x="180" y="64" width="9" height="19"/>
|
| 2039 | 1659 | </backdrop>
|
| 2040 | 1660 | <backdrop name="digit1" element="digit" state="0">
|
| 2041 | | <bounds x="200" y="64" width="18" height="34"/>
|
| 1661 | <bounds x="190" y="64" width="9" height="19"/>
|
| 2042 | 1662 | </backdrop>
|
| 2043 | 1663 | <backdrop name="digit2" element="digit" state="0">
|
| 2044 | | <bounds x="220" y="64" width="18" height="34"/>
|
| 1664 | <bounds x="200" y="64" width="9" height="19"/>
|
| 2045 | 1665 | </backdrop>
|
| 2046 | 1666 | <backdrop name="digit3" element="digit" state="0">
|
| 2047 | | <bounds x="240" y="64" width="18" height="34"/>
|
| 1667 | <bounds x="210" y="64" width="9" height="19"/>
|
| 2048 | 1668 | </backdrop>
|
| 2049 | 1669 | <backdrop name="digit4" element="digit" state="0">
|
| 2050 | | <bounds x="260" y="64" width="18" height="34"/>
|
| 1670 | <bounds x="220" y="64" width="9" height="19"/>
|
| 2051 | 1671 | </backdrop>
|
| 2052 | 1672 | <backdrop name="digit5" element="digit" state="0">
|
| 2053 | | <bounds x="280" y="64" width="18" height="34"/>
|
| 1673 | <bounds x="230" y="64" width="9" height="19"/>
|
| 2054 | 1674 | </backdrop>
|
| 2055 | 1675 | <backdrop name="digit6" element="digit" state="0">
|
| 2056 | | <bounds x="300" y="64" width="18" height="34"/>
|
| 1676 | <bounds x="240" y="64" width="9" height="19"/>
|
| 2057 | 1677 | </backdrop>
|
| 2058 | 1678 | <backdrop name="digit7" element="digit" state="0">
|
| 2059 | | <bounds x="320" y="64" width="18" height="34"/>
|
| 1679 | <bounds x="250" y="64" width="9" height="19"/>
|
| 2060 | 1680 | </backdrop>
|
| 1681 |
|
| 2061 | 1682 | <backdrop name="digit8" element="digit" state="0">
|
| 2062 | | <bounds x="340" y="64" width="18" height="34"/>
|
| 1683 | <bounds x="180" y="84" width="9" height="19"/>
|
| 2063 | 1684 | </backdrop>
|
| 2064 | 1685 | <backdrop name="digit9" element="digit" state="0">
|
| 2065 | | <bounds x="360" y="64" width="18" height="34"/>
|
| 1686 | <bounds x="190" y="84" width="9" height="19"/>
|
| 2066 | 1687 | </backdrop>
|
| 2067 | 1688 | <backdrop name="digit10" element="digit" state="0">
|
| 2068 | | <bounds x="380" y="64" width="18" height="34"/>
|
| 1689 | <bounds x="200" y="84" width="9" height="19"/>
|
| 2069 | 1690 | </backdrop>
|
| 2070 | 1691 | <backdrop name="digit11" element="digit" state="0">
|
| 2071 | | <bounds x="400" y="64" width="18" height="34"/>
|
| 1692 | <bounds x="210" y="84" width="9" height="19"/>
|
| 2072 | 1693 | </backdrop>
|
| 1694 | <backdrop name="digit12" element="digit" state="0">
|
| 1695 | <bounds x="220" y="84" width="9" height="19"/>
|
| 1696 | </backdrop>
|
| 1697 | <backdrop name="digit13" element="digit" state="0">
|
| 1698 | <bounds x="230" y="84" width="9" height="19"/>
|
| 1699 | </backdrop>
|
| 1700 | <backdrop name="digit14" element="digit" state="0">
|
| 1701 | <bounds x="240" y="84" width="9" height="19"/>
|
| 1702 | </backdrop>
|
| 1703 | <backdrop name="digit15" element="digit" state="0">
|
| 1704 | <bounds x="250" y="84" width="9" height="19"/>
|
| 1705 | </backdrop>
|
| 2073 | 1706 | |
| 2074 | | |
| 2075 | | |
| 1707 | <backdrop name="digit16" element="digit" state="0">
|
| 1708 | <bounds x="180" y="104" width="9" height="19"/>
|
| 1709 | </backdrop>
|
| 1710 | <backdrop name="digit17" element="digit" state="0">
|
| 1711 | <bounds x="190" y="104" width="9" height="19"/>
|
| 1712 | </backdrop>
|
| 1713 | <backdrop name="digit18" element="digit" state="0">
|
| 1714 | <bounds x="200" y="104" width="9" height="19"/>
|
| 1715 | </backdrop>
|
| 1716 | <backdrop name="digit19" element="digit" state="0">
|
| 1717 | <bounds x="210" y="104" width="9" height="19"/>
|
| 1718 | </backdrop>
|
| 1719 | <backdrop name="digit20" element="digit" state="0">
|
| 1720 | <bounds x="220" y="104" width="9" height="19"/>
|
| 1721 | </backdrop>
|
| 1722 | <backdrop name="digit21" element="digit" state="0">
|
| 1723 | <bounds x="230" y="104" width="9" height="19"/>
|
| 1724 | </backdrop>
|
| 1725 | <backdrop name="digit22" element="digit" state="0">
|
| 1726 | <bounds x="240" y="104" width="9" height="19"/>
|
| 1727 | </backdrop>
|
| 1728 | <backdrop name="digit23" element="digit" state="0">
|
| 1729 | <bounds x="250" y="104" width="9" height="19"/>
|
| 1730 | </backdrop>
|
| 1731 | |
| 1732 | <backdrop name="digit24" element="digit" state="0">
|
| 1733 | <bounds x="180" y="124" width="9" height="19"/>
|
| 1734 | </backdrop>
|
| 1735 | <backdrop name="digit25" element="digit" state="0">
|
| 1736 | <bounds x="190" y="124" width="9" height="19"/>
|
| 1737 | </backdrop>
|
| 1738 | <backdrop name="digit26" element="digit" state="0">
|
| 1739 | <bounds x="200" y="124" width="9" height="19"/>
|
| 1740 | </backdrop>
|
| 1741 | <backdrop name="digit27" element="digit" state="0">
|
| 1742 | <bounds x="210" y="124" width="9" height="19"/>
|
| 1743 | </backdrop>
|
| 1744 | <backdrop name="digit28" element="digit" state="0">
|
| 1745 | <bounds x="220" y="124" width="9" height="19"/>
|
| 1746 | </backdrop>
|
| 1747 | <backdrop name="digit29" element="digit" state="0">
|
| 1748 | <bounds x="230" y="124" width="9" height="19"/>
|
| 1749 | </backdrop>
|
| 1750 | <backdrop name="digit30" element="digit" state="0">
|
| 1751 | <bounds x="240" y="124" width="9" height="19"/>
|
| 1752 | </backdrop>
|
| 1753 | <backdrop name="digit31" element="digit" state="0">
|
| 1754 | <bounds x="250" y="124" width="9" height="19"/>
|
| 1755 | </backdrop>
|
| 1756 | |
| 1757 | |
| 2076 | 1758 | </view>
|
| 2077 | 1759 | <view name="VFD Display Output Only">
|
| 2078 | 1760 | <backdrop name="vfd0" element="vfd0" state="0">
|
src/mame/drivers/meyc8080.c
| r14982 | r14983 | |
| 63 | 63 | #include "meybjack.lh" |
| 64 | 64 | |
| 65 | 65 | |
| 66 | | class wldarrow_state : public driver_device |
| 66 | class meyc8080_state : public driver_device |
| 67 | 67 | { |
| 68 | 68 | public: |
| 69 | | wldarrow_state(const machine_config &mconfig, device_type type, const char *tag) |
| 69 | meyc8080_state(const machine_config &mconfig, device_type type, const char *tag) |
| 70 | 70 | : driver_device(mconfig, type, tag) , |
| 71 | 71 | m_videoram_0(*this, "vram0"), |
| 72 | 72 | m_videoram_1(*this, "vram1"), |
| 73 | | m_videoram_2(*this, "vram2"){ } |
| 73 | m_videoram_2(*this, "vram2") |
| 74 | { } |
| 74 | 75 | |
| 75 | 76 | required_shared_ptr<UINT8> m_videoram_0; |
| 76 | 77 | required_shared_ptr<UINT8> m_videoram_1; |
| 77 | 78 | required_shared_ptr<UINT8> m_videoram_2; |
| 79 | |
| 78 | 80 | DECLARE_WRITE8_MEMBER(lights_1_w); |
| 79 | 81 | DECLARE_WRITE8_MEMBER(lights_2_w); |
| 80 | 82 | DECLARE_WRITE8_MEMBER(counters_w); |
| r14982 | r14983 | |
| 101 | 103 | } |
| 102 | 104 | |
| 103 | 105 | |
| 104 | | static SCREEN_UPDATE_RGB32( wldarrow ) |
| 106 | static SCREEN_UPDATE_RGB32( meyc8080 ) |
| 105 | 107 | { |
| 106 | | wldarrow_state *state = screen.machine().driver_data<wldarrow_state>(); |
| 108 | meyc8080_state *state = screen.machine().driver_data<meyc8080_state>(); |
| 107 | 109 | pen_t pens[NUM_PENS]; |
| 108 | 110 | offs_t offs; |
| 109 | 111 | |
| r14982 | r14983 | |
| 153 | 155 | * |
| 154 | 156 | *************************************/ |
| 155 | 157 | |
| 156 | | WRITE8_MEMBER(wldarrow_state::lights_1_w) |
| 158 | WRITE8_MEMBER(meyc8080_state::lights_1_w) |
| 157 | 159 | { |
| 158 | 160 | /* Wild Arrow lamps |
| 159 | 161 | |
| r14982 | r14983 | |
| 199 | 201 | } |
| 200 | 202 | |
| 201 | 203 | |
| 202 | | WRITE8_MEMBER(wldarrow_state::lights_2_w) |
| 204 | WRITE8_MEMBER(meyc8080_state::lights_2_w) |
| 203 | 205 | { |
| 204 | 206 | /* Wild Arrow unknown pulse... |
| 205 | 207 | |
| r14982 | r14983 | |
| 248 | 250 | } |
| 249 | 251 | |
| 250 | 252 | |
| 251 | | WRITE8_MEMBER(wldarrow_state::counters_w) |
| 253 | WRITE8_MEMBER(meyc8080_state::counters_w) |
| 252 | 254 | { |
| 253 | 255 | /* Wild Arrow & Draw Poker counters |
| 254 | 256 | |
| r14982 | r14983 | |
| 284 | 286 | * |
| 285 | 287 | *************************************/ |
| 286 | 288 | |
| 287 | | static WRITE8_DEVICE_HANDLER( wldarrow_dac_1_w ) |
| 289 | static WRITE8_DEVICE_HANDLER( meyc8080_dac_1_w ) |
| 288 | 290 | { |
| 289 | 291 | dac_data_w(device, 0x00); |
| 290 | 292 | } |
| 291 | 293 | |
| 292 | 294 | |
| 293 | | static WRITE8_DEVICE_HANDLER( wldarrow_dac_2_w ) |
| 295 | static WRITE8_DEVICE_HANDLER( meyc8080_dac_2_w ) |
| 294 | 296 | { |
| 295 | 297 | dac_data_w(device, 0x55); |
| 296 | 298 | } |
| 297 | 299 | |
| 298 | 300 | |
| 299 | | static WRITE8_DEVICE_HANDLER( wldarrow_dac_3_w ) |
| 301 | static WRITE8_DEVICE_HANDLER( meyc8080_dac_3_w ) |
| 300 | 302 | { |
| 301 | 303 | dac_data_w(device, 0xaa); |
| 302 | 304 | } |
| 303 | 305 | |
| 304 | 306 | |
| 305 | | static WRITE8_DEVICE_HANDLER( wldarrow_dac_4_w ) |
| 307 | static WRITE8_DEVICE_HANDLER( meyc8080_dac_4_w ) |
| 306 | 308 | { |
| 307 | 309 | dac_data_w(device, 0xff); |
| 308 | 310 | } |
| r14982 | r14983 | |
| 315 | 317 | * |
| 316 | 318 | *************************************/ |
| 317 | 319 | |
| 318 | | static ADDRESS_MAP_START( wldarrow_map, AS_PROGRAM, 8, wldarrow_state ) |
| 320 | static ADDRESS_MAP_START( meyc8080_map, AS_PROGRAM, 8, meyc8080_state ) |
| 319 | 321 | AM_RANGE(0x0000, 0x37ff) AM_ROM |
| 320 | 322 | AM_RANGE(0x3800, 0x3800) AM_READ_PORT("IN0") |
| 321 | 323 | AM_RANGE(0x4000, 0x5fff) AM_RAM AM_SHARE("vram0") |
| r14982 | r14983 | |
| 323 | 325 | AM_RANGE(0x8000, 0x9fff) AM_RAM AM_SHARE("vram2") |
| 324 | 326 | // AM_RANGE(0xa000, 0xa0ff) AM_RAM // unknown... filled with 00's at boot time or when entering the service mode. |
| 325 | 327 | AM_RANGE(0xcd00, 0xcdff) AM_RAM AM_SHARE("nvram") |
| 326 | | AM_RANGE(0xf000, 0xf000) AM_READ_PORT("BITSW") AM_DEVWRITE_LEGACY("dac", wldarrow_dac_1_w) |
| 328 | AM_RANGE(0xf000, 0xf000) AM_READ_PORT("BSW") AM_DEVWRITE_LEGACY("dac", meyc8080_dac_1_w) |
| 327 | 329 | AM_RANGE(0xf004, 0xf004) AM_READ_PORT("IN1") AM_WRITE(lights_1_w) |
| 328 | 330 | AM_RANGE(0xf006, 0xf006) AM_READ_PORT("IN2") AM_WRITE(lights_2_w) |
| 329 | 331 | AM_RANGE(0xf008, 0xf008) AM_WRITE(counters_w) |
| 330 | | AM_RANGE(0xf00f, 0xf00f) AM_DEVWRITE_LEGACY("dac", wldarrow_dac_2_w) |
| 331 | | AM_RANGE(0xf0f0, 0xf0f0) AM_DEVWRITE_LEGACY("dac", wldarrow_dac_3_w) |
| 332 | | AM_RANGE(0xf0ff, 0xf0ff) AM_DEVWRITE_LEGACY("dac", wldarrow_dac_4_w) |
| 332 | AM_RANGE(0xf00f, 0xf00f) AM_DEVWRITE_LEGACY("dac", meyc8080_dac_2_w) |
| 333 | AM_RANGE(0xf0f0, 0xf0f0) AM_DEVWRITE_LEGACY("dac", meyc8080_dac_3_w) |
| 334 | AM_RANGE(0xf0ff, 0xf0ff) AM_DEVWRITE_LEGACY("dac", meyc8080_dac_4_w) |
| 333 | 335 | ADDRESS_MAP_END |
| 334 | 336 | |
| 335 | 337 | |
| r14982 | r14983 | |
| 353 | 355 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 354 | 356 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 355 | 357 | |
| 356 | | PORT_START("BITSW") |
| 357 | | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BITSWITCH:1") |
| 358 | PORT_START("BSW") |
| 359 | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BSW:1") |
| 358 | 360 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 359 | 361 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 360 | | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BITSWITCH:2") |
| 362 | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BSW:2") |
| 361 | 363 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 362 | 364 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) |
| 363 | | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BITSWITCH:3") |
| 365 | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BSW:3") |
| 364 | 366 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 365 | 367 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 366 | | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BITSWITCH:4") |
| 368 | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BSW:4") |
| 367 | 369 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 368 | 370 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 369 | | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("BITSWITCH:5") |
| 371 | PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("BSW:5") |
| 370 | 372 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) |
| 371 | 373 | PORT_DIPSETTING( 0x10, DEF_STR( 1C_5C ) ) |
| 372 | | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BITSWITCH:6") |
| 374 | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BSW:6") |
| 373 | 375 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 374 | 376 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| 375 | | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BITSWITCH:7") |
| 377 | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BSW:7") |
| 376 | 378 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 377 | 379 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 378 | | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BITSWITCH:8") |
| 380 | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BSW:8") |
| 379 | 381 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 380 | 382 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 381 | 383 | |
| r14982 | r14983 | |
| 414 | 416 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 415 | 417 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 416 | 418 | |
| 417 | | PORT_START("BITSW") |
| 418 | | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BITSWITCH:1") |
| 419 | PORT_START("BSW") |
| 420 | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BSW:1") |
| 419 | 421 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 420 | 422 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 421 | | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BITSWITCH:2") |
| 423 | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BSW:2") |
| 422 | 424 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 423 | 425 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) |
| 424 | | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BITSWITCH:3") |
| 426 | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BSW:3") |
| 425 | 427 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 426 | 428 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 427 | | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BITSWITCH:4") |
| 429 | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BSW:4") |
| 428 | 430 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 429 | 431 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 430 | | PORT_DIPNAME( 0x10, 0x00, "Bit Switch 5" ) PORT_DIPLOCATION("BITSWITCH:5") |
| 432 | PORT_DIPNAME( 0x10, 0x00, "Bit Switch 5" ) PORT_DIPLOCATION("BSW:5") |
| 431 | 433 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 432 | 434 | PORT_DIPSETTING( 0x10, DEF_STR( On ) ) |
| 433 | | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BITSWITCH:6") |
| 435 | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BSW:6") |
| 434 | 436 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 435 | 437 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| 436 | | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BITSWITCH:7") |
| 438 | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BSW:7") |
| 437 | 439 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 438 | 440 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 439 | | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BITSWITCH:8") |
| 441 | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BSW:8") |
| 440 | 442 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 441 | 443 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 442 | 444 | |
| r14982 | r14983 | |
| 475 | 477 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 476 | 478 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 477 | 479 | |
| 478 | | PORT_START("BITSW") |
| 479 | | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BITSWITCH:1") |
| 480 | PORT_START("BSW") |
| 481 | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BSW:1") |
| 480 | 482 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 481 | 483 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 482 | | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BITSWITCH:2") |
| 484 | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BSW:2") |
| 483 | 485 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 484 | 486 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) |
| 485 | | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BITSWITCH:3") |
| 487 | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BSW:3") |
| 486 | 488 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 487 | 489 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 488 | | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BITSWITCH:4") |
| 490 | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BSW:4") |
| 489 | 491 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 490 | 492 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 491 | | PORT_DIPNAME( 0x10, 0x00, "Bit Switch 5" ) PORT_DIPLOCATION("BITSWITCH:5") |
| 493 | PORT_DIPNAME( 0x10, 0x00, "Bit Switch 5" ) PORT_DIPLOCATION("BSW:5") |
| 492 | 494 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 493 | 495 | PORT_DIPSETTING( 0x10, DEF_STR( On ) ) |
| 494 | | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BITSWITCH:6") |
| 496 | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BSW:6") |
| 495 | 497 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 496 | 498 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| 497 | | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BITSWITCH:7") |
| 499 | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BSW:7") |
| 498 | 500 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 499 | 501 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 500 | | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BITSWITCH:8") |
| 502 | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BSW:8") |
| 501 | 503 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 502 | 504 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 503 | 505 | |
| r14982 | r14983 | |
| 525 | 527 | INPUT_PORTS_END |
| 526 | 528 | |
| 527 | 529 | |
| 528 | | static INPUT_PORTS_START( unkmeyco ) |
| 530 | static INPUT_PORTS_START( casbjack ) |
| 529 | 531 | PORT_START("IN0") |
| 530 | 532 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_VBLANK ) |
| 531 | 533 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(1) |
| r14982 | r14983 | |
| 536 | 538 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 537 | 539 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 538 | 540 | |
| 539 | | PORT_START("BITSW") |
| 540 | | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BITSWITCH:1") |
| 541 | PORT_START("BSW") |
| 542 | PORT_DIPNAME( 0x01, 0x00, "Bit Switch 1" ) PORT_DIPLOCATION("BSW:1") |
| 541 | 543 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 542 | 544 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 543 | | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BITSWITCH:2") |
| 545 | PORT_DIPNAME( 0x02, 0x00, "Bit Switch 2" ) PORT_DIPLOCATION("BSW:2") |
| 544 | 546 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 545 | 547 | PORT_DIPSETTING( 0x02, DEF_STR( On ) ) |
| 546 | | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BITSWITCH:3") |
| 548 | PORT_DIPNAME( 0x04, 0x00, "Bit Switch 3" ) PORT_DIPLOCATION("BSW:3") |
| 547 | 549 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 548 | 550 | PORT_DIPSETTING( 0x04, DEF_STR( On ) ) |
| 549 | | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BITSWITCH:4") |
| 551 | PORT_DIPNAME( 0x08, 0x00, "Bit Switch 4" ) PORT_DIPLOCATION("BSW:4") |
| 550 | 552 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 551 | 553 | PORT_DIPSETTING( 0x08, DEF_STR( On ) ) |
| 552 | | PORT_DIPNAME( 0x10, 0x00, "Bit Switch 5" ) PORT_DIPLOCATION("BITSWITCH:5") |
| 554 | PORT_DIPNAME( 0x10, 0x00, "Bit Switch 5" ) PORT_DIPLOCATION("BSW:5") |
| 553 | 555 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 554 | 556 | PORT_DIPSETTING( 0x10, DEF_STR( On ) ) |
| 555 | | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BITSWITCH:6") |
| 557 | PORT_DIPNAME( 0x20, 0x00, "Bit Switch 6" ) PORT_DIPLOCATION("BSW:6") |
| 556 | 558 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 557 | 559 | PORT_DIPSETTING( 0x20, DEF_STR( On ) ) |
| 558 | | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BITSWITCH:7") |
| 560 | PORT_DIPNAME( 0x40, 0x00, "Bit Switch 7" ) PORT_DIPLOCATION("BSW:7") |
| 559 | 561 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 560 | 562 | PORT_DIPSETTING( 0x40, DEF_STR( On ) ) |
| 561 | | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BITSWITCH:8") |
| 563 | PORT_DIPNAME( 0x80, 0x00, "Bit Switch 8" ) PORT_DIPLOCATION("BSW:8") |
| 562 | 564 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 563 | 565 | PORT_DIPSETTING( 0x80, DEF_STR( On ) ) |
| 564 | 566 | |
| r14982 | r14983 | |
| 593 | 595 | * |
| 594 | 596 | *************************************/ |
| 595 | 597 | |
| 596 | | static MACHINE_CONFIG_START( wldarrow, wldarrow_state ) |
| 598 | static MACHINE_CONFIG_START( meyc8080, meyc8080_state ) |
| 597 | 599 | |
| 598 | 600 | /* basic machine hardware */ |
| 599 | 601 | MCFG_CPU_ADD("maincpu", I8080, XTAL_20MHz / 10) // divider guessed |
| 600 | | MCFG_CPU_PROGRAM_MAP(wldarrow_map) |
| 602 | MCFG_CPU_PROGRAM_MAP(meyc8080_map) |
| 601 | 603 | |
| 602 | 604 | MCFG_NVRAM_ADD_0FILL("nvram") |
| 603 | 605 | |
| r14982 | r14983 | |
| 607 | 609 | MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 4*8, 32*8-1) |
| 608 | 610 | MCFG_SCREEN_REFRESH_RATE(60) |
| 609 | 611 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */) |
| 610 | | MCFG_SCREEN_UPDATE_STATIC(wldarrow) |
| 612 | MCFG_SCREEN_UPDATE_STATIC(meyc8080) |
| 611 | 613 | |
| 612 | 614 | /* audio hardware */ |
| 613 | 615 | MCFG_SPEAKER_STANDARD_MONO("mono") |
| r14982 | r14983 | |
| 730 | 732 | ROM_LOAD( "jk6_02-10.k3", 0x2800, 0x0800, CRC(72aee07f) SHA1(a6d6086f3a6181d5111d05ae779c3f7b363c7f14) ) |
| 731 | 733 | ROM_END |
| 732 | 734 | |
| 733 | | ROM_START( unkmeyco ) |
| 735 | ROM_START( casbjack ) |
| 734 | 736 | ROM_REGION( 0x10000, "maincpu", ROMREGION_INVERT ) |
| 735 | 737 | ROM_LOAD( "k8", 0x0000, 0x0800, CRC(c6d8a2f7) SHA1(1fcd3ad72a29f832ffaf37edcb74e84e21909496) ) |
| 736 | 738 | ROM_LOAD( "k7", 0x0800, 0x0800, CRC(6e30e5ae) SHA1(980096adefce4d4d97607b22f56f3acf246986ed) ) |
| r14982 | r14983 | |
| 748 | 750 | * |
| 749 | 751 | *************************************/ |
| 750 | 752 | |
| 751 | | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ |
| 752 | | GAMEL( 1982, wldarrow, 0, wldarrow, wldarrow, 0, ROT0, "Meyco Games, Inc.", "Wild Arrow (Standard V4.8)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_wldarrow ) |
| 753 | | GAMEL( 1984, mdrawpkr, 0, wldarrow, mdrawpkr, 0, ROT0, "Meyco Games, Inc.", "Draw Poker - Joker's Wild (Standard)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_mdrawpkr ) // year not shown, but it is in mdrawpkra |
| 754 | | GAMEL( 1984, mdrawpkra, mdrawpkr, wldarrow, mdrawpkra, 0, ROT0, "Meyco Games, Inc.", "Draw Poker - Joker's Wild (02-11)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_mdrawpkr ) |
| 755 | | GAMEL( 1983, unkmeyco, 0, wldarrow, unkmeyco, 0, ROT0, "Meyco Games, Inc.", "unknown Meyco blackjack game (Standard 00-05)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_meybjack ) |
| 753 | /* YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS LAYOUT */ |
| 754 | GAMEL( 1982, wldarrow, 0, meyc8080, wldarrow, 0, ROT0, "Meyco Games, Inc.", "Wild Arrow (color, Standard V4.8)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_wldarrow ) // B&W version not dumped yet |
| 755 | GAMEL( 1984, mdrawpkr, 0, meyc8080, mdrawpkr, 0, ROT0, "Meyco Games, Inc.", "Draw Poker - Joker's Wild (Standard)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_mdrawpkr ) // year not shown, but it is in mdrawpkra |
| 756 | GAMEL( 1984, mdrawpkra, mdrawpkr, meyc8080, mdrawpkra, 0, ROT0, "Meyco Games, Inc.", "Draw Poker - Joker's Wild (02-11)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_mdrawpkr ) |
| 757 | GAMEL( 1983, casbjack, 0, meyc8080, casbjack, 0, ROT0, "Meyco Games, Inc.", "Casino Black Jack (color, Standard 00-05)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE, layout_meybjack ) // B&W version not dumped yet |
src/mame/drivers/meyc8088.c
| r0 | r14983 | |
| 1 | /* |
| 2 | |
| 3 | Meyco 8088 based hardware |
| 4 | |
| 5 | significant chips: i8088 CPU, two i8155, ??? |
| 6 | |
| 7 | */ |
| 8 | |
| 9 | #include "emu.h" |
| 10 | #include "cpu/i86/i86.h" |
| 11 | #include "machine/i8155.h" |
| 12 | #include "sound/dac.h" |
| 13 | |
| 14 | class meyc8088_state : public driver_device |
| 15 | { |
| 16 | public: |
| 17 | meyc8088_state(const machine_config &mconfig, device_type type, const char *tag) |
| 18 | : driver_device(mconfig, type, tag) , |
| 19 | m_vram(*this, "vram") |
| 20 | { } |
| 21 | |
| 22 | required_shared_ptr<UINT8> m_vram; |
| 23 | }; |
| 24 | |
| 25 | |
| 26 | /*************************************************************************** |
| 27 | |
| 28 | Video |
| 29 | |
| 30 | ***************************************************************************/ |
| 31 | |
| 32 | static SCREEN_UPDATE_IND16( meyc8088 ) |
| 33 | { |
| 34 | meyc8088_state *state = screen.machine().driver_data<meyc8088_state>(); |
| 35 | |
| 36 | for (int y = 0; y < 512; y++) |
| 37 | { |
| 38 | for (int x = 0; x < 64; x++) |
| 39 | { |
| 40 | UINT8 data = state->m_vram[y*64+x]; |
| 41 | for (int i = 0; i < 8; i++) |
| 42 | { |
| 43 | bitmap.pix16(y, x << 3 | i) = (data << i & 0x80) ? 1 : 0; |
| 44 | } |
| 45 | |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | return 0; |
| 50 | } |
| 51 | |
| 52 | |
| 53 | /*************************************************************************** |
| 54 | |
| 55 | I/O |
| 56 | |
| 57 | ***************************************************************************/ |
| 58 | |
| 59 | static ADDRESS_MAP_START( meyc8088_map, AS_PROGRAM, 8, meyc8088_state ) |
| 60 | AM_RANGE(0x00000, 0x003ff) AM_RAM |
| 61 | AM_RANGE(0x00400, 0x007ff) AM_RAM |
| 62 | AM_RANGE(0x70000, 0x77fff) AM_RAM AM_SHARE("vram") |
| 63 | // AM_RANGE(0xb0000, 0xb0000) AM_NOP |
| 64 | AM_RANGE(0xb0800, 0xb0807) AM_DEVREADWRITE("i8155_0", i8155_device, io_r, io_w) |
| 65 | // AM_RANGE(0xb1000, 0xb1000) AM_NOP |
| 66 | AM_RANGE(0xb1800, 0xb1807) AM_DEVREADWRITE("i8155_1", i8155_device, io_r, io_w) |
| 67 | // AM_RANGE(0xb2000, 0xb2000) AM_NOP |
| 68 | // AM_RANGE(0xb3000, 0xb3000) AM_NOP |
| 69 | // AM_RANGE(0xb3800, 0xb3800) AM_NOP |
| 70 | // AM_RANGE(0xb4000, 0xb4000) AM_NOP |
| 71 | // AM_RANGE(0xb5000, 0xb5000) AM_NOP |
| 72 | AM_RANGE(0xfa000, 0xfffff) AM_ROM |
| 73 | ADDRESS_MAP_END |
| 74 | |
| 75 | |
| 76 | static WRITE8_DEVICE_HANDLER(meyc8088_i8155_a_w) |
| 77 | { |
| 78 | logerror("i8155 Port A: %02X\n", data); |
| 79 | } |
| 80 | |
| 81 | static WRITE8_DEVICE_HANDLER(meyc8088_i8155_b_w) |
| 82 | { |
| 83 | logerror("i8155 Port B: %02X\n", data); |
| 84 | } |
| 85 | |
| 86 | static WRITE8_DEVICE_HANDLER(meyc8088_i8155_c_w) |
| 87 | { |
| 88 | logerror("i8155 Port C: %02X\n", data); |
| 89 | } |
| 90 | |
| 91 | static WRITE_LINE_DEVICE_HANDLER(meyc8088_i8155_0_timer_out) |
| 92 | { |
| 93 | //logerror("Timer 0 out %d\n", state); |
| 94 | } |
| 95 | |
| 96 | static WRITE_LINE_DEVICE_HANDLER(meyc8088_i8155_1_timer_out) |
| 97 | { |
| 98 | //logerror("Timer 1 out %d\n", state); |
| 99 | } |
| 100 | |
| 101 | static const i8155_interface i8155_intf[2] = |
| 102 | { |
| 103 | { |
| 104 | // all ports set to output |
| 105 | DEVCB_NULL, |
| 106 | DEVCB_HANDLER(meyc8088_i8155_a_w), |
| 107 | DEVCB_NULL, |
| 108 | DEVCB_HANDLER(meyc8088_i8155_b_w), |
| 109 | DEVCB_NULL, |
| 110 | DEVCB_HANDLER(meyc8088_i8155_c_w), |
| 111 | DEVCB_LINE(meyc8088_i8155_0_timer_out) |
| 112 | }, |
| 113 | { |
| 114 | // all ports set to input |
| 115 | DEVCB_INPUT_PORT("IN0"), |
| 116 | DEVCB_NULL, |
| 117 | DEVCB_INPUT_PORT("IN1"), |
| 118 | DEVCB_NULL, |
| 119 | DEVCB_INPUT_PORT("IN2"), |
| 120 | DEVCB_NULL, |
| 121 | DEVCB_LINE(meyc8088_i8155_1_timer_out) |
| 122 | } |
| 123 | }; |
| 124 | |
| 125 | |
| 126 | /*************************************************************************** |
| 127 | |
| 128 | Inputs |
| 129 | |
| 130 | ***************************************************************************/ |
| 131 | |
| 132 | static INPUT_PORTS_START( gldarrow ) |
| 133 | PORT_START("IN0") |
| 134 | PORT_DIPNAME( 0x01, 0x01, "IN0 1" ) |
| 135 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 136 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 137 | PORT_DIPNAME( 0x02, 0x02, "IN0 2" ) |
| 138 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 139 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 140 | PORT_DIPNAME( 0x04, 0x04, "IN0 3" ) |
| 141 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 142 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 143 | PORT_DIPNAME( 0x08, 0x08, "IN0 4" ) |
| 144 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 145 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 146 | PORT_DIPNAME( 0x10, 0x10, "IN0 5" ) |
| 147 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 148 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 149 | PORT_DIPNAME( 0x20, 0x20, "IN0 6" ) |
| 150 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 151 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 152 | PORT_DIPNAME( 0x40, 0x40, "IN0 7" ) |
| 153 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 154 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 155 | PORT_DIPNAME( 0x80, 0x80, "IN0 8" ) |
| 156 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 157 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 158 | |
| 159 | PORT_START("IN1") |
| 160 | PORT_DIPNAME( 0x01, 0x01, "IN1 1" ) |
| 161 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 162 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 163 | PORT_DIPNAME( 0x02, 0x02, "IN1 2" ) |
| 164 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 165 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 166 | PORT_DIPNAME( 0x04, 0x04, "IN1 3" ) |
| 167 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 168 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 169 | PORT_DIPNAME( 0x08, 0x08, "IN1 4" ) |
| 170 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 171 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 172 | PORT_DIPNAME( 0x10, 0x10, "IN1 5" ) |
| 173 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 174 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 175 | PORT_DIPNAME( 0x20, 0x20, "IN1 6" ) |
| 176 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 177 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 178 | PORT_DIPNAME( 0x40, 0x40, "IN1 7" ) |
| 179 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 180 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 181 | PORT_DIPNAME( 0x80, 0x80, "IN1 8" ) |
| 182 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 183 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 184 | |
| 185 | PORT_START("IN2") |
| 186 | PORT_DIPNAME( 0x01, 0x01, "IN2 1" ) |
| 187 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 188 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 189 | PORT_DIPNAME( 0x02, 0x02, "IN2 2" ) |
| 190 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 191 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 192 | PORT_DIPNAME( 0x04, 0x04, "IN2 3" ) |
| 193 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 194 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 195 | PORT_DIPNAME( 0x08, 0x08, "IN2 4" ) |
| 196 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 197 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 198 | PORT_DIPNAME( 0x10, 0x10, "IN2 5" ) |
| 199 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 200 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 201 | PORT_DIPNAME( 0x20, 0x20, "IN2 6" ) |
| 202 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 203 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 204 | PORT_DIPNAME( 0x40, 0x40, "IN2 7" ) |
| 205 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 206 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 207 | PORT_DIPNAME( 0x80, 0x80, "IN2 8" ) |
| 208 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 209 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 210 | INPUT_PORTS_END |
| 211 | |
| 212 | |
| 213 | /*************************************************************************** |
| 214 | |
| 215 | Machine Config |
| 216 | |
| 217 | ***************************************************************************/ |
| 218 | |
| 219 | static MACHINE_CONFIG_START( meyc8088, meyc8088_state ) |
| 220 | |
| 221 | /* basic machine hardware */ |
| 222 | MCFG_CPU_ADD("maincpu", I8088, 5000000) |
| 223 | MCFG_CPU_PROGRAM_MAP(meyc8088_map) |
| 224 | |
| 225 | MCFG_I8155_ADD("i8155_0", 5000000, i8155_intf[0]) |
| 226 | MCFG_I8155_ADD("i8155_1", 5000000, i8155_intf[1]) |
| 227 | |
| 228 | /* video hardware */ |
| 229 | MCFG_SCREEN_ADD("screen", RASTER) |
| 230 | MCFG_SCREEN_REFRESH_RATE(60) |
| 231 | MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 232 | MCFG_SCREEN_SIZE(512,512) |
| 233 | MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 512-1) |
| 234 | MCFG_SCREEN_UPDATE_STATIC(meyc8088) |
| 235 | |
| 236 | MCFG_PALETTE_LENGTH(8) |
| 237 | |
| 238 | MACHINE_CONFIG_END |
| 239 | |
| 240 | |
| 241 | ROM_START( gldarrow ) |
| 242 | ROM_REGION( 0x100000, "maincpu", 0 ) |
| 243 | ROM_LOAD( "3.bin", 0x0fa000, 0x002000, CRC(a4acc6df) SHA1(b25f2cf8154932834100615e2e9c44ef47a15fea) ) |
| 244 | ROM_LOAD( "2.bin", 0x0fc000, 0x002000, CRC(595e380d) SHA1(6f8e58f646106d33cb651d97ca6a1133f7b05373) ) |
| 245 | ROM_LOAD( "1.bin", 0x0fe000, 0x002000, CRC(71bd0e39) SHA1(15345f5726cd33ecb1b2da05f2852b6cc3ac7747) ) |
| 246 | ROM_END |
| 247 | |
| 248 | |
| 249 | GAME( 1984, gldarrow, 0, meyc8088, gldarrow, 0, ROT0, "Meyco Games, Inc.", "Golden Arrow", GAME_NOT_WORKING | GAME_NO_SOUND ) |
src/mame/drivers/bfm_sc4.c
| r14982 | r14983 | |
| 22648 | 22648 | // 95008423.bin sc4goldw Golden Winner (Bellfruit) (Scorpion 4) |
| 22649 | 22649 | // Champion Chips (Bellfruit) |
| 22650 | 22650 | ROM_LOAD( "95008558.bin", 0x0000, 0x100000, CRC(6c032de9) SHA1(3aed801f8b6f2d62fffa03054afd8ff1c3ff3ac3) ) |
| 22651 | | // Clever Clogs (Mazooma) |
| 22652 | | ROM_LOAD( "95008361.bin", 0x0000, 0x0ff54f, CRC(d1cc7b58) SHA1(32328e0e56bbf65e91e32de8802edce38f0abc65) ) |
| 22653 | 22651 | // Costa Del Dosh (Bellfruit) |
| 22654 | 22652 | ROM_LOAD( "95008420.bin", 0x0000, 0x100000, CRC(cce5f09a) SHA1(8b1f30eb1c48a3e3c6c403f28e97918ddac51033) ) |
| 22655 | 22653 | // Deal Or No Deal Red Hot (Bellfruit) |
| r14982 | r14983 | |
| 22754 | 22752 | GAME( 200?, sc4pstato ,sc4pstat, sc4, sc4, sc4, ROT0, "QPS","Paystation (V042) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22755 | 22753 | GAME( 200?, sc4pstatq ,sc4pstat, sc4, sc4, sc4, ROT0, "QPS","Paystation (V042) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22756 | 22754 | |
| 22755 | const stepper_interface* sc4cvani_reel_configs[6] = |
| 22756 | { |
| 22757 | &starpoint_interface_48step, |
| 22758 | &starpoint_interface_48step, |
| 22759 | &starpoint_interface_48step, |
| 22760 | 0, |
| 22761 | &starpoint_interface_200step_reel, |
| 22762 | 0, |
| 22763 | }; |
| 22757 | 22764 | |
| 22765 | static DRIVER_INIT( sc4cvani ) |
| 22766 | { |
| 22767 | sc4_state *state = machine.driver_data<sc4_state>(); |
| 22768 | DRIVER_INIT_CALL( sc4 ); |
| 22769 | state->m_reel_setup = sc4cvani_reel_configs; |
| 22770 | } |
| 22771 | |
| 22758 | 22772 | // PR2052 CASHLVANIA VANIASND CASH'!'VANIA |
| 22759 | | GAME( 200?, sc4cvani ,0, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22760 | | GAME( 200?, sc4cvania ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22761 | | GAME( 200?, sc4cvanib ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL ) |
| 22762 | | GAME( 200?, sc4cvanic ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL ) |
| 22763 | | GAME( 200?, sc4cvanid ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 5)", GAME_IS_SKELETON_MECHANICAL ) |
| 22764 | | GAME( 200?, sc4cvanie ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 6)", GAME_IS_SKELETON_MECHANICAL ) |
| 22765 | | GAME( 200?, sc4cvanif ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 7)", GAME_IS_SKELETON_MECHANICAL ) |
| 22766 | | GAME( 200?, sc4cvanig ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL ) |
| 22767 | | GAME( 200?, sc4cvanih ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 9)", GAME_IS_SKELETON_MECHANICAL ) |
| 22768 | | GAME( 200?, sc4cvanii ,sc4cvani, sc4, sc4, sc4, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 10)", GAME_IS_SKELETON_MECHANICAL ) |
| 22773 | GAME( 200?, sc4cvani ,0, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22774 | GAME( 200?, sc4cvania ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22775 | GAME( 200?, sc4cvanib ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL ) |
| 22776 | GAME( 200?, sc4cvanic ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL ) |
| 22777 | GAME( 200?, sc4cvanid ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 5)", GAME_IS_SKELETON_MECHANICAL ) |
| 22778 | GAME( 200?, sc4cvanie ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 6)", GAME_IS_SKELETON_MECHANICAL ) |
| 22779 | GAME( 200?, sc4cvanif ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 7)", GAME_IS_SKELETON_MECHANICAL ) |
| 22780 | GAME( 200?, sc4cvanig ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL ) |
| 22781 | GAME( 200?, sc4cvanih ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 9)", GAME_IS_SKELETON_MECHANICAL ) |
| 22782 | GAME( 200?, sc4cvanii ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 10)", GAME_IS_SKELETON_MECHANICAL ) |
| 22769 | 22783 | |
| 22784 | const stepper_interface* sc4cvclb_reel_configs[6] = |
| 22785 | { |
| 22786 | &starpoint_interface_48step, |
| 22787 | &starpoint_interface_48step, |
| 22788 | &starpoint_interface_48step, |
| 22789 | &starpoint_interface_48step, |
| 22790 | 0, |
| 22791 | &starpoint_interface_200step_reel, |
| 22792 | }; |
| 22770 | 22793 | |
| 22794 | static DRIVER_INIT( sc4cvclb ) |
| 22795 | { |
| 22796 | sc4_state *state = machine.driver_data<sc4_state>(); |
| 22797 | DRIVER_INIT_CALL( sc4 ); |
| 22798 | state->m_reel_setup = sc4cvclb_reel_configs; |
| 22799 | } |
| 22800 | |
| 22771 | 22801 | // PRXXXX CLUBCASHLVANIA V1.0 CLUBVANIASND CLUB CASH!VANIA |
| 22772 | | GAME( 200?, sc4cvclb ,0, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22773 | | GAME( 200?, sc4cvclba ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22774 | | GAME( 200?, sc4cvclbc ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL ) |
| 22775 | | GAME( 200?, sc4cvclbd ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL ) |
| 22802 | GAME( 200?, sc4cvclb ,0, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22803 | GAME( 200?, sc4cvclba ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22804 | GAME( 200?, sc4cvclbc ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL ) |
| 22805 | GAME( 200?, sc4cvclbd ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V1.0) (Qps) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL ) |
| 22776 | 22806 | // PRXXXX CLUBCASHLVANIA V2.0 CLUBVANIASND CLUB CASH!VANIA |
| 22777 | | GAME( 200?, sc4cvclbb ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V2.0) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22778 | | GAME( 200?, sc4cvclbe ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V2.0) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22807 | GAME( 200?, sc4cvclbb ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V2.0) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22808 | GAME( 200?, sc4cvclbe ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V2.0) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22779 | 22809 | // PRXXXX CLUBCASHLVANIA 411 CLUBVANIASND CLUB CASH!VANIA |
| 22780 | | GAME( 200?, sc4cvclbf ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V411) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22781 | | GAME( 200?, sc4cvclbg ,sc4cvclb, sc4, sc4, sc4, ROT0, "QPS","Cashvania Club (V411) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22810 | GAME( 200?, sc4cvclbf ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V411) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
| 22811 | GAME( 200?, sc4cvclbg ,sc4cvclb, sc4, sc4, sc4cvclb, ROT0, "QPS","Cashvania Club (V411) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) |
| 22782 | 22812 | |
| 22783 | 22813 | // PR6912 SOUTH PARK PR6912 SOUTH PARK SOUNDS11 SOUTH PARK |
| 22784 | 22814 | GAME( 200?, sc4spark ,0, sc4, sc4, sc4, ROT0, "BFM","South Park (BFM) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) |
src/mame/drivers/cps3.c
| r14982 | r14983 | |
| 54 | 54 | From late 1996 to 1999 Capcom developed another hardware platform to rival the CPS2 System and called |
| 55 | 55 | it CP SYSTEM III. Only 6 games were produced. Here's a detailed table of all known releases until now: |
| 56 | 56 | |
| 57 | | |--------------- Cart ----------------| |--------------- CD ---------------| |
| 58 | | Game Year Part # Label Region CD NO CD Part # Catalog # Label Revision |
| 59 | | --------------------------------------------------- ---- --------- --------- ------ -- ----- ---------- ----------- ----------- -------- |
| 60 | | Warzard 1996 WZD96a00F CP300000G JAPAN X CAP-WZD000 CAP-WZD-3 CAP-WZD-3 961023 |
| 61 | | Warzard WZD96a00F CP300000G JAPAN X CAP-WZD000 CAP-WZD-5 CAP-WZD-5 961121 |
| 62 | | Red Earth WZD96aA0F CP3000B0G EUROPE X CAP-WZD0A0 CAP-WZD-3 CAP-WZD-3 961023 |
| 63 | | Red Earth WZD96aA0F CP3000B0G EUROPE X CAP-WZD0A0 CAP-WZD-5 CAP-WZD-5 961121 |
| 64 | | Red Earth WZD96aA0F CP3000H0G MEXICO* X CAP-WZD0A0 CAP-WZD-3 CAP-WZD-3 961023 |
| 65 | | Red Earth WZD96aA0F CP3000H0G MEXICO* X CAP-WZD0A0 CAP-WZD-5 CAP-WZD-5 961121 |
| 66 | | Red Earth WZD96aA0F CP3000U0G USA* X CAP-WZD0A0 CAP-WZD-3 CAP-WZD-3 961023 |
| 67 | | Red Earth WZD96aA0F CP3000U0G USA* X CAP-WZD0A0 CAP-WZD-5 CAP-WZD-5 961121 |
| 57 | |--------------- Cart ----------------| |-------------- CD ---------------| |
| 58 | Game Year Part # Label Region CD NO CD Part # Catalog # Label Revision |
| 59 | --------------------------------------------------- ---- --------- --------- ------ -- ----- ---------- ---------- ----------- -------- |
| 60 | Warzard 1996 WZD96a00F CP300000G JAPAN X CAP-WZD000 CAP-WZD-3 CAP-WZD-3 961023 |
| 61 | Warzard WZD96a00F CP300000G JAPAN X CAP-WZD000 CAP-WZD-5 CAP-WZD-5 961121 |
| 62 | Red Earth WZD96aA0F CP3000B0G EUROPE X CAP-WZD0A0 CAP-WZD-3 CAP-WZD-3 961023 |
| 63 | Red Earth WZD96aA0F CP3000B0G EUROPE X CAP-WZD0A0 CAP-WZD-5 CAP-WZD-5 961121 |
| 64 | Red Earth WZD96aA0F CP3000H0G MEXICO* X CAP-WZD0A0 CAP-WZD-3 CAP-WZD-3 961023 |
| 65 | Red Earth WZD96aA0F CP3000H0G MEXICO* X CAP-WZD0A0 CAP-WZD-5 CAP-WZD-5 961121 |
| 66 | Red Earth WZD96aA0F CP3000U0G USA* X CAP-WZD0A0 CAP-WZD-3 CAP-WZD-3 961023 |
| 67 | Red Earth WZD96aA0F CP3000U0G USA* X CAP-WZD0A0 CAP-WZD-5 CAP-WZD-5 961121 |
| 68 | 68 | |
| 69 | | Street Fighter III: New Generation 1997 SF397200F CP300000G JAPAN X CAP-SF3000 CAP-SF3-3 CAP-SF3-3 970204 |
| 70 | | Street Fighter III: New Generation SF397200F CP300000G JAPAN X CAP-SF3000 ? ? 970312* |
| 71 | | Street Fighter III: New Generation SF397200F CP300000G JAPAN X CAP-SF3000 ? ? 970403* |
| 72 | | Street Fighter III: New Generation SF3972A0F CP3000C0G ASIA X 970204 |
| 73 | | Street Fighter III: New Generation SF3972A0F CP3000C0G ASIA X 970312* |
| 74 | | Street Fighter III: New Generation SF3972A0F CP3000C0G ASIA X 970403* |
| 75 | | Street Fighter III: New Generation SF3972A0F CP3000H0G MEXICO X CAP-SF30A0 CAP-SF3-3 CAP-SF3-3 970204 |
| 76 | | Street Fighter III: New Generation SF3972A0F CP3000H0G MEXICO X CAP-SF30A0 ? ? 970312* |
| 77 | | Street Fighter III: New Generation SF3972A0F CP3000H0G MEXICO X CAP-SF30A0 ? ? 970403* |
| 78 | | Street Fighter III: New Generation SF3972A0F CP3000U0G USA X CAP-SF30A0 CAP-SF3-3 CAP-SF3-3 970204 |
| 79 | | Street Fighter III: New Generation SF3972A0F CP3000U0G USA X CAP-SF30A0 ? ? 970312* |
| 80 | | Street Fighter III: New Generation SF3972A0F CP3000U0G USA X CAP-SF30A0 ? ? 970403* |
| 69 | Street Fighter III: New Generation 1997 SF397200F CP300000G JAPAN X CAP-SF3000 CAP-SF3-3 CAP-SF3-3 970204 |
| 70 | Street Fighter III: New Generation SF397200F CP300000G JAPAN X CAP-SF3000 ? ? 970312* |
| 71 | Street Fighter III: New Generation SF397200F CP300000G JAPAN X CAP-SF3000 ? ? 970403* |
| 72 | Street Fighter III: New Generation SF3972A0F CP3000C0G ASIA X 970204 |
| 73 | Street Fighter III: New Generation SF3972A0F CP3000C0G ASIA X 970312* |
| 74 | Street Fighter III: New Generation SF3972A0F CP3000C0G ASIA X 970403* |
| 75 | Street Fighter III: New Generation SF3972A0F CP3000H0G MEXICO X CAP-SF30A0 CAP-SF3-3 CAP-SF3-3 970204 |
| 76 | Street Fighter III: New Generation SF3972A0F CP3000H0G MEXICO X CAP-SF30A0 ? ? 970312* |
| 77 | Street Fighter III: New Generation SF3972A0F CP3000H0G MEXICO X CAP-SF30A0 ? ? 970403* |
| 78 | Street Fighter III: New Generation SF3972A0F CP3000U0G USA X CAP-SF30A0 CAP-SF3-3 CAP-SF3-3 970204 |
| 79 | Street Fighter III: New Generation SF3972A0F CP3000U0G USA X CAP-SF30A0 ? ? 970312* |
| 80 | Street Fighter III: New Generation SF3972A0F CP3000U0G USA X CAP-SF30A0 ? ? 970403* |
| 81 | 81 | |
| 82 | | Street Fighter III 2nd Impact: Giant Attack 1997 3GA97a00F CP300000G JAPAN X CAP-3GA000 CAP-3GA000 CAP-3GA-1 970930 |
| 83 | | Street Fighter III 2nd Impact: Giant Attack 3GA97a00F CP300000G JAPAN X CAP-3GA000 ? ? 971016* |
| 84 | | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000C0G ASIA X 970930 |
| 85 | | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000C0G ASIA X 971016* |
| 86 | | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000U0G USA X CAP-3GA0A0 CAP-3GA000 CAP-3GA-1 970930 |
| 87 | | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000U0G USA X CAP-3GA0A0 ? ? 971016* |
| 82 | Street Fighter III 2nd Impact: Giant Attack 1997 3GA97a00F CP300000G JAPAN X CAP-3GA000 CAP-3GA000 CAP-3GA-1 970930 |
| 83 | Street Fighter III 2nd Impact: Giant Attack 3GA97a00F CP300000G JAPAN X CAP-3GA000 ? ? 971016* |
| 84 | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000C0G ASIA X 970930 |
| 85 | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000C0G ASIA X 971016* |
| 86 | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000U0G USA X CAP-3GA0A0 CAP-3GA000 CAP-3GA-1 970930 |
| 87 | Street Fighter III 2nd Impact: Giant Attack 3GA97aA0F CP3000U0G USA X CAP-3GA0A0 ? ? 971016* |
| 88 | 88 | |
| 89 | | JoJo no Kimyouna Bouken 1998 JJK98c00F CP300000G JAPAN X CAP-JJK000 CAP-JJK000 CAP-JJK-140 981202 |
| 90 | | JoJo no Kimyouna Bouken JJK98c00F CP300000G JAPAN X CAP-JJK000 CAP-JJK-2 CAP-JJK-160 990108 |
| 91 | | JoJo no Kimyouna Bouken JJK98c00F CP300000G JAPAN X CAP-JJK000 CAP-JJK-3 CAP-JJK-161 990128 |
| 92 | | JoJo's Venture JJK98cA0F CP3000C0G ASIA X 981202 |
| 93 | | JoJo's Venture JJK98cA0F CP3000C0G ASIA X 990108 |
| 94 | | JoJo's Venture JJK98cA0F CP3000C0G ASIA X 990128 |
| 95 | | JoJo's Venture JJK98cA0F CP3000U0G USA X CAP-JJK0A0 CAP-JJK000 CAP-JJK-140 981202 |
| 96 | | JoJo's Venture JJK98cA0F CP3000U0G USA X CAP-JJK0A0 CAP-JJK-2 CAP-JJK-160 990108 |
| 97 | | JoJo's Venture JJK98cA0F CP3000U0G USA X CAP-JJK0A0 CAP-JJK-3 CAP-JJK-161 990128 |
| 89 | JoJo no Kimyouna Bouken 1998 JJK98c00F CP300000G JAPAN X CAP-JJK000 CAP-JJK000 CAP-JJK-140 981202 |
| 90 | JoJo no Kimyouna Bouken JJK98c00F CP300000G JAPAN X CAP-JJK000 CAP-JJK-2 CAP-JJK-160 990108 |
| 91 | JoJo no Kimyouna Bouken JJK98c00F CP300000G JAPAN X CAP-JJK000 CAP-JJK-3 CAP-JJK-161 990128 |
| 92 | JoJo's Venture JJK98cA0F CP3000C0G ASIA X 981202 |
| 93 | JoJo's Venture JJK98cA0F CP3000C0G ASIA X 990108 |
| 94 | JoJo's Venture JJK98cA0F CP3000C0G ASIA X 990128 |
| 95 | JoJo's Venture JJK98cA0F CP3000U0G USA X CAP-JJK0A0 CAP-JJK000 CAP-JJK-140 981202 |
| 96 | JoJo's Venture JJK98cA0F CP3000U0G USA X CAP-JJK0A0 CAP-JJK-2 CAP-JJK-160 990108 |
| 97 | JoJo's Venture JJK98cA0F CP3000U0G USA X CAP-JJK0A0 CAP-JJK-3 CAP-JJK-161 990128 |
| 98 | 98 | |
| 99 | | Street Fighter III 3rd Strike: Fight for the Future 1999 33S99400F CP300000G JAPAN* X CAP-33S000 CAP-33S-1 CAP-33S-1 990512 |
| 100 | | Street Fighter III 3rd Strike: Fight for the Future 33S99400F CP300000G JAPAN* X CAP-33S000 CAP-33S-2 CAP-33S-2 990608 |
| 101 | | Street Fighter III 3rd Strike: Fight for the Future 33S99400F CP300000G JAPAN X 990512 |
| 102 | | Street Fighter III 3rd Strike: Fight for the Future 33S99400F CP300000G JAPAN X 990608 |
| 103 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000B0G EUROPE X CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 104 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000B0G EUROPE X CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 105 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 106 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 107 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X 990512 |
| 108 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X 990608 |
| 109 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000H0G MEXICO* ? CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 110 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000H0G MEXICO* ? CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 111 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000U0G USA X CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 112 | | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000U0G USA X CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 99 | Street Fighter III 3rd Strike: Fight for the Future 1999 33S99400F CP300000G JAPAN* X CAP-33S000 CAP-33S-1 CAP-33S-1 990512 |
| 100 | Street Fighter III 3rd Strike: Fight for the Future 33S99400F CP300000G JAPAN* X CAP-33S000 CAP-33S-2 CAP-33S-2 990608 |
| 101 | Street Fighter III 3rd Strike: Fight for the Future 33S99400F CP300000G JAPAN X 990512 |
| 102 | Street Fighter III 3rd Strike: Fight for the Future 33S99400F CP300000G JAPAN X 990608 |
| 103 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000B0G EUROPE X CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 104 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000B0G EUROPE X CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 105 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 106 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 107 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X 990512 |
| 108 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000C0G ASIA* X 990608 |
| 109 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000H0G MEXICO* ? CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 110 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000H0G MEXICO* ? CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 111 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000U0G USA X CAP-33S0A0 CAP-33S-1 CAP-33S-1 990512 |
| 112 | Street Fighter III 3rd Strike: Fight for the Future 33S994A0F CP3000U0G USA X CAP-33S0A0 CAP-33S-2 CAP-33S-2 990608 |
| 113 | 113 | |
| 114 | | JoJo no Kimyouna Bouken: Miraie no Isan 1999 JJM99900F CP300000G JAPAN X CAP-JJM000 CAP-JJM-0 CAP-JJM-110 990913 |
| 115 | | JoJo no Kimyouna Bouken: Miraie no Isan JJM99900F CP300000G JAPAN X CAP-JJM000 CAP-JJM-120 CAP-JJM-120 990927 |
| 116 | | JoJo no Kimyouna Bouken: Miraie no Isan JJM99900F CP300000G JAPAN X 990913 |
| 117 | | JoJo no Kimyouna Bouken: Miraie no Isan JJM99900F CP300000G JAPAN X 990927 |
| 118 | | JoJo's Bizarre Adventure JJM999A0F CP3000B0G EUROPE X 990913 |
| 119 | | JoJo's Bizarre Adventure JJM999A0F CP3000B0G EUROPE X 990927 |
| 114 | JoJo no Kimyouna Bouken: Miraie no Isan 1999 JJM99900F CP300000G JAPAN X CAP-JJM000 CAP-JJM-0 CAP-JJM-110 990913 |
| 115 | JoJo no Kimyouna Bouken: Miraie no Isan JJM99900F CP300000G JAPAN X CAP-JJM000 CAP-JJM-1 CAP-JJM-120 990927 |
| 116 | JoJo no Kimyouna Bouken: Miraie no Isan JJM99900F CP300000G JAPAN X 990913 |
| 117 | JoJo no Kimyouna Bouken: Miraie no Isan JJM99900F CP300000G JAPAN X 990927 |
| 118 | JoJo's Bizarre Adventure JJM999A0F CP3000B0G EUROPE X 990913 |
| 119 | JoJo's Bizarre Adventure JJM999A0F CP3000B0G EUROPE X 990927 |
| 120 | 120 | |
| 121 | 121 | * NOT DUMPED but known to exist |
| 122 | 122 | |
| r14982 | r14983 | |
| 2961 | 2961 | ROM_REGION( 0x200000, "simm5.7", 0 ) ROM_LOAD( "jojoba-simm5.7", 0x00000, 0x200000, CRC(8c8be520) SHA1(c461f3f76a83592b36b29afb316679a7c8972404) ) \ |
| 2962 | 2962 | |
| 2963 | 2963 | #define JOJOBA_990927_CDROM \ |
| 2964 | | DISK_REGION( "cdrom" ) DISK_IMAGE_READONLY( "cap-jjm-120", 0, SHA1(8628d3fa555fbd5f4121082e925c1834b76c5e65) ) \ |
| 2964 | DISK_REGION( "cdrom" ) DISK_IMAGE_READONLY( "cap-jjm-1", 0, SHA1(8628d3fa555fbd5f4121082e925c1834b76c5e65) ) \ |
| 2965 | 2965 | |
| 2966 | 2966 | #define JOJOBA_990913_FLASH \ |
| 2967 | 2967 | ROM_REGION( 0x200000, "simm1.0", 0 ) ROM_LOAD( "jojoba(__990913)-simm1.0", 0x00000, 0x200000, CRC(76976231) SHA1(90adde7e5983ec6a4e02789d5cefe9e85c9c52d5) ) \ |
src/emu/device.h
| r14982 | r14983 | |
| 184 | 184 | astring &subtag(astring &dest, const char *tag) const; |
| 185 | 185 | astring &siblingtag(astring &dest, const char *tag) const { return (this != NULL && m_owner != NULL) ? m_owner->subtag(dest, tag) : dest.cpy(tag); } |
| 186 | 186 | memory_region *memregion(const char *tag) const; |
| 187 | memory_share *memshare(const char *tag) const; |
| 187 | 188 | memory_bank *membank(const char *tag) const; |
| 188 | 189 | device_t *subdevice(const char *tag) const; |
| 189 | 190 | device_t *siblingdevice(const char *tag) const; |
| r14982 | r14983 | |
| 230 | 231 | protected: |
| 231 | 232 | // internal helper classes (defined below) |
| 232 | 233 | class finder_base; |
| 234 | template<class _ObjectClass> class object_finder_base; |
| 233 | 235 | template<class _DeviceClass, bool _Required> class device_finder; |
| 234 | 236 | template<class _DeviceClass> class optional_device; |
| 235 | 237 | template<class _DeviceClass> class required_device; |
| 238 | template<bool _Required> class memory_region_finder; |
| 239 | class optional_memory_region; |
| 240 | class required_memory_region; |
| 241 | template<bool _Required> class memory_bank_finder; |
| 242 | class optional_memory_bank; |
| 243 | class required_memory_bank; |
| 236 | 244 | template<typename _PointerType, bool _Required> class shared_ptr_finder; |
| 237 | 245 | template<typename _PointerType> class optional_shared_ptr; |
| 238 | 246 | template<typename _PointerType> class required_shared_ptr; |
| r14982 | r14983 | |
| 337 | 345 | protected: |
| 338 | 346 | // helpers |
| 339 | 347 | void *find_memory(UINT8 width, size_t &bytes, bool required); |
| 348 | bool report_missing(bool found, const char *objname, bool required); |
| 340 | 349 | |
| 341 | 350 | // internal state |
| 342 | 351 | finder_base *m_next; |
| r14982 | r14983 | |
| 345 | 354 | }; |
| 346 | 355 | |
| 347 | 356 | |
| 348 | | // ======================> device_finder |
| 357 | // ======================> object_finder_base |
| 349 | 358 | |
| 350 | | // device finder template |
| 351 | | template<class _DeviceClass, bool _Required> |
| 352 | | class device_t::device_finder : public device_t::finder_base |
| 359 | // helper class to find objects of a particular type |
| 360 | template<class _ObjectClass> |
| 361 | class device_t::object_finder_base : public device_t::finder_base |
| 353 | 362 | { |
| 354 | 363 | public: |
| 355 | 364 | // construction/destruction |
| 356 | | device_finder(device_t &base, const char *tag) |
| 365 | object_finder_base(device_t &base, const char *tag) |
| 357 | 366 | : finder_base(base, tag), |
| 358 | | m_target(0) { } |
| 367 | m_target(NULL) { } |
| 359 | 368 | |
| 360 | 369 | // operators to make use transparent |
| 361 | | operator _DeviceClass *() { return m_target; } |
| 362 | | operator _DeviceClass *() const { return m_target; } |
| 363 | | _DeviceClass *operator->() { assert(m_target != NULL); return m_target; } |
| 370 | operator _ObjectClass *() const { return m_target; } |
| 371 | _ObjectClass *operator->() const { assert(m_target != NULL); return m_target; } |
| 364 | 372 | |
| 365 | 373 | // getter for explicit fetching |
| 366 | | _DeviceClass *target() const { return m_target; } |
| 374 | _ObjectClass *target() const { return m_target; } |
| 367 | 375 | |
| 368 | 376 | // setter for setting the object |
| 369 | | void set_target(_DeviceClass *target) { m_target = target; } |
| 377 | void set_target(_ObjectClass *target) { m_target = target; } |
| 370 | 378 | |
| 379 | protected: |
| 380 | // internal state |
| 381 | _ObjectClass *m_target; |
| 382 | }; |
| 383 | |
| 384 | |
| 385 | // ======================> device_finder |
| 386 | |
| 387 | // device finder template |
| 388 | template<class _DeviceClass, bool _Required> |
| 389 | class device_t::device_finder : public device_t::object_finder_base<_DeviceClass> |
| 390 | { |
| 391 | public: |
| 392 | // construction/destruction |
| 393 | device_finder(device_t &base, const char *tag) |
| 394 | : object_finder_base<_DeviceClass>(base, tag) { } |
| 395 | |
| 371 | 396 | // finder |
| 372 | 397 | virtual bool findit() |
| 373 | 398 | { |
| 374 | | void mame_printf_warning(const char *format, ...) ATTR_PRINTF(1,2); |
| 375 | | void mame_printf_error(const char *format, ...) ATTR_PRINTF(1,2); |
| 376 | | device_t *device = m_base.subdevice(m_tag); |
| 377 | | if (_Required && device == NULL) |
| 378 | | mame_printf_error("Unable to find required device '%s'\n", this->m_tag); |
| 379 | | m_target = dynamic_cast<_DeviceClass *>(device); |
| 380 | | if (device != NULL && m_target == NULL) |
| 381 | | mame_printf_warning("Device '%s' found but is of the incorrect type\n", m_tag); |
| 382 | | return (!_Required || m_target != NULL); |
| 399 | device_t *device = this->m_base.subdevice(this->m_tag); |
| 400 | this->m_target = dynamic_cast<_DeviceClass *>(device); |
| 401 | if (device != NULL && this->m_target == NULL) |
| 402 | { |
| 403 | void mame_printf_warning(const char *format, ...) ATTR_PRINTF(1,2); |
| 404 | mame_printf_warning("Device '%s' found but is of incorrect type\n", this->m_tag); |
| 405 | } |
| 406 | return this->report_missing(this->m_target != NULL, "device", _Required); |
| 383 | 407 | } |
| 384 | | |
| 385 | | protected: |
| 386 | | // internal state |
| 387 | | _DeviceClass *m_target; |
| 388 | 408 | }; |
| 389 | 409 | |
| 390 | 410 | // optional device finder |
| r14982 | r14983 | |
| 404 | 424 | }; |
| 405 | 425 | |
| 406 | 426 | |
| 427 | // ======================> memregion_finder |
| 428 | |
| 429 | // device finder template |
| 430 | template<bool _Required> |
| 431 | class device_t::memory_region_finder : public device_t::object_finder_base<memory_region> |
| 432 | { |
| 433 | public: |
| 434 | // construction/destruction |
| 435 | memory_region_finder(device_t &base, const char *tag) |
| 436 | : object_finder_base(base, tag) { } |
| 437 | |
| 438 | // finder |
| 439 | virtual bool findit() |
| 440 | { |
| 441 | m_target = m_base.memregion(m_tag); |
| 442 | return this->report_missing(m_target != NULL, "memory region", _Required); |
| 443 | } |
| 444 | }; |
| 445 | |
| 446 | // optional device finder |
| 447 | class device_t::optional_memory_region : public device_t::memory_region_finder<false> |
| 448 | { |
| 449 | public: |
| 450 | optional_memory_region(device_t &base, const char *tag) : memory_region_finder<false>(base, tag) { } |
| 451 | }; |
| 452 | |
| 453 | // required devices are similar but throw an error if they are not found |
| 454 | class device_t::required_memory_region : public device_t::memory_region_finder<true> |
| 455 | { |
| 456 | public: |
| 457 | required_memory_region(device_t &base, const char *tag) : memory_region_finder<true>(base, tag) { } |
| 458 | }; |
| 459 | |
| 460 | |
| 461 | // ======================> memory_bank_finder |
| 462 | |
| 463 | // device finder template |
| 464 | template<bool _Required> |
| 465 | class device_t::memory_bank_finder : public device_t::object_finder_base<memory_bank> |
| 466 | { |
| 467 | public: |
| 468 | // construction/destruction |
| 469 | memory_bank_finder(device_t &base, const char *tag) |
| 470 | : object_finder_base(base, tag) { } |
| 471 | |
| 472 | // finder |
| 473 | virtual bool findit() |
| 474 | { |
| 475 | m_target = m_base.membank(m_tag); |
| 476 | return this->report_missing(m_target != NULL, "memory bank", _Required); |
| 477 | } |
| 478 | }; |
| 479 | |
| 480 | // optional device finder |
| 481 | class device_t::optional_memory_bank : public device_t::memory_bank_finder<false> |
| 482 | { |
| 483 | public: |
| 484 | optional_memory_bank(device_t &base, const char *tag) : memory_bank_finder<false>(base, tag) { } |
| 485 | }; |
| 486 | |
| 487 | // required devices are similar but throw an error if they are not found |
| 488 | class device_t::required_memory_bank : public device_t::memory_bank_finder<true> |
| 489 | { |
| 490 | public: |
| 491 | required_memory_bank(device_t &base, const char *tag) : memory_bank_finder<true>(base, tag) { } |
| 492 | }; |
| 493 | |
| 494 | |
| 407 | 495 | // ======================> shared_ptr_finder |
| 408 | 496 | |
| 409 | 497 | // shared pointer finder template |
| 410 | 498 | template<typename _PointerType, bool _Required> |
| 411 | | class device_t::shared_ptr_finder : public device_t::finder_base |
| 499 | class device_t::shared_ptr_finder : public device_t::object_finder_base<_PointerType> |
| 412 | 500 | { |
| 413 | 501 | public: |
| 414 | 502 | // construction/destruction |
| 415 | 503 | shared_ptr_finder(device_t &base, const char *tag, UINT8 width = sizeof(_PointerType) * 8) |
| 416 | | : finder_base(base, tag), |
| 417 | | m_target(0), |
| 504 | : object_finder_base<_PointerType>(base, tag), |
| 418 | 505 | m_bytes(0), |
| 419 | 506 | m_allocated(false), |
| 420 | 507 | m_width(width) { } |
| 421 | 508 | |
| 422 | | virtual ~shared_ptr_finder() { if (m_allocated) global_free(m_target); } |
| 509 | virtual ~shared_ptr_finder() { if (m_allocated) global_free(this->m_target); } |
| 423 | 510 | |
| 424 | 511 | // operators to make use transparent |
| 425 | | operator _PointerType *() const { return m_target; } |
| 426 | | _PointerType operator[](int index) const { return m_target[index]; } |
| 427 | | _PointerType &operator[](int index) { return m_target[index]; } |
| 428 | | _PointerType *operator->() { return m_target; } |
| 512 | _PointerType operator[](int index) const { return this->m_target[index]; } |
| 513 | _PointerType &operator[](int index) { return this->m_target[index]; } |
| 429 | 514 | |
| 430 | 515 | // getter for explicit fetching |
| 431 | | _PointerType *target() const { return m_target; } |
| 432 | 516 | UINT32 bytes() const { return m_bytes; } |
| 433 | 517 | |
| 434 | 518 | // setter for setting the object |
| 435 | | void set_target(_PointerType *target, size_t bytes) { m_target = target; m_bytes = bytes; } |
| 519 | void set_target(_PointerType *target, size_t bytes) { this->m_target = target; m_bytes = bytes; } |
| 436 | 520 | |
| 437 | 521 | // dynamic allocation of a shared pointer |
| 438 | 522 | void allocate(UINT32 entries) |
| 439 | 523 | { |
| 440 | 524 | assert(!m_allocated); |
| 441 | 525 | m_allocated = true; |
| 442 | | m_target = global_alloc_array_clear(_PointerType, entries); |
| 526 | this->m_target = global_alloc_array_clear(_PointerType, entries); |
| 443 | 527 | m_bytes = entries * sizeof(_PointerType); |
| 444 | | m_base.save_pointer(m_target, m_tag, entries); |
| 528 | this->m_base.save_pointer(this->m_target, this->m_tag, entries); |
| 445 | 529 | } |
| 446 | 530 | |
| 447 | 531 | // finder |
| 448 | | virtual bool findit() { m_target = reinterpret_cast<_PointerType *>(find_memory(m_width, m_bytes, _Required)); return (!_Required || m_target != NULL); } |
| 532 | virtual bool findit() |
| 533 | { |
| 534 | this->m_target = reinterpret_cast<_PointerType *>(this->find_memory(m_width, m_bytes, _Required)); |
| 535 | return this->report_missing(this->m_target != NULL, "shared pointer", _Required); |
| 536 | } |
| 449 | 537 | |
| 450 | 538 | protected: |
| 451 | 539 | // internal state |
| 452 | | _PointerType *m_target; |
| 453 | 540 | size_t m_bytes; |
| 454 | 541 | bool m_allocated; |
| 455 | 542 | UINT8 m_width; |