src/mame/drivers/system24.c
| r1366 | r1367 | |
| 1 | | /* |
| 2 | | * Sega System 24 |
| 3 | | * |
| 4 | | * Kudos to Charles MacDonald (http://cgfm2.emuviews.com) for his |
| 5 | | * very useful research |
| 6 | | * |
| 7 | | * 3 Player controls for Gain Ground added by 'Unknown' |
| 8 | | */ |
| 9 | | |
| 10 | | /* Missing: |
| 11 | | - linescroll in special modes (qgh title, mahmajn2/qrouka attract mode) |
| 12 | | - screen flipping (mix register 13 & 2) |
| 13 | | */ |
| 14 | | |
| 15 | | /* |
| 16 | | Sega System24 Overview |
| 17 | | Sega, 1987-1994 |
| 18 | | |
| 19 | | PCB Layout |
| 20 | | ---------- |
| 21 | | |
| 22 | | Note: The differences in the revisions is just the use of different sized RAMs |
| 23 | | and the quantities of RAM used. |
| 24 | | |
| 25 | | (1st Revision) |
| 26 | | 837-6442 SYSTEM 24 (C)SEGA 1987 |
| 27 | | |-------------------------------------------------------------------------------| |
| 28 | | | YM2151 DSW1 EPRxxxxx.IC1 --------------------------| TMM41464-10 | |
| 29 | | | DSW2 EPRxxxxx.IC2 |-------------------------- TMM41464-10 | |
| 30 | | | CN2 TMM41464-10 | |
| 31 | | | 68000 |---------| TMM41464-10 | |
| 32 | | | |---------| |--------------| | 315-5295| TMM41464-10 | |
| 33 | | | | 315-5296| |HITACHI FD1094| |(QFP100) | TMM41464-10 | |
| 34 | | |-| |(QFP100) | |317-0xxx-0xx | | | TMM41464-10 | |
| 35 | | | | | |--------------| |---------| TMM41464-10 | |
| 36 | | |-| |---------| MB81C466-10 | |
| 37 | | | MB81C466-10 | |
| 38 | | | |---------| MB81C466-10 | |
| 39 | | |S |---------| | 315-5295| MB81C466-10 | |
| 40 | | |E 20MHz | 315-5295| |(QFP100) | MB81C466-10 | |
| 41 | | |G |(QFP100) | | | MB81C466-10 | |
| 42 | | |A | | |---------| MB81C466-10 | |
| 43 | | | |---------| MB81C466-10 | |
| 44 | | |5 |---------| | |
| 45 | | |6 |---------| |---------| | 315-5293| | |
| 46 | | | | 315-5294| | 315-5292| | (QFP160)| | |
| 47 | | | |(QFP100) | | (QFP160)| 32MHz | | | |
| 48 | | | MB81C78A-45 | | | | |---------| | |
| 49 | | |-| MB81C78A-45 |---------| |---------|M5M4464-12 x4 MB81461-12 x6 | |
| 50 | | | | |
| 51 | | |-| YM3012 | |
| 52 | | | |--------| | |
| 53 | | | |315-5242| HM65256 HM65256 HM65256 M5M4464-12 x4 MB81461-12 x6 | |
| 54 | | | |(QFP44) | HM65256 HM65256 HM65256 | |
| 55 | | |------------|--------|---------------------------------------------------------| |
| 56 | | |
| 57 | | |
| 58 | | (2nd Revision) |
| 59 | | 837-6442-01 SYSTEM 24 (C) SEGA 1987 |
| 60 | | |-------------------------------------------------------------------------------| |
| 61 | | | YM2151 DSW1 EPRxxxxx.IC1 --------------------------| TMM41464-10 | |
| 62 | | | DSW2 EPRxxxxx.IC2 |-------------------------- TMM41464-10 | |
| 63 | | | CN2 TMM41464-10 | |
| 64 | | | 68000 |---------| TMM41464-10 | |
| 65 | | | |---------| |--------------| | 315-5295| TMM41464-10 | |
| 66 | | | | 315-5296| |HITACHI FD1094| |(QFP100) | TMM41464-10 | |
| 67 | | |-| |(QFP100) | |317-0xxx-0xx | | | TMM41464-10 | |
| 68 | | | | | |--------------| |---------| TMM41464-10 | |
| 69 | | |-| |---------| TMM41464-10 | |
| 70 | | | TMM41464-10 | |
| 71 | | | |---------| TMM41464-10 | |
| 72 | | |S |---------| | 315-5295| TMM41464-10 | |
| 73 | | |E 20MHz | 315-5295| |(QFP100) | TMM41464-10 | |
| 74 | | |G |(QFP100) | | | TMM41464-10 | |
| 75 | | |A | | |---------| TMM41464-10 | |
| 76 | | | |---------| TMM41464-10 | |
| 77 | | |5 |---------| | |
| 78 | | |6 |---------| |---------| | 315-5293| | |
| 79 | | | | 315-5294| | 315-5292| | (QFP160)| | |
| 80 | | | |(QFP100) | | (QFP160)| 32MHz | | | |
| 81 | | | MB81C78A-45 | | | | |---------| | |
| 82 | | |-| MB81C78A-45 |---------| |---------|M5M4464-12 x4 MB81461-12 x6 | |
| 83 | | | | |
| 84 | | |-| YM3012 (*) | |
| 85 | | | |--------| | |
| 86 | | | |315-5242| HM65256 HM65256 HM65256 M5M4464-12 x4 MB81461-12 x6 | |
| 87 | | | |(QFP44) | HM65256 HM65256 HM65256 | |
| 88 | | |------------|--------|---------------------------------------------------------| |
| 89 | | (*) Unpopulated Sockets for MB81C4256 x4 |
| 90 | | |
| 91 | | |
| 92 | | (3rd Revision) |
| 93 | | 837-6442-02 SYSTEM 24 (C) SEGA 1987 |
| 94 | | |-------------------------------------------------------------------------------| |
| 95 | | | YM2151 DSW1 EPRxxxxx.IC1 --------------------------| TC514256-10 | |
| 96 | | | DSW2 EPRxxxxx.IC2 |-------------------------- TC514256-10 | |
| 97 | | | CN2 TC514256-10 | |
| 98 | | | 68000 |---------| TC514256-10 | |
| 99 | | | |---------| |--------------| | 315-5295| TC514256-10 | |
| 100 | | | | 315-5296| |HITACHI FD1094| |(QFP100) | TC514256-10 | |
| 101 | | |-| |(QFP100) | |317-0xxx-0xx | | | TC514256-10 | |
| 102 | | | | | |--------------| |---------| TC514256-10 | |
| 103 | | |-| |---------| | |
| 104 | | | | |
| 105 | | | |---------| | |
| 106 | | |S |---------| | 315-5295| | |
| 107 | | |E 20MHz | 315-5295| |(QFP100) | | |
| 108 | | |G |(QFP100) | | | | |
| 109 | | |A | | |---------| | |
| 110 | | | |---------| | |
| 111 | | |5 |---------| | |
| 112 | | |6 |---------| |---------| | 315-5293| | |
| 113 | | | | 315-5294| | 315-5292| | (QFP160)| | |
| 114 | | | |(QFP100) | | (QFP160)| 32MHz | | | |
| 115 | | | MB81C78A-45 | | | | |---------| | |
| 116 | | |-| MB81C78A-45 |---------| |---------| MB81461-12 x6 | |
| 117 | | | | |
| 118 | | |-| YM3012 | |
| 119 | | | |--------| | |
| 120 | | | |315-5242| HM65256 HM65256 TC51832 TC514256-10 x4 MB81461-12 x6 | |
| 121 | | | |(QFP44) | HM65256 HM65256 TC51832 | |
| 122 | | |------------|--------|---------------------------------------------------------| |
| 123 | | Notes: |
| 124 | | 315-5292: Custom Sega IC (QFP160, Tilemap Generator) |
| 125 | | 315-5293: Custom Sega IC (QFP160, Object Generator) |
| 126 | | 315-5294: Custom Sega IC (QFP100, Mixer Chip) |
| 127 | | 315-5295: Custom Sega IC (QFP100, Object Generator) |
| 128 | | 315-5296: Custom Sega IC (QFP100, I/O Chip) |
| 129 | | 315-5242: Custom Sega IC (QFP44, Colour Encoder) |
| 130 | | 68000 clock: 10.000MHz |
| 131 | | Hitachi FD1094 clock: 10.000MHz |
| 132 | | YM2151 clock: 4.000MHz |
| 133 | | VSync: 58Hz |
| 134 | | HSync: 24.33kHz (All System24 games require 24kHz monitor) |
| 135 | | CN2 (Above PCB): Connector for ROM Board (Not used for floppy-based games) |
| 136 | | CN2 (Below PCB): Connector for Floppy Controller Board (Not used for ROM-based games) |
| 137 | | Main PCB Pinout same as System 16 |
| 138 | | Floppy Drive is a standard 1.44 High Density drive, but the controller is custom and |
| 139 | | the floppy disk format is custom. The floppy disk can be read with "Anadisk" |
| 140 | | depending on the PC being used and it's floppy controller. Most clone PC's can't read the |
| 141 | | System 24 floppies even with "Anadisk"[1]. But many brand-name PC's can. It's likely due to the |
| 142 | | propietry nature of the components used in brand-name PC's. Generally the older and crappier |
| 143 | | the PC is, the better chance you have of being able to read the floppy ;-) |
| 144 | | |
| 145 | | [1] Actually, most can _except_ for the Hotrod disks. Those 8K sectors are deadly. |
| 146 | | |
| 147 | | |
| 148 | | Floppy Controller PCB Layout |
| 149 | | ---------------------------- |
| 150 | | |
| 151 | | 837-6443 ___________ |
| 152 | | |---------------| DATA |-- ||||---| |
| 153 | | | PWR | |
| 154 | | | 74LS367 74LS05 | |
| 155 | | | 74LS367 74LS174 | |
| 156 | | | MB4107 74LS05 | |
| 157 | | | | |
| 158 | | | MB89311 74LS139 8MHz | |
| 159 | | | CN1 | |
| 160 | | | --------------------------| | |
| 161 | | | |-------------------------- | |
| 162 | | |--------------------------------------| |
| 163 | | |
| 164 | | |
| 165 | | I/O Controller PCB Layout |
| 166 | | ------------------------- |
| 167 | | |
| 168 | | 834-6510 |
| 169 | | (sticker 834-6510-01) ___________ |
| 170 | | |----------------------| IDC 34 |---| |
| 171 | | | | |
| 172 | | | | |
| 173 | | | D4701 %2 | |
| 174 | | | | |
| 175 | | | %3 | |
| 176 | | | %1 74LS139 | |
| 177 | | | CN1 | |
| 178 | | | --------------------------| | |
| 179 | | | |-------------------------- | |
| 180 | | |--------------------------------------| |
| 181 | | Notes: |
| 182 | | - %1 - Unpopulated position for D4701 IC |
| 183 | | %2 - Unpopulated position for MSM6253RS IC |
| 184 | | %3 - Unpopulated position for MSM6253RS IC |
| 185 | | |
| 186 | | - CN1 is shown for completeness, it's actually underneath the I/O PCB. |
| 187 | | |
| 188 | | - The custom I/O board plugs into the top connector on the main board and |
| 189 | | is used for player steering controls. The wiring diagram has 8 pins coming from |
| 190 | | the connector. Four are labelled 'JST4P 1P (L)', the other four are labelled |
| 191 | | 'JST4P 2P (R)'. I assume this is for an analog wheel or similar for player 1 |
| 192 | | (being on the left) and player 2 (being on the right) |
| 193 | | The wiring diagram also lists some buttons for both PL1 and PL2 coming from |
| 194 | | the regular 56-way edge connector.... 'Nitro' and 'Accel' |
| 195 | | The manual shows a controller that looks like a spinner which they call |
| 196 | | a 'sensor board' with part 839-0138 and has a photo-sensor disc, which looks |
| 197 | | like it's used for steering. |
| 198 | | This board is used on Hot Rod, Rough Racer and the Golf games only. |
| 199 | | |
| 200 | | |
| 201 | | ROM Board Layout |
| 202 | | ---------------- |
| 203 | | |
| 204 | | 837-7187-01 |
| 205 | | 171-5875-01B |
| 206 | | (SYSTEM24) (C)SEGA 1989 . 1991 |
| 207 | | |------------------------------------------| |
| 208 | | | | |
| 209 | | | | |
| 210 | | | J1 | |
| 211 | | |CN1 ROM1.IC4 ROM2.IC5 J2 | |
| 212 | | ||-| J3 | |
| 213 | | || | J4 | |
| 214 | | || | ROM3.IC6 ROM4.IC7 | |
| 215 | | || | J5 | |
| 216 | | || | J6 | |
| 217 | | || | ROM5.IC8 ROM6.IC9 J7 | |
| 218 | | || | J8 | |
| 219 | | || | J9 | |
| 220 | | || | ROM7.IC10 ROM8.IC11 | |
| 221 | | || | | |
| 222 | | || | 74HC4040 74LS139 | |
| 223 | | ||-| EPM5032DC.IC2 | |
| 224 | | |------------------------------------------| |
| 225 | | Notes: |
| 226 | | CN1: Connector for joining ROM board to Main Board. This connector is above and below the PCB to allow for chaining of several boards. |
| 227 | | |
| 228 | | The ROM Daughter board has a protection device on it at location IC2. It's an Erasable Programmable Logic Device; EPLD, like a normal PLD, |
| 229 | | but uses an EPROM and is erasable and re-programmable. It's type is Altera EPM5032DC. It's part of the Altera MAX 5000 Programmable Logic |
| 230 | | Device Family and (generally) has it's protection bit set at the factory. |
| 231 | | |
| 232 | | All jumpers are 2 pins, they're either shorted or not shorted. All ROMs are configured as the same type. |
| 233 | | See the table below for details. |
| 234 | | Jumpers to set ROM sizes: |
| 235 | | 2M (J1, J3, J6, J8) |
| 236 | | 4M (J2, J3, J7, J9) |
| 237 | | 8M (J2, J4, J5, J9) |
| 238 | | |
| 239 | | |
| 240 | | FD1094/Floppy/ROM details |
| 241 | | ------------------------- |
| 242 | | |
| 243 | | Game FD1094 Floppy ROMs Other |
| 244 | | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 245 | | Hot Rod (3p Turbo) none DS3-5000-01D Main Board: EPR11338.IC1, EPR11339.IC2 I/O Controller PCB, Floppy Controller PCB |
| 246 | | |
| 247 | | Hot Rod (4p Rev C) none DS3-5000-01A Main Board: EPR11338.IC1, EPR11339.IC2 I/O Controller PCB, Floppy Controller PCB |
| 248 | | Rev C |
| 249 | | |
| 250 | | Hot Rod (4p Japanese none DS3-5000-01A Main Board: EPR11338.IC1, EPR11339.IC2 I/O Controller PCB, Floppy Controller PCB |
| 251 | | Rev B) Rev B |
| 252 | | |
| 253 | | Scramble Spirits none DS3-5000-02? Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 254 | | |
| 255 | | Scramble Spirits 317-0058-02D DS3-5000-02D Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 256 | | (Encrypted Version) |
| 257 | | |
| 258 | | Gain Ground (Japan) 317-0058-03B DS3-5000-03B Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 259 | | |
| 260 | | Gain Ground 317-0058-03D DS3-5000-03D Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 261 | | |
| 262 | | Crack Down (Japan) 317-0058-04B DS3-5000-04B Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 263 | | Rev A |
| 264 | | |
| 265 | | Crack Down 317-0058-04D DS3-5000-04D Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 266 | | |
| 267 | | Super Masters Golf 317-0058-05B DS3-5000-05B Main Board: EPR12186.IC1, EPR12187.IC2 I/O Controller PCB, Floppy Controller PCB |
| 268 | | Rev B |
| 269 | | |
| 270 | | Super Masters Golf 317-0058-05D DS3-5000-05D Main Board: EPR12186.IC1, EPR12187.IC2 I/O Controller PCB, Floppy Controller PCB |
| 271 | | Rev D |
| 272 | | |
| 273 | | Rough Racer 317-0058-06B DS3-5000-06B Main Board: EPR12186.IC1, EPR12187.IC2 I/O Controller PCB, Floppy Controller PCB |
| 274 | | |
| 275 | | Bonanza Bros none DS3-5000-07D Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 276 | | Daughter Board: MPR13187.IC4, MPR13188.IC5, MPR13189.IC6 |
| 277 | | MPR13190.IC7 |
| 278 | | EPLD: 317-0156 |
| 279 | | |
| 280 | | Quiz Syukudai wo 317-0058-08B DS3-5000-08B Main Board: EPR12186.IC1, EPR12187.IC2 Floppy Controller PCB |
| 281 | | Wasuremashita |
| 282 | | |
| 283 | | Dynamic Country Club 317-0058-09D DS3-5000-09D Main Board: EPR13947.IC1, EPR13948.IC2 I/O Controller PCB, Floppy Controller PCB |
| 284 | | (Disk version) |
| 285 | | |
| 286 | | Dynamic Country Club none none Main Board: EPR13947.IC1, EPR13948.IC2 |
| 287 | | (ROM version) Daughter Board: EPR15345.IC4 EPR15344.IC5, MPR14097.IC6 |
| 288 | | MPR14096.IC7 |
| 289 | | EPLD: 317-0177 |
| 290 | | |
| 291 | | Quiz Mekuromeku Story none none Main Board: EPR15342.IC1, EPR15343.IC2 |
| 292 | | Daughter Board: EPR15344.IC4, EPR15345.IC5, EPR15346.IC6 |
| 293 | | EPR15347.IC7, EPR15348.IC8, EPR15349.IC9 |
| 294 | | EPLD: 317-0205 |
| 295 | | |
| 296 | | Tokoro San no none none Main Board: EPR14812.IC1, EPR14813.IC2 |
| 297 | | MahMahjan Daughter Board: MPR14819.IC4, MPR14820.IC5, MPR14821.IC6 |
| 298 | | MPR14822IC.7, MPR14823.IC8, MPR14824.IC9 |
| 299 | | MPR14825.IC10, MPR14826.IC11 |
| 300 | | EPLD: 317-0200 |
| 301 | | |
| 302 | | Quiz Rouka Ni none none Main Board: EPR14484.IC1, EPR14485.IC2 |
| 303 | | Tattenasai Daughter Board: EPR14482.IC5, EPR14483.IC7 |
| 304 | | EPLD: 317-0191 |
| 305 | | |
| 306 | | Tokoro San no none none Main Board: EPR16798.IC1, EPR16799.IC2 |
| 307 | | MahMahjan 2 Daughter Board: MPR16800.IC4, MPR16801.IC5, MPR16802.IC6 |
| 308 | | MPR16803.IC7, MPR16804.IC8, MPR16805.IC9 |
| 309 | | MPR16806.IC10, MPR16807.IC11 |
| 310 | | EPLD: 317-0220 |
| 311 | | |
| 312 | | Quiz Ghost Hunter none none Main Board: EPR16899B.IC1, EPR16900B.IC2 |
| 313 | | Daughter Board: MPR16901A.IC4, MPR16902A.IC5, MPR16903.IC6 |
| 314 | | MPR16904.IC7, MPR16905.IC8, MPR16906.IC9 |
| 315 | | MPR16907.IC10, MPR16908.IC11 |
| 316 | | EPLD: 317-0226 |
| 317 | | |
| 318 | | Notes: |
| 319 | | A regular 68000-10 is used in position IC3. If used, the Hitachi CPU sits at position IC4. |
| 320 | | Where FD1094 is listed as 'none', a standard 68000 CPU is used instead at IC4 on the PCB. |
| 321 | | |
| 322 | | The last 3 digits of the floppy number is also the last part of the Hitachi CPU number....they're a matching pair. |
| 323 | | So if one had the Hitachi part number and a floppy without a label, it's possible to create the correct floppy disk name from |
| 324 | | the last 3 digits of the Hitachi FD1094 part number. |
| 325 | | |
| 326 | | */ |
| 327 | | |
| 328 | | |
| 329 | | /* system24temp_ functions / variables are from shared rewrite files, |
| 330 | | once the rest of the rewrite is complete they can be removed, I |
| 331 | | just made a copy & renamed them for now to avoid any conflicts |
| 332 | | */ |
| 333 | | |
| 334 | | #include "driver.h" |
| 335 | | #include "cpu/m68000/m68k.h" |
| 336 | | #include "system24.h" |
| 337 | | #include "system16.h" |
| 338 | | #include "video/segaic24.h" |
| 339 | | #include "sound/ym2151.h" |
| 340 | | #include "sound/dac.h" |
| 341 | | #include "sound/2151intf.h" |
| 342 | | |
| 343 | | UINT16* s24_mainram1; |
| 344 | | |
| 345 | | extern void s24_fd1094_machine_init(void); |
| 346 | | extern void s24_fd1094_driver_init(void); |
| 347 | | |
| 348 | | VIDEO_START(system24); |
| 349 | | VIDEO_UPDATE(system24); |
| 350 | | |
| 351 | | |
| 352 | | // Floppy Fisk Controller |
| 353 | | |
| 354 | | static int fdc_status, fdc_track, fdc_sector, fdc_data; |
| 355 | | static int fdc_phys_track, fdc_irq, fdc_drq, fdc_span, fdc_index_count; |
| 356 | | static UINT8 *fdc_pt; |
| 357 | | static int track_size; |
| 358 | | |
| 359 | | static void fdc_init(void) |
| 360 | | { |
| 361 | | fdc_status = 0; |
| 362 | | fdc_track = 0; |
| 363 | | fdc_sector = 0; |
| 364 | | fdc_data = 0; |
| 365 | | fdc_phys_track = 0; |
| 366 | | fdc_irq = 0; |
| 367 | | fdc_drq = 0; |
| 368 | | fdc_index_count = 0; |
| 369 | | } |
| 370 | | |
| 371 | | static READ16_HANDLER( fdc_r ) |
| 372 | | { |
| 373 | | if(!track_size) |
| 374 | | return 0xffff; |
| 375 | | |
| 376 | | switch(offset) { |
| 377 | | case 0: |
| 378 | | fdc_irq = 0; |
| 379 | | return fdc_status; |
| 380 | | case 1: |
| 381 | | return fdc_track; |
| 382 | | case 2: |
| 383 | | return fdc_sector; |
| 384 | | case 3: |
| 385 | | default: { |
| 386 | | int res = fdc_data; |
| 387 | | if(fdc_drq) { |
| 388 | | fdc_span--; |
| 389 | | // logerror("Read %02x (%d)\n", res, fdc_span); |
| 390 | | if(fdc_span) { |
| 391 | | fdc_pt++; |
| 392 | | fdc_data = *fdc_pt; |
| 393 | | } else { |
| 394 | | logerror("FDC: transfert complete\n"); |
| 395 | | fdc_drq = 0; |
| 396 | | fdc_status = 0; |
| 397 | | fdc_irq = 1; |
| 398 | | } |
| 399 | | } else |
| 400 | | logerror("FDC: data read with drq down\n"); |
| 401 | | return res; |
| 402 | | } |
| 403 | | } |
| 404 | | } |
| 405 | | |
| 406 | | static WRITE16_HANDLER( fdc_w ) |
| 407 | | { |
| 408 | | if(!track_size) |
| 409 | | return; |
| 410 | | |
| 411 | | if(ACCESSING_LSB) { |
| 412 | | data &= 0xff; |
| 413 | | switch(offset) { |
| 414 | | case 0: |
| 415 | | fdc_irq = 0; |
| 416 | | switch(data >> 4) { |
| 417 | | case 0x0: |
| 418 | | logerror("FDC: Restore\n"); |
| 419 | | fdc_phys_track = fdc_track = 0; |
| 420 | | fdc_irq = 1; |
| 421 | | fdc_status = 4; |
| 422 | | break; |
| 423 | | case 0x1: |
| 424 | | logerror("FDC: Seek %d\n", fdc_data); |
| 425 | | fdc_phys_track = fdc_track = fdc_data; |
| 426 | | fdc_irq = 1; |
| 427 | | fdc_status = fdc_track ? 0 : 4; |
| 428 | | break; |
| 429 | | case 0x9: |
| 430 | | logerror("Read multiple [%02x] %d..%d side %d track %d\n", data, fdc_sector, fdc_sector+fdc_data-1, data & 8 ? 1 : 0, fdc_phys_track); |
| 431 | | fdc_pt = memory_region(REGION_USER2) + track_size*(2*fdc_phys_track+(data & 8 ? 1 : 0)); |
| 432 | | fdc_span = track_size; |
| 433 | | fdc_status = 3; |
| 434 | | fdc_drq = 1; |
| 435 | | fdc_data = *fdc_pt; |
| 436 | | break; |
| 437 | | case 0xb: |
| 438 | | logerror("Write multiple [%02x] %d..%d side %d track %d\n", data, fdc_sector, fdc_sector+fdc_data-1, data & 8 ? 1 : 0, fdc_phys_track); |
| 439 | | fdc_pt = memory_region(REGION_USER2) + track_size*(2*fdc_phys_track+(data & 8 ? 1 : 0)); |
| 440 | | fdc_span = track_size; |
| 441 | | fdc_status = 3; |
| 442 | | fdc_drq = 1; |
| 443 | | break; |
| 444 | | case 0xd: |
| 445 | | logerror("FDC: Forced interrupt\n"); |
| 446 | | fdc_span = 0; |
| 447 | | fdc_drq = 0; |
| 448 | | fdc_irq = data & 1; |
| 449 | | fdc_status = 0; |
| 450 | | break; |
| 451 | | case 0xf: |
| 452 | | if(data == 0xfe) |
| 453 | | logerror("FDC: Assign mode %02x\n", fdc_data); |
| 454 | | else if(data == 0xfd) |
| 455 | | logerror("FDC: Assign parameter %02x\n", fdc_data); |
| 456 | | else |
| 457 | | logerror("FDC: Unknown command %02x\n", data); |
| 458 | | break; |
| 459 | | default: |
| 460 | | logerror("FDC: Unknown command %02x\n", data); |
| 461 | | break; |
| 462 | | } |
| 463 | | break; |
| 464 | | case 1: |
| 465 | | logerror("FDC: Track register %02x\n", data); |
| 466 | | fdc_track = data; |
| 467 | | break; |
| 468 | | case 2: |
| 469 | | logerror("FDC: Sector register %02x\n", data); |
| 470 | | fdc_sector = data; |
| 471 | | break; |
| 472 | | case 3: |
| 473 | | if(fdc_drq) { |
| 474 | | // logerror("Write %02x (%d)\n", data, fdc_span); |
| 475 | | *fdc_pt++ = data; |
| 476 | | fdc_span--; |
| 477 | | if(!fdc_span) { |
| 478 | | logerror("FDC: transfert complete\n"); |
| 479 | | fdc_drq = 0; |
| 480 | | fdc_status = 0; |
| 481 | | fdc_irq = 1; |
| 482 | | } |
| 483 | | } else |
| 484 | | logerror("FDC: Data register %02x\n", data); |
| 485 | | fdc_data = data; |
| 486 | | break; |
| 487 | | } |
| 488 | | } |
| 489 | | } |
| 490 | | |
| 491 | | static READ16_HANDLER( fdc_status_r ) |
| 492 | | { |
| 493 | | if(!track_size) |
| 494 | | return 0xffff; |
| 495 | | |
| 496 | | return 0x90 | (fdc_irq ? 2 : 0) | (fdc_drq ? 1 : 0) | (fdc_phys_track ? 0x40 : 0) | (fdc_index_count ? 0x20 : 0); |
| 497 | | } |
| 498 | | |
| 499 | | static WRITE16_HANDLER( fdc_ctrl_w ) |
| 500 | | { |
| 501 | | if(ACCESSING_LSB) |
| 502 | | logerror("FDC control %02x\n", data & 0xff); |
| 503 | | } |
| 504 | | |
| 505 | | |
| 506 | | // I/O Mappers |
| 507 | | |
| 508 | | static UINT8 hotrod_io_r(int port) |
| 509 | | { |
| 510 | | switch(port) { |
| 511 | | case 0: |
| 512 | | return readinputport(0); |
| 513 | | case 1: |
| 514 | | return readinputport(1); |
| 515 | | case 2: |
| 516 | | return 0xff; |
| 517 | | case 3: |
| 518 | | return 0xff; |
| 519 | | case 4: |
| 520 | | return readinputport(2); |
| 521 | | case 5: // Dip switches |
| 522 | | return readinputport(3); |
| 523 | | case 6: |
| 524 | | return readinputport(4); |
| 525 | | case 7: // DAC |
| 526 | | return 0xff; |
| 527 | | } |
| 528 | | return 0x00; |
| 529 | | } |
| 530 | | |
| 531 | | static UINT8 dcclub_io_r(int port) |
| 532 | | { |
| 533 | | switch(port) { |
| 534 | | case 0: { |
| 535 | | static UINT8 pos[16] = { 0, 1, 3, 2, 6, 4, 12, 8, 9 }; |
| 536 | | return (readinputport(0) & 0xf) | ((~pos[readinputport(5)>>4]<<4) & 0xf0); |
| 537 | | } |
| 538 | | case 1: |
| 539 | | return readinputport(1); |
| 540 | | case 2: |
| 541 | | return 0xff; |
| 542 | | case 3: |
| 543 | | return 0xff; |
| 544 | | case 4: |
| 545 | | return readinputport(2); |
| 546 | | case 5: // Dip switches |
| 547 | | return readinputport(3); |
| 548 | | case 6: |
| 549 | | return readinputport(4); |
| 550 | | case 7: // DAC |
| 551 | | return 0xff; |
| 552 | | } |
| 553 | | return 0x00; |
| 554 | | } |
| 555 | | |
| 556 | | static int cur_input_line; |
| 557 | | |
| 558 | | static UINT8 mahmajn_io_r(int port) |
| 559 | | { |
| 560 | | switch(port) { |
| 561 | | case 0: |
| 562 | | return ~(1 << cur_input_line); |
| 563 | | case 1: |
| 564 | | return 0xff; |
| 565 | | case 2: |
| 566 | | return readinputport(cur_input_line); |
| 567 | | case 3: |
| 568 | | return 0xff; |
| 569 | | case 4: |
| 570 | | return readinputport(8); |
| 571 | | case 5: // Dip switches |
| 572 | | return readinputport(9); |
| 573 | | case 6: |
| 574 | | return readinputport(10); |
| 575 | | case 7: // DAC |
| 576 | | return 0xff; |
| 577 | | } |
| 578 | | return 0x00; |
| 579 | | } |
| 580 | | |
| 581 | | static UINT8 gground_io_r(int port) |
| 582 | | { |
| 583 | | switch(port) { |
| 584 | | case 0: |
| 585 | | return readinputport(0); |
| 586 | | case 1: |
| 587 | | return readinputport(1); |
| 588 | | case 2: // P3 inputs |
| 589 | | return readinputport(2); |
| 590 | | case 3: |
| 591 | | return 0xff; |
| 592 | | case 4: |
| 593 | | return readinputport(3); |
| 594 | | case 5: // Dip switches |
| 595 | | return readinputport(4); |
| 596 | | case 6: |
| 597 | | return readinputport(5); |
| 598 | | case 7: // DAC |
| 599 | | return 0xff; |
| 600 | | } |
| 601 | | return 0x00; |
| 602 | | } |
| 603 | | |
| 604 | | static void mahmajn_io_w(int port, UINT8 data) |
| 605 | | { |
| 606 | | switch(port) { |
| 607 | | case 3: |
| 608 | | if(data & 4) |
| 609 | | cur_input_line = (cur_input_line + 1) & 7; |
| 610 | | break; |
| 611 | | case 7: // DAC |
| 612 | | DAC_0_signed_data_w(0, data); |
| 613 | | break; |
| 614 | | default: |
| 615 | | fprintf(stderr, "Port %d : %02x\n", port, data & 0xff); |
| 616 | | } |
| 617 | | } |
| 618 | | |
| 619 | | static void hotrod_io_w(int port, UINT8 data) |
| 620 | | { |
| 621 | | switch(port) { |
| 622 | | case 3: // Lamps |
| 623 | | break; |
| 624 | | case 7: // DAC |
| 625 | | DAC_0_signed_data_w(0, data); |
| 626 | | break; |
| 627 | | default: |
| 628 | | fprintf(stderr, "Port %d : %02x\n", port, data & 0xff); |
| 629 | | } |
| 630 | | } |
| 631 | | |
| 632 | | static UINT8 hotrod_ctrl_cur; |
| 633 | | |
| 634 | | static WRITE16_HANDLER( hotrod3_ctrl_w ) |
| 635 | | { |
| 636 | | if(ACCESSING_LSB) { |
| 637 | | data &= 3; |
| 638 | | hotrod_ctrl_cur = readinputport(9+data); |
| 639 | | } |
| 640 | | } |
| 641 | | |
| 642 | | static READ16_HANDLER( hotrod3_ctrl_r ) |
| 643 | | { |
| 644 | | if(ACCESSING_LSB) { |
| 645 | | switch(offset) { |
| 646 | | // Steering dials |
| 647 | | case 0: |
| 648 | | return readinputport(5) & 0xff; |
| 649 | | case 1: |
| 650 | | return readinputport(5) >> 8; |
| 651 | | case 2: |
| 652 | | return readinputport(6) & 0xff; |
| 653 | | case 3: |
| 654 | | return readinputport(6) >> 8; |
| 655 | | case 4: |
| 656 | | return readinputport(7) & 0xff; |
| 657 | | case 5: |
| 658 | | return readinputport(7) >> 8; |
| 659 | | case 6: |
| 660 | | return readinputport(8) & 0xff; |
| 661 | | case 7: |
| 662 | | return readinputport(8) >> 8; |
| 663 | | |
| 664 | | case 8: { // Serial ADCs for the accel |
| 665 | | int v = hotrod_ctrl_cur & 0x80; |
| 666 | | hotrod_ctrl_cur <<= 1; |
| 667 | | return v ? 0xff : 0; |
| 668 | | } |
| 669 | | } |
| 670 | | } |
| 671 | | return 0; |
| 672 | | } |
| 673 | | |
| 674 | | static READ16_HANDLER( iod_r ) |
| 675 | | { |
| 676 | | logerror("IO daughterboard read %02x (%x)\n", offset, activecpu_get_pc()); |
| 677 | | return 0xffff; |
| 678 | | } |
| 679 | | |
| 680 | | static WRITE16_HANDLER( iod_w ) |
| 681 | | { |
| 682 | | logerror("IO daughterboard write %02x, %04x & %04x (%x)\n", offset, data, mem_mask, activecpu_get_pc()); |
| 683 | | } |
| 684 | | |
| 685 | | |
| 686 | | // Cpu #1 reset control |
| 687 | | |
| 688 | | static UINT8 resetcontrol, prev_resetcontrol; |
| 689 | | |
| 690 | | static void reset_reset(void) |
| 691 | | { |
| 692 | | int changed = resetcontrol ^ prev_resetcontrol; |
| 693 | | if(changed & 2) { |
| 694 | | if(resetcontrol & 2) { |
| 695 | | cpunum_set_input_line(1, INPUT_LINE_HALT, CLEAR_LINE); |
| 696 | | cpunum_set_input_line(1, INPUT_LINE_RESET, PULSE_LINE); |
| 697 | | // mame_printf_debug("enable 2nd cpu!\n"); |
| 698 | | // DEBUGGER_BREAK; |
| 699 | | s24_fd1094_machine_init(); |
| 700 | | |
| 701 | | } else |
| 702 | | cpunum_set_input_line(1, INPUT_LINE_HALT, ASSERT_LINE); |
| 703 | | } |
| 704 | | if(changed & 4) |
| 705 | | sndti_reset(SOUND_YM2151, 0); |
| 706 | | prev_resetcontrol = resetcontrol; |
| 707 | | } |
| 708 | | |
| 709 | | static void resetcontrol_w(UINT8 data) |
| 710 | | { |
| 711 | | resetcontrol = data; |
| 712 | | logerror("Reset control %02x (%x:%x)\n", resetcontrol, cpu_getactivecpu(), activecpu_get_pc()); |
| 713 | | reset_reset(); |
| 714 | | } |
| 715 | | |
| 716 | | |
| 717 | | // Rom board bank access |
| 718 | | |
| 719 | | static UINT8 curbank; |
| 720 | | |
| 721 | | static void reset_bank(void) |
| 722 | | { |
| 723 | | if (memory_region(REGION_USER1)) |
| 724 | | { |
| 725 | | memory_set_bankptr(1, memory_region(REGION_USER1) + curbank * 0x40000); |
| 726 | | memory_set_bankptr(2, memory_region(REGION_USER1) + curbank * 0x40000); |
| 727 | | } |
| 728 | | } |
| 729 | | |
| 730 | | static READ16_HANDLER( curbank_r ) |
| 731 | | { |
| 732 | | return curbank; |
| 733 | | } |
| 734 | | |
| 735 | | static WRITE16_HANDLER( curbank_w ) |
| 736 | | { |
| 737 | | if(ACCESSING_LSB) { |
| 738 | | curbank = data & 0xff; |
| 739 | | reset_bank(); |
| 740 | | } |
| 741 | | } |
| 742 | | |
| 743 | | |
| 744 | | // YM2151 |
| 745 | | |
| 746 | | static READ16_HANDLER( ym_status_r ) |
| 747 | | { |
| 748 | | return YM2151_status_port_0_r(0); |
| 749 | | } |
| 750 | | |
| 751 | | static WRITE16_HANDLER( ym_register_w ) |
| 752 | | { |
| 753 | | if(ACCESSING_LSB) |
| 754 | | YM2151_register_port_0_w(0, data); |
| 755 | | } |
| 756 | | |
| 757 | | static WRITE16_HANDLER( ym_data_w ) |
| 758 | | { |
| 759 | | if(ACCESSING_LSB) |
| 760 | | YM2151_data_port_0_w(0, data); |
| 761 | | } |
| 762 | | |
| 763 | | |
| 764 | | // Protection magic latch |
| 765 | | |
| 766 | | static UINT8 mahmajn_mlt[8] = { 5, 1, 6, 2, 3, 7, 4, 0 }; |
| 767 | | static UINT8 mahmajn2_mlt[8] = { 6, 0, 5, 3, 1, 4, 2, 7 }; |
| 768 | | static UINT8 gqh_mlt[8] = { 3, 7, 4, 0, 2, 6, 5, 1 }; |
| 769 | | static UINT8 bnzabros_mlt[8] = { 2, 4, 0, 5, 7, 3, 1, 6 }; |
| 770 | | static UINT8 qrouka_mlt[8] = { 1, 6, 4, 7, 0, 5, 3, 2 }; |
| 771 | | static UINT8 quizmeku_mlt[8] = { 0, 3, 2, 4, 6, 1, 7, 5 }; |
| 772 | | static UINT8 dcclub_mlt[8] = { 4, 3, 7, 0, 2, 6, 1, 5 }; |
| 773 | | |
| 774 | | static UINT8 mlatch; |
| 775 | | static const UINT8 *mlatch_table; |
| 776 | | |
| 777 | | static READ16_HANDLER( mlatch_r ) |
| 778 | | { |
| 779 | | return mlatch; |
| 780 | | } |
| 781 | | |
| 782 | | static WRITE16_HANDLER( mlatch_w ) |
| 783 | | { |
| 784 | | if(ACCESSING_LSB) { |
| 785 | | int i; |
| 786 | | UINT8 mxor = 0; |
| 787 | | if(!mlatch_table) { |
| 788 | | logerror("Protection: magic latch accessed but no table loaded (%d:%x)\n", cpu_getactivecpu(), activecpu_get_pc()); |
| 789 | | return; |
| 790 | | } |
| 791 | | |
| 792 | | data &= 0xff; |
| 793 | | |
| 794 | | if(data != 0xff) { |
| 795 | | for(i=0; i<8; i++) |
| 796 | | if(mlatch & (1<<i)) |
| 797 | | mxor |= 1 << mlatch_table[i]; |
| 798 | | mlatch = data ^ mxor; |
| 799 | | logerror("Magic latching %02x ^ %02x as %02x (%d:%x)\n", data & 0xff, mxor, mlatch, cpu_getactivecpu(), activecpu_get_pc()); |
| 800 | | } else { |
| 801 | | logerror("Magic latch reset (%d:%x)\n", cpu_getactivecpu(), activecpu_get_pc()); |
| 802 | | mlatch = 0x00; |
| 803 | | } |
| 804 | | } |
| 805 | | } |
| 806 | | |
| 807 | | |
| 808 | | // Timers and IRQs |
| 809 | | |
| 810 | | enum { |
| 811 | | IRQ_YM2151 = 1, |
| 812 | | IRQ_TIMER = 2, |
| 813 | | IRQ_VBLANK = 3, |
| 814 | | IRQ_SPRITE = 4 |
| 815 | | }; |
| 816 | | |
| 817 | | static UINT16 irq_timera; |
| 818 | | static UINT8 irq_timerb; |
| 819 | | static UINT8 irq_allow0, irq_allow1; |
| 820 | | static int irq_timer_pend0, irq_timer_pend1, irq_yms; |
| 821 | | static emu_timer *irq_timer; |
| 822 | | |
| 823 | | static TIMER_CALLBACK( irq_timer_cb ) |
| 824 | | { |
| 825 | | irq_timer_pend0 = irq_timer_pend1 = 1; |
| 826 | | if(irq_allow0 & (1 << IRQ_TIMER)) |
| 827 | | cpunum_set_input_line(0, IRQ_TIMER+1, ASSERT_LINE); |
| 828 | | if(irq_allow1 & (1 << IRQ_TIMER)) |
| 829 | | cpunum_set_input_line(1, IRQ_TIMER+1, ASSERT_LINE); |
| 830 | | } |
| 831 | | |
| 832 | | static void irq_init(void) |
| 833 | | { |
| 834 | | irq_timera = 0; |
| 835 | | irq_timerb = 0; |
| 836 | | irq_allow0 = 0; |
| 837 | | irq_allow1 = 0; |
| 838 | | irq_timer_pend0 = 0; |
| 839 | | irq_timer_pend1 = 0; |
| 840 | | irq_timer = timer_alloc(irq_timer_cb); |
| 841 | | } |
| 842 | | |
| 843 | | static void irq_timer_reset(void) |
| 844 | | { |
| 845 | | int freq = (irq_timerb << 12) | irq_timera; |
| 846 | | freq &= 0x1fff; |
| 847 | | |
| 848 | | timer_adjust(irq_timer, ATTOTIME_IN_HZ(freq), 0, ATTOTIME_IN_HZ(freq)); |
| 849 | | logerror("New timer frequency: %0d [%02x %04x]\n", freq, irq_timerb, irq_timera); |
| 850 | | } |
| 851 | | |
| 852 | | static WRITE16_HANDLER(irq_w) |
| 853 | | { |
| 854 | | switch(offset) { |
| 855 | | case 0: { |
| 856 | | UINT16 old_ta = irq_timera; |
| 857 | | COMBINE_DATA(&irq_timera); |
| 858 | | if(old_ta != irq_timera) |
| 859 | | irq_timer_reset(); |
| 860 | | break; |
| 861 | | } |
| 862 | | case 1: |
| 863 | | if(ACCESSING_LSB) { |
| 864 | | UINT8 old_tb = irq_timerb; |
| 865 | | irq_timerb = data; |
| 866 | | if(old_tb != irq_timerb) |
| 867 | | irq_timer_reset(); |
| 868 | | } |
| 869 | | break; |
| 870 | | case 2: |
| 871 | | irq_allow0 = data; |
| 872 | | cpunum_set_input_line(0, IRQ_TIMER+1, irq_timer_pend0 && (irq_allow0 & (1 << IRQ_TIMER)) ? ASSERT_LINE : CLEAR_LINE); |
| 873 | | cpunum_set_input_line(0, IRQ_YM2151+1, irq_yms && (irq_allow0 & (1 << IRQ_YM2151)) ? ASSERT_LINE : CLEAR_LINE); |
| 874 | | break; |
| 875 | | case 3: |
| 876 | | irq_allow1 = data; |
| 877 | | cpunum_set_input_line(1, IRQ_TIMER+1, irq_timer_pend1 && (irq_allow1 & (1 << IRQ_TIMER)) ? ASSERT_LINE : CLEAR_LINE); |
| 878 | | cpunum_set_input_line(1, IRQ_YM2151+1, irq_yms && (irq_allow1 & (1 << IRQ_YM2151)) ? ASSERT_LINE : CLEAR_LINE); |
| 879 | | break; |
| 880 | | } |
| 881 | | } |
| 882 | | |
| 883 | | |
| 884 | | static int ggground_kludge; |
| 885 | | /* This IRQ needs to be generated before the others or the GFX |
| 886 | | don't get uploaded correctly and you see nothing */ |
| 887 | | static TIMER_CALLBACK( gground_generate_kludge_irq ) |
| 888 | | { |
| 889 | | cpunum_set_input_line(1, 5, HOLD_LINE); |
| 890 | | } |
| 891 | | |
| 892 | | |
| 893 | | static READ16_HANDLER(irq_r) |
| 894 | | { |
| 895 | | /* These hacks are for Gain Ground */ |
| 896 | | /* otherwise the interrupt occurs before the correct state has been |
| 897 | | set and the game crashes before booting */ |
| 898 | | if (!strcmp(Machine->gamedrv->name,"gground")) |
| 899 | | { |
| 900 | | |
| 901 | | if (activecpu_get_pc()==0x0084aa) |
| 902 | | { |
| 903 | | ggground_kludge = 1; |
| 904 | | return mame_rand(Machine); |
| 905 | | |
| 906 | | } |
| 907 | | if (activecpu_get_pc()==0x084ba) |
| 908 | | { |
| 909 | | /* Clear IRQ line so IRQ doesn't happen too early */ |
| 910 | | cpunum_set_input_line(1, 5, CLEAR_LINE); |
| 911 | | |
| 912 | | /* set a timer to generate an irq at the needed point */ |
| 913 | | if (ggground_kludge == 1) |
| 914 | | { |
| 915 | | timer_set(ATTOTIME_IN_USEC(180000), 0, gground_generate_kludge_irq); |
| 916 | | ggground_kludge = 0; |
| 917 | | } |
| 918 | | return 1; |
| 919 | | } |
| 920 | | } |
| 921 | | |
| 922 | | if (!strcmp(Machine->gamedrv->name,"ggroundj")) |
| 923 | | { |
| 924 | | |
| 925 | | if (activecpu_get_pc()==0x0084ac) |
| 926 | | { |
| 927 | | ggground_kludge = 1; |
| 928 | | return mame_rand(Machine); |
| 929 | | |
| 930 | | } |
| 931 | | if (activecpu_get_pc()==0x084bc) |
| 932 | | { |
| 933 | | /* Clear IRQ line so IRQ doesn't happen too early */ |
| 934 | | cpunum_set_input_line(1, 5, CLEAR_LINE); |
| 935 | | |
| 936 | | /* set a timer to generate an irq at the needed point */ |
| 937 | | if (ggground_kludge == 1) |
| 938 | | { |
| 939 | | timer_set(ATTOTIME_IN_USEC(180000), 0, gground_generate_kludge_irq); |
| 940 | | ggground_kludge = 0; |
| 941 | | } |
| 942 | | return 1; |
| 943 | | } |
| 944 | | } |
| 945 | | |
| 946 | | switch(offset) { |
| 947 | | case 2: |
| 948 | | irq_timer_pend0 = 0; |
| 949 | | cpunum_set_input_line(0, IRQ_TIMER+1, CLEAR_LINE); |
| 950 | | break; |
| 951 | | case 3: |
| 952 | | irq_timer_pend1 = 0; |
| 953 | | cpunum_set_input_line(1, IRQ_TIMER+1, CLEAR_LINE); |
| 954 | | break; |
| 955 | | } |
| 956 | | return 0xffff; |
| 957 | | } |
| 958 | | |
| 959 | | static INTERRUPT_GEN(irq_vbl) |
| 960 | | { |
| 961 | | int irq = cpu_getiloops() ? IRQ_SPRITE : IRQ_VBLANK; |
| 962 | | int mask = 1 << irq; |
| 963 | | |
| 964 | | if(irq_allow0 & mask) |
| 965 | | cpunum_set_input_line(0, 1+irq, HOLD_LINE); |
| 966 | | |
| 967 | | if(irq_allow1 & mask) |
| 968 | | cpunum_set_input_line(1, 1+irq, HOLD_LINE); |
| 969 | | |
| 970 | | if(!cpu_getiloops()) { |
| 971 | | // Ensure one index pulse every 20 frames |
| 972 | | // The is some code in bnzabros at 0x852 that makes it crash |
| 973 | | // if the pulse train is too fast |
| 974 | | fdc_index_count++; |
| 975 | | if(fdc_index_count >= 20) |
| 976 | | fdc_index_count = 0; |
| 977 | | } |
| 978 | | } |
| 979 | | |
| 980 | | static void irq_ym(int irq) |
| 981 | | { |
| 982 | | irq_yms = irq; |
| 983 | | cpunum_set_input_line(0, IRQ_YM2151+1, irq_yms && (irq_allow0 & (1 << IRQ_YM2151)) ? ASSERT_LINE : CLEAR_LINE); |
| 984 | | cpunum_set_input_line(1, IRQ_YM2151+1, irq_yms && (irq_allow1 & (1 << IRQ_YM2151)) ? ASSERT_LINE : CLEAR_LINE); |
| 985 | | } |
| 986 | | |
| 987 | | |
| 988 | | /* |
| 989 | | CPU1: |
| 990 | | 00-03 ROM (1) |
| 991 | | 04-07 ROM |
| 992 | | 08-0f ramlo (2) |
| 993 | | 10-13 ROM |
| 994 | | 14-17 ROM |
| 995 | | f0-f3 ramprg (3) |
| 996 | | fc-ff ramhi (4) |
| 997 | | |
| 998 | | CPU2: |
| 999 | | 00-03 ramprg |
| 1000 | | 04-07 ROM |
| 1001 | | 08-0f ramlo |
| 1002 | | 10-13 ROM |
| 1003 | | 14-17 ROM |
| 1004 | | f0-f3 ramprg |
| 1005 | | fc-ff ramhi |
| 1006 | | */ |
| 1007 | | |
| 1008 | | static ADDRESS_MAP_START( system24_cpu1_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 1009 | | AM_RANGE(0x000000, 0x03ffff) AM_MIRROR(0x140000) AM_ROM AM_SHARE(1) |
| 1010 | | AM_RANGE(0x080000, 0x0fffff) AM_RAM AM_SHARE(2) |
| 1011 | | AM_RANGE(0x200000, 0x20ffff) AM_READWRITE(sys24_tile_r, sys24_tile_w) |
| 1012 | | AM_RANGE(0x220000, 0x220001) AM_WRITENOP // Unknown, always 0 |
| 1013 | | AM_RANGE(0x240000, 0x240001) AM_WRITENOP // Horizontal synchronization register |
| 1014 | | AM_RANGE(0x260000, 0x260001) AM_WRITENOP // Vertical synchronization register |
| 1015 | | AM_RANGE(0x270000, 0x270001) AM_WRITENOP // Video synchronization switch |
| 1016 | | AM_RANGE(0x280000, 0x29ffff) AM_READWRITE(sys24_char_r, sys24_char_w) |
| 1017 | | AM_RANGE(0x400000, 0x403fff) AM_READWRITE(MRA16_RAM, system24temp_sys16_paletteram1_w) AM_BASE(&paletteram16) |
| 1018 | | AM_RANGE(0x404000, 0x40401f) AM_READWRITE(sys24_mixer_r, sys24_mixer_w) |
| 1019 | | AM_RANGE(0x600000, 0x63ffff) AM_READWRITE(sys24_sprite_r, sys24_sprite_w) |
| 1020 | | AM_RANGE(0x800000, 0x80007f) AM_READWRITE(system24temp_sys16_io_r, system24temp_sys16_io_w) |
| 1021 | | AM_RANGE(0x800100, 0x800101) AM_WRITE(ym_register_w) |
| 1022 | | AM_RANGE(0x800102, 0x800103) AM_READWRITE(ym_status_r, ym_data_w) |
| 1023 | | AM_RANGE(0xa00000, 0xa00007) AM_READWRITE(irq_r, irq_w) |
| 1024 | | AM_RANGE(0xb00000, 0xb00007) AM_READWRITE(fdc_r, fdc_w) |
| 1025 | | AM_RANGE(0xb00008, 0xb0000f) AM_READWRITE(fdc_status_r, fdc_ctrl_w) |
| 1026 | | AM_RANGE(0xb80000, 0xbbffff) AM_ROMBANK(1) |
| 1027 | | AM_RANGE(0xbc0000, 0xbc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1028 | | AM_RANGE(0xbc0006, 0xbc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1029 | | AM_RANGE(0xc00000, 0xc00011) AM_READWRITE(hotrod3_ctrl_r, hotrod3_ctrl_w) |
| 1030 | | AM_RANGE(0xc80000, 0xcbffff) AM_ROMBANK(2) |
| 1031 | | AM_RANGE(0xcc0000, 0xcc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1032 | | AM_RANGE(0xcc0006, 0xcc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1033 | | AM_RANGE(0xd00300, 0xd00301) AM_WRITE(MWA16_NOP) |
| 1034 | | AM_RANGE(0xf00000, 0xf3ffff) AM_RAM AM_SHARE(3) |
| 1035 | | AM_RANGE(0xf40000, 0xf7ffff) AM_ROM AM_SHARE(1) |
| 1036 | | AM_RANGE(0xf80000, 0xffffff) AM_RAM AM_SHARE(2) |
| 1037 | | ADDRESS_MAP_END |
| 1038 | | |
| 1039 | | static ADDRESS_MAP_START( system24_cpu2_map, ADDRESS_SPACE_PROGRAM, 16 ) |
| 1040 | | AM_RANGE(0x000000, 0x03ffff) AM_RAM AM_SHARE(3) AM_BASE(&s24_mainram1) // RAM here overrides the ROM mirror |
| 1041 | | AM_RANGE(0x040000, 0x07ffff) AM_ROM AM_SHARE(1) |
| 1042 | | AM_RANGE(0x080000, 0x0fffff) AM_RAM AM_SHARE(2) |
| 1043 | | AM_RANGE(0x100000, 0x13ffff) AM_MIRROR(0x040000) AM_ROM AM_SHARE(1) |
| 1044 | | AM_RANGE(0x200000, 0x20ffff) AM_READWRITE(sys24_tile_r, sys24_tile_w) |
| 1045 | | AM_RANGE(0x220000, 0x220001) AM_WRITENOP // Unknown, always 0 |
| 1046 | | AM_RANGE(0x240000, 0x240001) AM_WRITENOP // Horizontal synchronization register |
| 1047 | | AM_RANGE(0x260000, 0x260001) AM_WRITENOP // Vertical synchronization register |
| 1048 | | AM_RANGE(0x270000, 0x270001) AM_WRITENOP // Video synchronization switch |
| 1049 | | AM_RANGE(0x280000, 0x29ffff) AM_READWRITE(sys24_char_r, sys24_char_w) |
| 1050 | | AM_RANGE(0x400000, 0x403fff) AM_READWRITE(MRA16_RAM, system24temp_sys16_paletteram1_w) |
| 1051 | | AM_RANGE(0x404000, 0x40401f) AM_READWRITE(sys24_mixer_r, sys24_mixer_w) |
| 1052 | | AM_RANGE(0x600000, 0x63ffff) AM_READWRITE(sys24_sprite_r, sys24_sprite_w) |
| 1053 | | AM_RANGE(0x800000, 0x80007f) AM_READWRITE(system24temp_sys16_io_r, system24temp_sys16_io_w) |
| 1054 | | AM_RANGE(0x800100, 0x800101) AM_WRITE(ym_register_w) |
| 1055 | | AM_RANGE(0x800102, 0x800103) AM_READWRITE(ym_status_r, ym_data_w) |
| 1056 | | AM_RANGE(0xa00000, 0xa00007) AM_READWRITE(irq_r, irq_w) |
| 1057 | | AM_RANGE(0xb00000, 0xb00007) AM_READWRITE(fdc_r, fdc_w) |
| 1058 | | AM_RANGE(0xb00008, 0xb0000f) AM_READWRITE(fdc_status_r, fdc_ctrl_w) |
| 1059 | | AM_RANGE(0xb80000, 0xbbffff) AM_ROMBANK(1) |
| 1060 | | AM_RANGE(0xbc0000, 0xbc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1061 | | AM_RANGE(0xbc0006, 0xbc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1062 | | AM_RANGE(0xc00000, 0xc00011) AM_READWRITE(hotrod3_ctrl_r, hotrod3_ctrl_w) |
| 1063 | | AM_RANGE(0xc80000, 0xcbffff) AM_ROMBANK(2) |
| 1064 | | AM_RANGE(0xcc0000, 0xcc0001) AM_READWRITE(curbank_r, curbank_w) |
| 1065 | | AM_RANGE(0xcc0006, 0xcc0007) AM_READWRITE(mlatch_r, mlatch_w) |
| 1066 | | AM_RANGE(0xd00300, 0xd00301) AM_WRITE(MWA16_NOP) |
| 1067 | | AM_RANGE(0xf00000, 0xf3ffff) AM_RAM AM_SHARE(3) |
| 1068 | | AM_RANGE(0xf40000, 0xf7ffff) AM_ROM AM_SHARE(1) |
| 1069 | | AM_RANGE(0xf80000, 0xffffff) AM_RAM AM_SHARE(2) |
| 1070 | | ADDRESS_MAP_END |
| 1071 | | |
| 1072 | | |
| 1073 | | static DRIVER_INIT(qgh) |
| 1074 | | { |
| 1075 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1076 | | mlatch_table = gqh_mlt; |
| 1077 | | track_size = 0; |
| 1078 | | } |
| 1079 | | |
| 1080 | | static DRIVER_INIT(dcclub) |
| 1081 | | { |
| 1082 | | system24temp_sys16_io_set_callbacks(dcclub_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1083 | | mlatch_table = dcclub_mlt; |
| 1084 | | track_size = 0; |
| 1085 | | } |
| 1086 | | |
| 1087 | | static DRIVER_INIT(qrouka) |
| 1088 | | { |
| 1089 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1090 | | mlatch_table = qrouka_mlt; |
| 1091 | | track_size = 0; |
| 1092 | | } |
| 1093 | | |
| 1094 | | static DRIVER_INIT(quizmeku) |
| 1095 | | { |
| 1096 | | system24temp_sys16_io_set_callbacks(gground_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1097 | | mlatch_table = quizmeku_mlt; |
| 1098 | | track_size = 0; |
| 1099 | | } |
| 1100 | | |
| 1101 | | static DRIVER_INIT(mahmajn) |
| 1102 | | { |
| 1103 | | |
| 1104 | | system24temp_sys16_io_set_callbacks(mahmajn_io_r, mahmajn_io_w, resetcontrol_w, iod_r, iod_w); |
| 1105 | | mlatch_table = mahmajn_mlt; |
| 1106 | | track_size = 0; |
| 1107 | | cur_input_line = 0; |
| 1108 | | } |
| 1109 | | |
| 1110 | | static DRIVER_INIT(mahmajn2) |
| 1111 | | { |
| 1112 | | |
| 1113 | | system24temp_sys16_io_set_callbacks(mahmajn_io_r, mahmajn_io_w, resetcontrol_w, iod_r, iod_w); |
| 1114 | | mlatch_table = mahmajn2_mlt; |
| 1115 | | track_size = 0; |
| 1116 | | cur_input_line = 0; |
| 1117 | | } |
| 1118 | | |
| 1119 | | static DRIVER_INIT(hotrod) |
| 1120 | | { |
| 1121 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1122 | | mlatch_table = 0; |
| 1123 | | |
| 1124 | | // Sector Size |
| 1125 | | // 1 8192 |
| 1126 | | // 2 1024 |
| 1127 | | // 3 1024 |
| 1128 | | // 4 1024 |
| 1129 | | // 5 512 |
| 1130 | | // 6 256 |
| 1131 | | |
| 1132 | | track_size = 0x2f00; |
| 1133 | | } |
| 1134 | | |
| 1135 | | static DRIVER_INIT(bnzabros) |
| 1136 | | { |
| 1137 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1138 | | mlatch_table = bnzabros_mlt; |
| 1139 | | |
| 1140 | | // Sector Size |
| 1141 | | // 1 2048 |
| 1142 | | // 2 2048 |
| 1143 | | // 3 2048 |
| 1144 | | // 4 2048 |
| 1145 | | // 5 2048 |
| 1146 | | // 6 1024 |
| 1147 | | // 7 256 |
| 1148 | | |
| 1149 | | track_size = 0x2d00; |
| 1150 | | } |
| 1151 | | |
| 1152 | | static DRIVER_INIT(sspirits) |
| 1153 | | { |
| 1154 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1155 | | mlatch_table = 0; |
| 1156 | | track_size = 0x2d00; |
| 1157 | | s24_fd1094_driver_init(); |
| 1158 | | |
| 1159 | | } |
| 1160 | | |
| 1161 | | static DRIVER_INIT(sspiritj) |
| 1162 | | { |
| 1163 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1164 | | mlatch_table = 0; |
| 1165 | | track_size = 0x2f00; |
| 1166 | | s24_fd1094_driver_init(); |
| 1167 | | |
| 1168 | | } |
| 1169 | | |
| 1170 | | static DRIVER_INIT(dcclubfd) |
| 1171 | | { |
| 1172 | | system24temp_sys16_io_set_callbacks(dcclub_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1173 | | mlatch_table = dcclub_mlt; |
| 1174 | | track_size = 0x2d00; |
| 1175 | | s24_fd1094_driver_init(); |
| 1176 | | |
| 1177 | | } |
| 1178 | | |
| 1179 | | |
| 1180 | | |
| 1181 | | |
| 1182 | | static DRIVER_INIT(sgmast) |
| 1183 | | { |
| 1184 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1185 | | mlatch_table = 0; |
| 1186 | | track_size = 0x2d00; |
| 1187 | | s24_fd1094_driver_init(); |
| 1188 | | |
| 1189 | | } |
| 1190 | | |
| 1191 | | static DRIVER_INIT(qsww) |
| 1192 | | { |
| 1193 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1194 | | mlatch_table = 0; |
| 1195 | | track_size = 0x2d00; |
| 1196 | | s24_fd1094_driver_init(); |
| 1197 | | } |
| 1198 | | |
| 1199 | | static DRIVER_INIT(gground) |
| 1200 | | { |
| 1201 | | system24temp_sys16_io_set_callbacks(gground_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1202 | | mlatch_table = 0; |
| 1203 | | track_size = 0x2d00; |
| 1204 | | s24_fd1094_driver_init(); |
| 1205 | | } |
| 1206 | | |
| 1207 | | static DRIVER_INIT(crkdown) |
| 1208 | | { |
| 1209 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1210 | | mlatch_table = 0; |
| 1211 | | track_size = 0x2d00; |
| 1212 | | s24_fd1094_driver_init(); |
| 1213 | | } |
| 1214 | | |
| 1215 | | static DRIVER_INIT(roughrac) |
| 1216 | | { |
| 1217 | | system24temp_sys16_io_set_callbacks(hotrod_io_r, hotrod_io_w, resetcontrol_w, iod_r, iod_w); |
| 1218 | | mlatch_table = 0; |
| 1219 | | track_size = 0x2d00; |
| 1220 | | s24_fd1094_driver_init(); |
| 1221 | | } |
| 1222 | | |
| 1223 | | |
| 1224 | | static NVRAM_HANDLER(system24) |
| 1225 | | { |
| 1226 | | if(!track_size || !file) |
| 1227 | | return; |
| 1228 | | if(read_or_write) |
| 1229 | | mame_fwrite(file, memory_region(REGION_USER2), 2*track_size); |
| 1230 | | else |
| 1231 | | mame_fread(file, memory_region(REGION_USER2), 2*track_size); |
| 1232 | | } |
| 1233 | | |
| 1234 | | static MACHINE_RESET(system24) |
| 1235 | | { |
| 1236 | | cpunum_set_input_line(1, INPUT_LINE_HALT, ASSERT_LINE); |
| 1237 | | prev_resetcontrol = resetcontrol = 0x06; |
| 1238 | | fdc_init(); |
| 1239 | | curbank = 0; |
| 1240 | | reset_bank(); |
| 1241 | | irq_init(); |
| 1242 | | mlatch = 0x00; |
| 1243 | | } |
| 1244 | | |
| 1245 | | static INPUT_PORTS_START( hotrod ) |
| 1246 | | PORT_START |
| 1247 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1248 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1249 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 1250 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1251 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) |
| 1252 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN5 ) |
| 1253 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN6 ) |
| 1254 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1255 | | |
| 1256 | | PORT_START |
| 1257 | | PORT_BIT( 0x07, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1258 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1259 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE2 ) |
| 1260 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE3 ) |
| 1261 | | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1262 | | |
| 1263 | | PORT_START |
| 1264 | | PORT_BIT( 0x03, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1265 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1266 | | PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1267 | | |
| 1268 | | SYS16_COINAGE |
| 1269 | | |
| 1270 | | PORT_START |
| 1271 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) |
| 1272 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1273 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1274 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) ) |
| 1275 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1276 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1277 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) ) |
| 1278 | | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 1279 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1280 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) ) |
| 1281 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 1282 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1283 | | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) |
| 1284 | | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 1285 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1286 | | PORT_DIPNAME( 0x20, 0x20, "Start Credit" ) |
| 1287 | | PORT_DIPSETTING( 0x20, "1" ) |
| 1288 | | PORT_DIPSETTING( 0x00, "2" ) |
| 1289 | | PORT_DIPNAME( 0x40, 0x40, "Coin Chute" ) |
| 1290 | | PORT_DIPSETTING( 0x40, "Separate" ) |
| 1291 | | PORT_DIPSETTING( 0x00, "Common" ) |
| 1292 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) |
| 1293 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1294 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1295 | | |
| 1296 | | PORT_START |
| 1297 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 1298 | | |
| 1299 | | PORT_START |
| 1300 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 1301 | | |
| 1302 | | PORT_START |
| 1303 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(3) |
| 1304 | | |
| 1305 | | PORT_START /* p4 not used on this set */ |
| 1306 | | PORT_BIT( 0xffff, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1307 | | |
| 1308 | | PORT_START |
| 1309 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 1310 | | |
| 1311 | | PORT_START |
| 1312 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 1313 | | |
| 1314 | | PORT_START |
| 1315 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(3) |
| 1316 | | |
| 1317 | | PORT_START /* p4 not used on this set */ |
| 1318 | | PORT_BIT( 0xffff, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 1319 | | INPUT_PORTS_END |
| 1320 | | |
| 1321 | | static INPUT_PORTS_START( hotrodj ) |
| 1322 | | PORT_START |
| 1323 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1324 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1325 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 1326 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN4 ) |
| 1327 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN5 ) |
| 1328 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN6 ) |
| 1329 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN7 ) |
| 1330 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN8 ) |
| 1331 | | |
| 1332 | | PORT_START |
| 1333 | | PORT_BIT( 0x07, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1334 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1335 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE2 ) |
| 1336 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE3 ) |
| 1337 | | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_SERVICE4 ) |
| 1338 | | |
| 1339 | | PORT_START |
| 1340 | | PORT_BIT( 0x03, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1341 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1342 | | PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1343 | | |
| 1344 | | SYS16_COINAGE |
| 1345 | | |
| 1346 | | PORT_START |
| 1347 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) |
| 1348 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1349 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1350 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) ) |
| 1351 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1352 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1353 | | PORT_DIPNAME( 0x04, 0x04, "Start Credit" ) |
| 1354 | | PORT_DIPSETTING( 0x04, "1" ) |
| 1355 | | PORT_DIPSETTING( 0x00, "2" ) |
| 1356 | | PORT_DIPNAME( 0x08, 0x08, "Play Mode" ) |
| 1357 | | PORT_DIPSETTING( 0x08, "4 Player" ) |
| 1358 | | PORT_DIPSETTING( 0x00, "2 Player" ) |
| 1359 | | PORT_DIPNAME( 0x10, 0x10, "Game Style" ) |
| 1360 | | PORT_DIPSETTING( 0x10, "4 Sides" ) |
| 1361 | | PORT_DIPSETTING( 0x00, "2 Sides" ) |
| 1362 | | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Language ) ) |
| 1363 | | PORT_DIPSETTING( 0x20, DEF_STR( Japanese ) ) |
| 1364 | | PORT_DIPSETTING( 0x00, DEF_STR( English ) ) |
| 1365 | | PORT_DIPNAME( 0x40, 0x40, "Coin Chute" ) |
| 1366 | | PORT_DIPSETTING( 0x40, "Separate" ) |
| 1367 | | PORT_DIPSETTING( 0x00, "Common" ) |
| 1368 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) |
| 1369 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1370 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1371 | | |
| 1372 | | PORT_START |
| 1373 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 1374 | | |
| 1375 | | PORT_START |
| 1376 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 1377 | | |
| 1378 | | PORT_START |
| 1379 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(3) |
| 1380 | | |
| 1381 | | PORT_START |
| 1382 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(4) |
| 1383 | | |
| 1384 | | PORT_START |
| 1385 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 1386 | | |
| 1387 | | PORT_START |
| 1388 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 1389 | | |
| 1390 | | PORT_START |
| 1391 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(3) |
| 1392 | | |
| 1393 | | PORT_START |
| 1394 | | PORT_BIT( 0xff, 0x01, IPT_PEDAL ) PORT_MINMAX(0x01,0xff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(4) |
| 1395 | | INPUT_PORTS_END |
| 1396 | | |
| 1397 | | static INPUT_PORTS_START( bnzabros ) |
| 1398 | | PORT_START |
| 1399 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1400 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1401 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1402 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1403 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1404 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1405 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1406 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1407 | | |
| 1408 | | PORT_START |
| 1409 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1410 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1411 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1412 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1413 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1414 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1415 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1416 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1417 | | |
| 1418 | | PORT_START |
| 1419 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1420 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1421 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1422 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1423 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1424 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1425 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1426 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1427 | | |
| 1428 | | SYS16_COINAGE |
| 1429 | | |
| 1430 | | PORT_START |
| 1431 | | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1432 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1433 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1434 | | PORT_DIPNAME( 0x02, 0x02, "Start Credit" ) |
| 1435 | | PORT_DIPSETTING( 0x02, "1" ) |
| 1436 | | PORT_DIPSETTING( 0x00, "2" ) |
| 1437 | | PORT_DIPNAME( 0x04, 0x04, "Coin Chute" ) |
| 1438 | | PORT_DIPSETTING( 0x04, "Common" ) |
| 1439 | | PORT_DIPSETTING( 0x00, "Individual" ) |
| 1440 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Flip_Screen ) ) |
| 1441 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 1442 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1443 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) |
| 1444 | | PORT_DIPSETTING( 0x30, DEF_STR( Normal ) ) |
| 1445 | | PORT_DIPSETTING( 0x20, DEF_STR( Easy ) ) |
| 1446 | | PORT_DIPSETTING( 0x10, DEF_STR( Hard ) ) |
| 1447 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1448 | | PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) ) |
| 1449 | | PORT_DIPSETTING( 0xc0, "3" ) |
| 1450 | | PORT_DIPSETTING( 0x80, "4" ) |
| 1451 | | PORT_DIPSETTING( 0x40, "2" ) |
| 1452 | | PORT_DIPSETTING( 0x00, "1" ) |
| 1453 | | INPUT_PORTS_END |
| 1454 | | |
| 1455 | | static INPUT_PORTS_START( crkdown ) |
| 1456 | | PORT_START |
| 1457 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1458 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1459 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1460 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("P1 Service") //enabled with "Separate" |
| 1461 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1462 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1463 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1464 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1465 | | |
| 1466 | | PORT_START |
| 1467 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1468 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1469 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1470 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("P2 Service") //enabled with "Separate" |
| 1471 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1472 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1473 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1474 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1475 | | |
| 1476 | | PORT_START |
| 1477 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1478 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1479 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1480 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("All Service") |
| 1481 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1482 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1483 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1484 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1485 | | |
| 1486 | | SYS16_COINAGE |
| 1487 | | |
| 1488 | | PORT_START |
| 1489 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) |
| 1490 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1491 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1492 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) ) |
| 1493 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1494 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1495 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) ) |
| 1496 | | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 1497 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1498 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) ) |
| 1499 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 1500 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1501 | | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) |
| 1502 | | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 1503 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1504 | | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) ) |
| 1505 | | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 1506 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1507 | | PORT_DIPNAME( 0x40, 0x40, "Coin Chute" ) |
| 1508 | | PORT_DIPSETTING( 0x40, "Common" ) |
| 1509 | | PORT_DIPSETTING( 0x00, "Separate" ) |
| 1510 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) |
| 1511 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1512 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1513 | | INPUT_PORTS_END |
| 1514 | | |
| 1515 | | static INPUT_PORTS_START( roughrac ) |
| 1516 | | PORT_START |
| 1517 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1518 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1519 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1520 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("P1 Service") //enabled with "Separate" |
| 1521 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1522 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1523 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1524 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1525 | | |
| 1526 | | PORT_START |
| 1527 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1528 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1529 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1530 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("P2 Service") //enabled with "Separate" |
| 1531 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1532 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1533 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1534 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1535 | | |
| 1536 | | PORT_START |
| 1537 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1538 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1539 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1540 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("All Service") |
| 1541 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1542 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1543 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1544 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1545 | | |
| 1546 | | SYS16_COINAGE |
| 1547 | | |
| 1548 | | PORT_START |
| 1549 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) ) |
| 1550 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1551 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1552 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unused ) ) |
| 1553 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1554 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1555 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) ) |
| 1556 | | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 1557 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1558 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) ) |
| 1559 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 1560 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1561 | | PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) ) |
| 1562 | | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 1563 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1564 | | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) ) |
| 1565 | | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 1566 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1567 | | PORT_DIPNAME( 0x40, 0x40, "Coin Chute" ) |
| 1568 | | PORT_DIPSETTING( 0x40, "Common" ) |
| 1569 | | PORT_DIPSETTING( 0x00, "Separate" ) |
| 1570 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) |
| 1571 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1572 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1573 | | |
| 1574 | | PORT_START |
| 1575 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(1) |
| 1576 | | |
| 1577 | | PORT_START |
| 1578 | | PORT_BIT( 0xfff, 0x000, IPT_DIAL ) PORT_MINMAX(0x000,0xfff) PORT_SENSITIVITY(25) PORT_KEYDELTA(15) PORT_PLAYER(2) |
| 1579 | | INPUT_PORTS_END |
| 1580 | | |
| 1581 | | static INPUT_PORTS_START( sspirits ) |
| 1582 | | PORT_START |
| 1583 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1584 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1585 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1586 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1587 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1588 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1589 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1590 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1591 | | |
| 1592 | | PORT_START |
| 1593 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 1594 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1595 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1596 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1597 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1598 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1599 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1600 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1601 | | |
| 1602 | | PORT_START |
| 1603 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1604 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1605 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1606 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1607 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1608 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1609 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1610 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1611 | | |
| 1612 | | SYS16_COINAGE |
| 1613 | | |
| 1614 | | PORT_START |
| 1615 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) |
| 1616 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1617 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1618 | | |
| 1619 | | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1620 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1621 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1622 | | |
| 1623 | | PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) ) |
| 1624 | | PORT_DIPSETTING( 0x0c, "3" ) |
| 1625 | | PORT_DIPSETTING( 0x08, "4" ) |
| 1626 | | PORT_DIPSETTING( 0x04, "5" ) |
| 1627 | | PORT_DIPSETTING( 0x00, "2" ) |
| 1628 | | |
| 1629 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) ) |
| 1630 | | PORT_DIPSETTING( 0x30, "600K" ) |
| 1631 | | PORT_DIPSETTING( 0x20, "500K" ) |
| 1632 | | PORT_DIPSETTING( 0x10, "800K" ) |
| 1633 | | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 1634 | | |
| 1635 | | PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) |
| 1636 | | PORT_DIPSETTING( 0xc0, DEF_STR( Normal ) ) |
| 1637 | | PORT_DIPSETTING( 0x80, DEF_STR( Easy ) ) |
| 1638 | | PORT_DIPSETTING( 0x40, DEF_STR( Hard ) ) |
| 1639 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1640 | | INPUT_PORTS_END |
| 1641 | | |
| 1642 | | |
| 1643 | | static INPUT_PORTS_START( qgh ) |
| 1644 | | PORT_START |
| 1645 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1646 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1647 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1648 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1649 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1650 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1651 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1652 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1653 | | |
| 1654 | | PORT_START |
| 1655 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1656 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1657 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1658 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1659 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1660 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1661 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1662 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1663 | | |
| 1664 | | PORT_START |
| 1665 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1666 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1667 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1668 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1669 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1670 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1671 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1672 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1673 | | |
| 1674 | | SYS16_COINAGE |
| 1675 | | |
| 1676 | | PORT_START |
| 1677 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) |
| 1678 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1679 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1680 | | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1681 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1682 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1683 | | PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) ) |
| 1684 | | PORT_DIPSETTING( 0x0c, DEF_STR( Normal ) ) |
| 1685 | | PORT_DIPSETTING( 0x08, DEF_STR( Easy ) ) |
| 1686 | | PORT_DIPSETTING( 0x04, DEF_STR( Hard ) ) |
| 1687 | | PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) |
| 1688 | | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) |
| 1689 | | PORT_DIPSETTING( 0x30, "5" ) |
| 1690 | | PORT_DIPSETTING( 0x20, "4" ) |
| 1691 | | PORT_DIPSETTING( 0x10, "3" ) |
| 1692 | | PORT_DIPSETTING( 0x00, "3" ) |
| 1693 | | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) |
| 1694 | | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 1695 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1696 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) ) |
| 1697 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1698 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1699 | | INPUT_PORTS_END |
| 1700 | | |
| 1701 | | static INPUT_PORTS_START( dcclub ) |
| 1702 | | PORT_START |
| 1703 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 1704 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1705 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 1706 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1707 | | |
| 1708 | | PORT_START |
| 1709 | | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1710 | | |
| 1711 | | PORT_START |
| 1712 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1713 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1714 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1715 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1716 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1717 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1718 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1719 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1720 | | |
| 1721 | | SYS16_COINAGE |
| 1722 | | |
| 1723 | | PORT_START |
| 1724 | | PORT_DIPNAME( 0x01, 0x01, "Start Credit" ) |
| 1725 | | PORT_DIPSETTING( 0x01, "1" ) |
| 1726 | | PORT_DIPSETTING( 0x00, "2" ) |
| 1727 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) |
| 1728 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1729 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1730 | | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1731 | | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 1732 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1733 | | PORT_DIPNAME( 0x08, 0x08, "Timing Meter" ) |
| 1734 | | PORT_DIPSETTING( 0x08, DEF_STR( Normal ) ) |
| 1735 | | PORT_DIPSETTING( 0x00, DEF_STR( Easy ) ) |
| 1736 | | PORT_DIPNAME( 0x10, 0x10, "Initial Balls" ) |
| 1737 | | PORT_DIPSETTING( 0x10, "2" ) |
| 1738 | | PORT_DIPSETTING( 0x00, "1" ) |
| 1739 | | PORT_DIPNAME( 0x20, 0x20, "Balls Limit" ) |
| 1740 | | PORT_DIPSETTING( 0x20, "4" ) |
| 1741 | | PORT_DIPSETTING( 0x00, "3" ) |
| 1742 | | PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) |
| 1743 | | PORT_DIPSETTING( 0xc0, DEF_STR( Normal ) ) |
| 1744 | | PORT_DIPSETTING( 0x80, DEF_STR( Easy ) ) |
| 1745 | | PORT_DIPSETTING( 0x40, DEF_STR( Hard ) ) |
| 1746 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1747 | | |
| 1748 | | PORT_START |
| 1749 | | PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00,0x8f) PORT_SENSITIVITY(16) PORT_KEYDELTA(16) PORT_PLAYER(1) |
| 1750 | | INPUT_PORTS_END |
| 1751 | | |
| 1752 | | static INPUT_PORTS_START( quizmeku ) |
| 1753 | | PORT_START |
| 1754 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 ) |
| 1755 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1756 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1757 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| 1758 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1759 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1760 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1761 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1762 | | |
| 1763 | | PORT_START |
| 1764 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START4 ) |
| 1765 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1766 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1767 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4) |
| 1768 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1769 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1770 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1771 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1772 | | |
| 1773 | | PORT_START |
| 1774 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(4) |
| 1775 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(4) |
| 1776 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(4) |
| 1777 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4) |
| 1778 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 1779 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 1780 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 1781 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 1782 | | |
| 1783 | | PORT_START |
| 1784 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1785 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1786 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1787 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) |
| 1788 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 1789 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 1790 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1791 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1792 | | |
| 1793 | | SYS16_COINAGE |
| 1794 | | |
| 1795 | | PORT_START |
| 1796 | | PORT_DIPNAME( 0x01, 0x00, "Play Mode" ) |
| 1797 | | PORT_DIPSETTING( 0x01, "2 Player" ) |
| 1798 | | PORT_DIPSETTING( 0x00, "4 Player" ) |
| 1799 | | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1800 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1801 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1802 | | PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Lives ) ) |
| 1803 | | PORT_DIPSETTING( 0x0c, "3" ) |
| 1804 | | PORT_DIPSETTING( 0x08, "2" ) |
| 1805 | | PORT_DIPSETTING( 0x04, "4" ) |
| 1806 | | PORT_DIPSETTING( 0x00, "5" ) |
| 1807 | | PORT_DIPNAME( 0x10, 0x10, "Answer Counts" ) |
| 1808 | | PORT_DIPSETTING( 0x10, "Every" ) |
| 1809 | | PORT_DIPSETTING( 0x00, "3" ) |
| 1810 | | PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) |
| 1811 | | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 1812 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1813 | | PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) |
| 1814 | | PORT_DIPSETTING( 0xc0, DEF_STR( Normal ) ) |
| 1815 | | PORT_DIPSETTING( 0x80, DEF_STR( Easy ) ) |
| 1816 | | PORT_DIPSETTING( 0x40, DEF_STR( Hard ) ) |
| 1817 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1818 | | INPUT_PORTS_END |
| 1819 | | |
| 1820 | | static INPUT_PORTS_START( mahmajn ) |
| 1821 | | PORT_START |
| 1822 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("A") PORT_CODE(KEYCODE_A) |
| 1823 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("B") PORT_CODE(KEYCODE_B) |
| 1824 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("C") PORT_CODE(KEYCODE_C) |
| 1825 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("D") PORT_CODE(KEYCODE_D) |
| 1826 | | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1827 | | |
| 1828 | | PORT_START |
| 1829 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("E") PORT_CODE(KEYCODE_E) |
| 1830 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("F") PORT_CODE(KEYCODE_F) |
| 1831 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("G") PORT_CODE(KEYCODE_G) |
| 1832 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("H") PORT_CODE(KEYCODE_H) |
| 1833 | | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1834 | | |
| 1835 | | PORT_START |
| 1836 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("I") PORT_CODE(KEYCODE_I) |
| 1837 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("J") PORT_CODE(KEYCODE_J) |
| 1838 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("K") PORT_CODE(KEYCODE_K) |
| 1839 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("L") PORT_CODE(KEYCODE_L) |
| 1840 | | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1841 | | |
| 1842 | | PORT_START |
| 1843 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("M") PORT_CODE(KEYCODE_M) |
| 1844 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("N") PORT_CODE(KEYCODE_N) |
| 1845 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Chi") PORT_CODE(KEYCODE_SPACE) |
| 1846 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Pon") PORT_CODE(KEYCODE_LALT) |
| 1847 | | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1848 | | |
| 1849 | | PORT_START |
| 1850 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) |
| 1851 | | PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1852 | | |
| 1853 | | PORT_START |
| 1854 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Kan") PORT_CODE(KEYCODE_LCONTROL) |
| 1855 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reach") PORT_CODE(KEYCODE_LSHIFT) |
| 1856 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Ron") PORT_CODE(KEYCODE_Z) |
| 1857 | | PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1858 | | |
| 1859 | | PORT_START |
| 1860 | | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1861 | | |
| 1862 | | PORT_START |
| 1863 | | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1864 | | |
| 1865 | | PORT_START |
| 1866 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1867 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1868 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1869 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 1870 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1871 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1872 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1873 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1874 | | |
| 1875 | | SYS16_COINAGE |
| 1876 | | |
| 1877 | | PORT_START |
| 1878 | | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1879 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1880 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1881 | | PORT_DIPNAME( 0x02, 0x02, "Start Score" ) |
| 1882 | | PORT_DIPSETTING( 0x02, "3000" ) |
| 1883 | | PORT_DIPSETTING( 0x00, "2000" ) |
| 1884 | | PORT_DIPNAME( 0x0c, 0x0c, "Difficulty (computer)" ) |
| 1885 | | PORT_DIPSETTING( 0x0c, DEF_STR( Normal ) ) |
| 1886 | | PORT_DIPSETTING( 0x08, DEF_STR( Easy ) ) |
| 1887 | | PORT_DIPSETTING( 0x04, DEF_STR( Hard ) ) |
| 1888 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1889 | | PORT_DIPNAME( 0x30, 0x30, "Difficulty (player)" ) |
| 1890 | | PORT_DIPSETTING( 0x30, DEF_STR( Normal ) ) |
| 1891 | | PORT_DIPSETTING( 0x20, DEF_STR( Easy ) ) |
| 1892 | | PORT_DIPSETTING( 0x10, DEF_STR( Hard ) ) |
| 1893 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 1894 | | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) |
| 1895 | | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 1896 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1897 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) ) |
| 1898 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 1899 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1900 | | INPUT_PORTS_END |
| 1901 | | |
| 1902 | | static INPUT_PORTS_START( gground ) |
| 1903 | | PORT_START |
| 1904 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1905 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1906 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1907 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("P1 Service") |
| 1908 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1909 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1910 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1911 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1912 | | |
| 1913 | | PORT_START |
| 1914 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1915 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1916 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1917 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("P2 Service") |
| 1918 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1919 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1920 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1921 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1922 | | |
| 1923 | | PORT_START |
| 1924 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 1925 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| 1926 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3) |
| 1927 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE4 ) PORT_NAME("P3 Service") |
| 1928 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 1929 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 1930 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 1931 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 1932 | | |
| 1933 | | PORT_START |
| 1934 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 1935 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 1936 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 1937 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("All Service") |
| 1938 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1939 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1940 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1941 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1942 | | |
| 1943 | | SYS16_COINAGE |
| 1944 | | |
| 1945 | | PORT_START |
| 1946 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) |
| 1947 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 1948 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1949 | | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) |
| 1950 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 1951 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 1952 | | PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Difficulty ) ) |
| 1953 | | PORT_DIPSETTING( 0x00, DEF_STR( Easiest ) ) |
| 1954 | | PORT_DIPSETTING( 0x10, DEF_STR( Easier ) ) |
| 1955 | | PORT_DIPSETTING( 0x08, DEF_STR( Easy ) ) |
| 1956 | | PORT_DIPSETTING( 0x18, "Little Easy" ) |
| 1957 | | PORT_DIPSETTING( 0x1c, "Moderate" ) |
| 1958 | | PORT_DIPSETTING( 0x0c, "Little Hard" ) |
| 1959 | | PORT_DIPSETTING( 0x14, DEF_STR( Hard ) ) |
| 1960 | | PORT_DIPSETTING( 0x04, DEF_STR( Hardest ) ) |
| 1961 | | PORT_DIPNAME( 0x60, 0x60, "Time Limit Per Stage" ) |
| 1962 | | PORT_DIPSETTING( 0x20, DEF_STR( Easiest ) ) |
| 1963 | | PORT_DIPSETTING( 0x40, DEF_STR( Easy ) ) |
| 1964 | | PORT_DIPSETTING( 0x60, "Moderate" ) |
| 1965 | | PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) |
| 1966 | | PORT_DIPNAME( 0x80, 0x80, "Clock Of Time Limit" ) |
| 1967 | | PORT_DIPSETTING( 0x80, "1.00 sec" ) |
| 1968 | | PORT_DIPSETTING( 0x00, "0.80 sec" ) |
| 1969 | | INPUT_PORTS_END |
| 1970 | | |
| 1971 | | static INPUT_PORTS_START( ggroundj ) |
| 1972 | | PORT_START |
| 1973 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1974 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 1975 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 1976 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("P1 Service") |
| 1977 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 1978 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 1979 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 1980 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 1981 | | |
| 1982 | | PORT_START |
| 1983 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 1984 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 1985 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 1986 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 ) PORT_NAME("P2 Service") |
| 1987 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 1988 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 1989 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 1990 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 1991 | | |
| 1992 | | PORT_START |
| 1993 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 1994 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| 1995 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3) |
| 1996 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE4 ) PORT_NAME("P3 Service") |
| 1997 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 1998 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 1999 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 2000 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 2001 | | |
| 2002 | | PORT_START |
| 2003 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) |
| 2004 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) |
| 2005 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME( DEF_STR( Service_Mode )) PORT_CODE(KEYCODE_F2) |
| 2006 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("All Service") |
| 2007 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) |
| 2008 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) |
| 2009 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2010 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 2011 | | |
| 2012 | | SYS16_COINAGE |
| 2013 | | |
| 2014 | | PORT_START |
| 2015 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) |
| 2016 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2017 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2018 | | PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) |
| 2019 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 2020 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2021 | | PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Difficulty ) ) |
| 2022 | | PORT_DIPSETTING( 0x00, DEF_STR( Easiest ) ) |
| 2023 | | PORT_DIPSETTING( 0x10, DEF_STR( Easier ) ) |
| 2024 | | PORT_DIPSETTING( 0x08, DEF_STR( Easy ) ) |
| 2025 | | PORT_DIPSETTING( 0x18, "Little Easy" ) |
| 2026 | | PORT_DIPSETTING( 0x1c, "Moderate" ) |
| 2027 | | PORT_DIPSETTING( 0x0c, "Little Hard" ) |
| 2028 | | PORT_DIPSETTING( 0x14, DEF_STR( Hard ) ) |
| 2029 | | PORT_DIPSETTING( 0x04, DEF_STR( Hardest ) ) |
| 2030 | | PORT_DIPNAME( 0x60, 0x60, "Time Limit Per Stage" ) |
| 2031 | | PORT_DIPSETTING( 0x20, DEF_STR( Easiest ) ) |
| 2032 | | PORT_DIPSETTING( 0x40, DEF_STR( Easy ) ) |
| 2033 | | PORT_DIPSETTING( 0x60, "Moderate" ) |
| 2034 | | PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) |
| 2035 | | PORT_DIPNAME( 0x80, 0x80, "Clock Of Time Limit" ) |
| 2036 | | PORT_DIPSETTING( 0x80, "1.00 sec" ) |
| 2037 | | PORT_DIPSETTING( 0x00, "0.80 sec" ) |
| 2038 | | INPUT_PORTS_END |
| 2039 | | |
| 2040 | | ROM_START( hotrod ) |
| 2041 | | ROM_REGION( 0x100000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2042 | | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 2043 | | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 2044 | | |
| 2045 | | ROM_REGION( 0x1d6000, REGION_USER2, 0) |
| 2046 | | ROM_LOAD( "ds3-5000-01d_3p_turbo.bin", 0x000000, 0x1d6000, CRC(627e8053) SHA1(d1a95f99078f5a29cccacfb1b30c3c9ead7b605c) ) |
| 2047 | | ROM_END |
| 2048 | | |
| 2049 | | ROM_START( hotroda ) |
| 2050 | | ROM_REGION( 0x100000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2051 | | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 2052 | | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 2053 | | |
| 2054 | | ROM_REGION( 0x1d6000, REGION_USER2, 0) |
| 2055 | | ROM_LOAD( "ds3-5000-01d.bin", 0x000000, 0x1d6000, CRC(abf67b02) SHA1(f397435eaad691ff5a38d6d1d27840ed95a62df3) ) // World? 3 Playe TURBO |
| 2056 | | ROM_END |
| 2057 | | |
| 2058 | | ROM_START( hotrodj ) |
| 2059 | | ROM_REGION( 0x100000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2060 | | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 2061 | | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 2062 | | |
| 2063 | | ROM_REGION( 0x1d6000, REGION_USER2, 0) |
| 2064 | | ROM_LOAD( "ds3-5000-01a-revb.bin", 0x000000, 0x1d6000, CRC(a39a0c2d) SHA1(ea8104c2266c48f480837aa7679c0a6f0c5e5452) ) // Japanese 4 Player |
| 2065 | | ROM_END |
| 2066 | | |
| 2067 | | ROM_START( qgh ) |
| 2068 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2069 | | ROM_LOAD16_BYTE( "16900b", 0x000000, 0x20000, CRC(20d7b7d1) SHA1(345b228c27e5f2fef9a2b8b5f619c59450a070f8) ) |
| 2070 | | ROM_LOAD16_BYTE( "16899b", 0x000001, 0x20000, CRC(397b3ba9) SHA1(1773212cd87dcff840f3953ec368be7e2394faf0) ) |
| 2071 | | |
| 2072 | | ROM_REGION16_BE( 0x400000, REGION_USER1, 0) |
| 2073 | | ROM_LOAD16_BYTE( "16902a", 0x000000, 0x80000, CRC(d35b7706) SHA1(341bca0af6b6d3f326328a88cdc69c7897b83a0d) ) |
| 2074 | | ROM_LOAD16_BYTE( "16901a", 0x000001, 0x80000, CRC(ab4bcb33) SHA1(8acd73096eb485c6dc83da6adfcc47d5d0f5b7f3) ) |
| 2075 | | ROM_LOAD16_BYTE( "16904", 0x100000, 0x80000, CRC(10987c88) SHA1(66f893690565aed613427421958ebe225a20ad0f) ) |
| 2076 | | ROM_LOAD16_BYTE( "16903", 0x100001, 0x80000, CRC(c19f9e46) SHA1(f1275674a8b44957428d79402f240ca21a34f48d) ) |
| 2077 | | ROM_LOAD16_BYTE( "16906", 0x200000, 0x80000, CRC(99c6773e) SHA1(568570b607d2cbbedb39ceae5bbc479478fae4ca) ) |
| 2078 | | ROM_LOAD16_BYTE( "16905", 0x200001, 0x80000, CRC(3922bbe3) SHA1(4378ca900f96138b5e33265ddac56af7b45afbc8) ) |
| 2079 | | ROM_LOAD16_BYTE( "16908", 0x300000, 0x80000, CRC(407ec20f) SHA1(c8a909d8e9ba024a37a5af6b7920fe7023f80d49) ) |
| 2080 | | ROM_LOAD16_BYTE( "16907", 0x300001, 0x80000, CRC(734b0a82) SHA1(d3fb31c55e79b99040beb7c49faaf2e17b95aa87) ) |
| 2081 | | ROM_END |
| 2082 | | |
| 2083 | | ROM_START( qrouka ) |
| 2084 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2085 | | ROM_LOAD16_BYTE( "14485", 0x000000, 0x20000, CRC(fc0085f9) SHA1(0250d1e17e19b541b85198ec4207e55bfbd5c32e) ) |
| 2086 | | ROM_LOAD16_BYTE( "14484", 0x000001, 0x20000, CRC(f51c641c) SHA1(3f2fd0be7d58c75e88565393da5e810655413b53) ) |
| 2087 | | |
| 2088 | | ROM_REGION16_BE( 0x200000, REGION_USER1, 0) |
| 2089 | | ROM_LOAD16_BYTE( "14482", 0x000000, 0x80000, CRC(7a13dd97) SHA1(bfe9950d2cd41f3f866520923c1ed7b8da1990ec) ) |
| 2090 | | ROM_LOAD16_BYTE( "14483", 0x100000, 0x80000, CRC(f3eb51a0) SHA1(6904830ff5e7aa5f016e115572fb6da678896ede) ) |
| 2091 | | ROM_END |
| 2092 | | |
| 2093 | | ROM_START( mahmajn ) |
| 2094 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2095 | | ROM_LOAD16_BYTE( "epr14813.bin", 0x000000, 0x20000, CRC(ea38cf4b) SHA1(118ab2e0ae20a4db5e619945dfbb3f200de3979c) ) |
| 2096 | | ROM_LOAD16_BYTE( "epr14812.bin", 0x000001, 0x20000, CRC(5a3cb4a7) SHA1(c0f21282140e8e6e927664f5f2b90525ae0207e9) ) |
| 2097 | | |
| 2098 | | ROM_REGION16_BE( 0x400000, REGION_USER1, 0) |
| 2099 | | ROM_LOAD16_BYTE( "mpr14820.bin", 0x000000, 0x80000, CRC(8d2a03d3) SHA1(b3339bcd101bcfe042e2a1cfdc8baef0a86624df) ) |
| 2100 | | ROM_LOAD16_BYTE( "mpr14819.bin", 0x000001, 0x80000, CRC(e84c4827) SHA1(54741295e1bdca7d0c78eb795a68b92212d43b2e) ) |
| 2101 | | ROM_LOAD16_BYTE( "mpr14822.bin", 0x100000, 0x80000, CRC(7c3dcc51) SHA1(a199c2c71cda44a2c8755074c1007d83c8d45d2d) ) |
| 2102 | | ROM_LOAD16_BYTE( "mpr14821.bin", 0x100001, 0x80000, CRC(bd8dc543) SHA1(fd50b14fa73307a62dc0b522cfedb8b3332c407e) ) |
| 2103 | | ROM_LOAD16_BYTE( "mpr14824.bin", 0x200000, 0x80000, CRC(38311933) SHA1(237d9a8ffe14ba9ec371bb571d7c9e74a93fe1f3) ) |
| 2104 | | ROM_LOAD16_BYTE( "mpr14823.bin", 0x200001, 0x80000, CRC(4c8d4550) SHA1(be8717d4080ce932fc8272ebe54e2b0a60b20edd) ) |
| 2105 | | ROM_LOAD16_BYTE( "mpr14826.bin", 0x300000, 0x80000, CRC(c31b8805) SHA1(b446388c83af2e14300b0c4248470d3a8c504f2c) ) |
| 2106 | | ROM_LOAD16_BYTE( "mpr14825.bin", 0x300001, 0x80000, CRC(191080a1) SHA1(407c1c5fa4c76732e8a444860094542e90a1e8e8) ) |
| 2107 | | ROM_END |
| 2108 | | |
| 2109 | | ROM_START( mahmajn2 ) |
| 2110 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2111 | | ROM_LOAD16_BYTE( "epr16799.bin", 0x000000, 0x20000, CRC(3a34cf75) SHA1(d22bf6334668af29167cf4244d18f9cd2e7ff7d6) ) |
| 2112 | | ROM_LOAD16_BYTE( "epr16798.bin", 0x000001, 0x20000, CRC(662923fa) SHA1(dcd3964d899d3f34dab22ffcd1a5af895804fae1) ) |
| 2113 | | |
| 2114 | | ROM_REGION16_BE( 0x400000, REGION_USER1, 0) |
| 2115 | | ROM_LOAD16_BYTE( "mpr16801.bin", 0x000000, 0x80000, CRC(74855a17) SHA1(d2d8e7da7b261e7cb64605284d2c78fbd1465b69) ) |
| 2116 | | ROM_LOAD16_BYTE( "mpr16800.bin", 0x000001, 0x80000, CRC(6dbc1e02) SHA1(cce5734243ff171759cecb5c05c12dc743a25c1d) ) |
| 2117 | | ROM_LOAD16_BYTE( "mpr16803.bin", 0x100000, 0x80000, CRC(9b658dd6) SHA1(eaaae289a3555aa6a92f57eea964dbbf48c5c2a4) ) |
| 2118 | | ROM_LOAD16_BYTE( "mpr16802.bin", 0x100001, 0x80000, CRC(b4723225) SHA1(acb8923c7d9908b1112f8d1f2512f18236915e5d) ) |
| 2119 | | ROM_LOAD16_BYTE( "mpr16805.bin", 0x200000, 0x80000, CRC(d15528df) SHA1(bda1dd5c98867c2e7666380bca0bc7eef8022fbc) ) |
| 2120 | | ROM_LOAD16_BYTE( "mpr16804.bin", 0x200001, 0x80000, CRC(a0de08e2) SHA1(2c36b66e74b88fb076e2eaa250c6d06ee0b4ac88) ) |
| 2121 | | ROM_LOAD16_BYTE( "mpr16807.bin", 0x300000, 0x80000, CRC(816188bb) SHA1(76b2690a6156766a1af94f01f6de1209b7756b2c) ) |
| 2122 | | ROM_LOAD16_BYTE( "mpr16806.bin", 0x300001, 0x80000, CRC(54b353d3) SHA1(40632e4571b44ee215b5a1f7aab9d89c460a5c9e) ) |
| 2123 | | ROM_END |
| 2124 | | |
| 2125 | | ROM_START( bnzabros ) |
| 2126 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2127 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2128 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2129 | | |
| 2130 | | ROM_REGION16_BE( 0x200000, REGION_USER1, 0) |
| 2131 | | ROM_LOAD16_BYTE( "mpr-13188-h.2", 0x000000, 0x80000, CRC(d3802294) SHA1(7608e71e8ef398ac24dbf851994253bca5ace625) ) |
| 2132 | | ROM_LOAD16_BYTE( "mpr-13187-h.1", 0x000001, 0x80000, CRC(e3d8c5f7) SHA1(5b1e8646debee2f2ef272ddd3320b0a17192fbbe) ) |
| 2133 | | ROM_LOAD16_BYTE( "mpr-13190.4", 0x100000, 0x40000, CRC(0b4df388) SHA1(340478bba82069ab745d6d8703e6801411fd2fc4) ) |
| 2134 | | ROM_RELOAD ( 0x180000, 0x40000) |
| 2135 | | ROM_LOAD16_BYTE( "mpr-13189.3", 0x100001, 0x40000, CRC(5ea5a2f3) SHA1(514b5446303c50aeb1d6d10d0a3f210da2577e16) ) |
| 2136 | | ROM_RELOAD ( 0x180001, 0x40000) |
| 2137 | | |
| 2138 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2139 | | ROM_LOAD( "ds3-5000-07d.img", 0x000000, 0x1c2000, CRC(ea7a3302) SHA1(5f92efb2e1135c1f3eeca38ba5789739a22dbd11) ) /* Region letter needs to be verfied */ |
| 2140 | | ROM_END |
| 2141 | | |
| 2142 | | ROM_START( bnzabrsj ) |
| 2143 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2144 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2145 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2146 | | |
| 2147 | | ROM_REGION16_BE( 0x200000, REGION_USER1, 0) |
| 2148 | | ROM_LOAD16_BYTE( "mpr-13188-h.2", 0x000000, 0x80000, CRC(d3802294) SHA1(7608e71e8ef398ac24dbf851994253bca5ace625) ) |
| 2149 | | ROM_LOAD16_BYTE( "mpr-13187-h.1", 0x000001, 0x80000, CRC(e3d8c5f7) SHA1(5b1e8646debee2f2ef272ddd3320b0a17192fbbe) ) |
| 2150 | | ROM_LOAD16_BYTE( "mpr-13190.4", 0x100000, 0x40000, CRC(0b4df388) SHA1(340478bba82069ab745d6d8703e6801411fd2fc4) ) |
| 2151 | | ROM_RELOAD ( 0x180000, 0x40000) |
| 2152 | | ROM_LOAD16_BYTE( "mpr-13189.3", 0x100001, 0x40000, CRC(5ea5a2f3) SHA1(514b5446303c50aeb1d6d10d0a3f210da2577e16) ) |
| 2153 | | ROM_RELOAD ( 0x180001, 0x40000) |
| 2154 | | |
| 2155 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2156 | | ROM_LOAD( "ds3-5000-07b.img", 0x000000, 0x1c2000, CRC(efa7f2a7) SHA1(eb905bff88fa40324fb92b91ac8a5878648c26e5) ) |
| 2157 | | ROM_END |
| 2158 | | |
| 2159 | | ROM_START( quizmeku ) // Quiz Mekuromeku Story |
| 2160 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2161 | | ROM_LOAD16_BYTE( "epr15343.ic2", 0x000000, 0x20000, CRC(c72399a7) SHA1(bfbf0079ea63f89bca4ce9081aed5d5c1d9d169a) ) |
| 2162 | | ROM_LOAD16_BYTE( "epr15342.ic1", 0x000001, 0x20000, CRC(0968ac84) SHA1(4e1170ac123adaec32819754b5075531ff1925fe) ) |
| 2163 | | |
| 2164 | | ROM_REGION16_BE( 0x400000, REGION_USER1, 0) |
| 2165 | | ROM_LOAD16_BYTE( "epr15345.ic5", 0x000000, 0x80000, CRC(88030b5d) SHA1(d2feeedb9a64c3dc8dd25716209f945d12fa9b53) ) |
| 2166 | | ROM_LOAD16_BYTE( "epr15344.ic4", 0x000001, 0x80000, CRC(dd11b382) SHA1(2b0f49fb307a9aba0f295de64782ee095c557170) ) |
| 2167 | | ROM_LOAD16_BYTE( "mpr15347.ic7", 0x100000, 0x80000, CRC(0472677b) SHA1(93ae57a2817b6b54c99814fca28ef51f7ff5e559) ) |
| 2168 | | ROM_LOAD16_BYTE( "mpr15346.ic6", 0x100001, 0x80000, CRC(746d4d0e) SHA1(7863abe36126684772a4459d5b6f3b24670ec02b) ) |
| 2169 | | ROM_LOAD16_BYTE( "mpr15349.ic9", 0x200000, 0x80000, CRC(770eecf1) SHA1(86cc5b4a325198dc1da1446ecd8e718415b7998a) ) |
| 2170 | | ROM_LOAD16_BYTE( "mpr15348.ic8", 0x200001, 0x80000, CRC(7666e960) SHA1(f3f88d5c8318301a8c73141de60292f8349ac0ce) ) |
| 2171 | | ROM_END |
| 2172 | | |
| 2173 | | ROM_START( sspirits ) |
| 2174 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2175 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2176 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2177 | | |
| 2178 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2179 | | ROM_LOAD( "ds3-5000-02-.img", 0x000000, 0x1c2000, CRC(cefbda69) SHA1(5b47ae0f1584ce1eb697246273ba761bd9e981c1) ) |
| 2180 | | ROM_END |
| 2181 | | |
| 2182 | | ROM_START( sspiritj ) |
| 2183 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2184 | | ROM_LOAD16_BYTE( "epr-11339.ic2", 0x000000, 0x20000, CRC(75130e73) SHA1(e079739f4a3da3807aac570442c5afef1a7d7b0e) ) |
| 2185 | | ROM_LOAD16_BYTE( "epr-11338.ic1", 0x000001, 0x20000, CRC(7d4a7ff3) SHA1(3d3af04d990d232ba0a8fe155de59bc632a0a461) ) |
| 2186 | | |
| 2187 | | ROM_REGION( 0x1d6000, REGION_USER2, 0) |
| 2188 | | ROM_LOAD( "ds3-5000-02-rev-a.img", 0x000000, 0x1d6000, CRC(0385470f) SHA1(62c1bfe3a88b2dee44629809e08b4b8a5770eaab) ) |
| 2189 | | ROM_END |
| 2190 | | |
| 2191 | | ROM_START( sspirtfc ) |
| 2192 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2193 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2194 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2195 | | |
| 2196 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2197 | | ROM_LOAD( "317-0058-02c.key", 0x0000, 0x2000, CRC(ebae170e) SHA1(b6d1e1b6943a35b96e98e426ecb39bb5a42fb643) ) |
| 2198 | | |
| 2199 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2200 | | ROM_LOAD( "ds3-5000-02c.img", 0x000000, 0x1c2000, NO_DUMP ) |
| 2201 | | ROM_END |
| 2202 | | |
| 2203 | | ROM_START( sgmast ) |
| 2204 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2205 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2206 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2207 | | |
| 2208 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2209 | | ROM_LOAD( "317-0058-05d.key", 0x0000, 0x2000, NO_DUMP ) |
| 2210 | | |
| 2211 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2212 | | /* not sure which of these images is best */ |
| 2213 | | ROM_LOAD( "ds3-5000-05d.img", 0x000000, 0x1c2000, CRC(e9a69f93) SHA1(dc15e47ed78373688c1fab72a9605528068ad702) ) |
| 2214 | | ROM_LOAD( "ds3-5000-05d_alt.img", 0x000000, 0x1c2000, CRC(e71a8ebf) SHA1(60feb0af1cfc0508c8d68c8572495eec1763dc93) ) |
| 2215 | | ROM_LOAD( "ds3-5000-05d_alt2.img", 0x000000, 0x1c2000, CRC(460bdcd5) SHA1(49b7384ac5742b45b7369f220f33f04ef955e992) ) |
| 2216 | | |
| 2217 | | ROM_END |
| 2218 | | |
| 2219 | | ROM_START( sgmastc ) |
| 2220 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2221 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2222 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2223 | | |
| 2224 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2225 | | ROM_LOAD( "317-0058-05c.key", 0x0000, 0x2000, CRC(ae0eabe5) SHA1(692d7565bf9c5b32cc80bb4bd88c9193aa04cbb0) ) |
| 2226 | | |
| 2227 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2228 | | ROM_LOAD( "ds3-5000-05c.img", 0x000000, 0x1c2000, CRC(06c4f834) SHA1(5e178ed0edff7721c93f76da2e03ae188dc5efa4) ) |
| 2229 | | ROM_END |
| 2230 | | |
| 2231 | | ROM_START( sgmastj ) |
| 2232 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2233 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2234 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2235 | | |
| 2236 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2237 | | ROM_LOAD( "317-0058-05b.key", 0x0000, 0x2000, CRC(adc0c83b) SHA1(2328d82d5057062eeb0072fd57f0422218cf24fc) ) |
| 2238 | | |
| 2239 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2240 | | ROM_LOAD( "ds3-5000-05b.img", 0x000000, 0x1c2000, CRC(a136668c) SHA1(7203f9d11023605a0a4b52a4be330785c8f7b623) ) |
| 2241 | | ROM_END |
| 2242 | | |
| 2243 | | ROM_START( qsww ) |
| 2244 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2245 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2246 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2247 | | |
| 2248 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2249 | | ROM_LOAD( "317-0058-08b.key", 0x0000, 0x2000, CRC(fe0a336a) SHA1(f7a5b2c1a057d0bb8c1ae0453c58aa8f5fb731b9) ) |
| 2250 | | |
| 2251 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2252 | | ROM_LOAD( "ds3-5000-08b.img", 0x000000, 0x1c2000, CRC(5a886d38) SHA1(2e974a9ffe3534da4fb117c579b8b0e61a63542c) ) |
| 2253 | | ROM_END |
| 2254 | | |
| 2255 | | ROM_START( gground ) |
| 2256 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2257 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2258 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2259 | | |
| 2260 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2261 | | ROM_LOAD( "317-0058-03c.key", 0x0000, 0x2000, CRC(e1785bbd) SHA1(b4bebb2829299f1c0815d6a5f317a2526b322f63) ) /* Region letter needs to be verfied */ |
| 2262 | | |
| 2263 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2264 | | ROM_LOAD( "ds3-5000-03c.img", 0x000000, 0x1c2000, CRC(5c5910f2) SHA1(9ed564a03c0d4ca4a207f3ecfb7336c6cbcaa70f) ) /* Region letter needs to be verfied */ |
| 2265 | | ROM_END |
| 2266 | | |
| 2267 | | ROM_START( ggroundj ) |
| 2268 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2269 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2270 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2271 | | |
| 2272 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2273 | | ROM_LOAD( "317-0058-03b.key", 0x0000, 0x2000, CRC(84aecdba) SHA1(ceddf967359a6e76543fe1ab00be53d0a11fe1ab) ) |
| 2274 | | |
| 2275 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2276 | | ROM_LOAD( "ds3-5000-03b.img", 0x000000, 0x1c2000, CRC(7200dac9) SHA1(07cf33bf2a0da36e3852de409959f30128cdbf77) ) |
| 2277 | | ROM_END |
| 2278 | | |
| 2279 | | ROM_START( crkdown ) |
| 2280 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2281 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2282 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2283 | | |
| 2284 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2285 | | ROM_LOAD( "317-0058-04c.key", 0x0000, 0x2000, CRC(16e978cc) SHA1(0e1482b5efa93b732d4cf0990919cb3fc903dca7) ) |
| 2286 | | |
| 2287 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2288 | | ROM_LOAD( "ds3-5000-04c.img", 0x000000, 0x1c2000, CRC(5edc01a5) SHA1(8eb1bf41f533d16c12930f5831f8bccd4d8de4f7) ) |
| 2289 | | ROM_END |
| 2290 | | |
| 2291 | | ROM_START( crkdownu ) |
| 2292 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2293 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2294 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2295 | | |
| 2296 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2297 | | ROM_LOAD( "317-0058-04d.key", 0x0000, 0x2000, CRC(934ac358) SHA1(73418e22c9d201bc3fec5c63284858958c010e05) ) |
| 2298 | | |
| 2299 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2300 | | ROM_LOAD( "ds3-5000-04d.img", 0x000000, 0x1c2000, CRC(8679032c) SHA1(887b245a70652897fbda736b60e81a123866ec12) ) |
| 2301 | | ROM_END |
| 2302 | | |
| 2303 | | ROM_START( crkdownj ) |
| 2304 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2305 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2306 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2307 | | |
| 2308 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2309 | | ROM_LOAD( "317-0058-04b.key", 0x0000, 0x2000, CRC(4a99a202) SHA1(d7375f09e7246ecd60ba0e48f049e9e252af92a8) ) |
| 2310 | | |
| 2311 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2312 | | ROM_LOAD( "ds3-5000-04b.img", 0x000000, 0x1c2000, CRC(5daa1a9a) SHA1(ce2f07b83b607bbbdb70f1ae344c1d897d601809) ) |
| 2313 | | ROM_END |
| 2314 | | |
| 2315 | | ROM_START( dcclub ) |
| 2316 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2317 | | ROM_LOAD16_BYTE( "epr13948.bin", 0x000000, 0x20000, CRC(d6a031c8) SHA1(45b7e3cd2c7412e24f547cd4185166199d3938d5) ) |
| 2318 | | ROM_LOAD16_BYTE( "epr13947.bin", 0x000001, 0x20000, CRC(7e3cff5e) SHA1(ff8cb776d2491796feeb8892c7e644e590438945) ) |
| 2319 | | |
| 2320 | | ROM_REGION16_BE( 0x200000, REGION_USER1, 0) |
| 2321 | | ROM_LOAD16_BYTE( "epr-15345.2", 0x000000, 0x80000, CRC(d9e120c2) SHA1(b18b76733078d8534c6f0d8950632ab51e6a10ab) ) |
| 2322 | | ROM_LOAD16_BYTE( "epr-15344.1", 0x000001, 0x80000, CRC(8f8b9f74) SHA1(de6b923118bea60197547ad016cb5d5e1a8f372b) ) |
| 2323 | | ROM_LOAD16_BYTE( "mpr-14097-t.4",0x100000, 0x80000, CRC(4bd74cae) SHA1(5aa90bd5d2b8e2338ef0fe41d1f794e8d51321e1) ) |
| 2324 | | ROM_LOAD16_BYTE( "mpr-14096-t.3",0x100001, 0x80000, CRC(38d96502) SHA1(c68b3c5c83fd0839c3f6f81189c310ec19bdf1c4) ) |
| 2325 | | ROM_END |
| 2326 | | |
| 2327 | | ROM_START( dcclubj ) |
| 2328 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2329 | | ROM_LOAD16_BYTE( "epr13948.bin", 0x000000, 0x20000, CRC(d6a031c8) SHA1(45b7e3cd2c7412e24f547cd4185166199d3938d5) ) |
| 2330 | | ROM_LOAD16_BYTE( "epr13947.bin", 0x000001, 0x20000, CRC(7e3cff5e) SHA1(ff8cb776d2491796feeb8892c7e644e590438945) ) |
| 2331 | | |
| 2332 | | ROM_REGION16_BE( 0x200000, REGION_USER1, 0) |
| 2333 | | ROM_LOAD16_BYTE( "epr-14095a.2", 0x000000, 0x80000, CRC(88d184e9) SHA1(519F3A22E1619DE9D5F13A45B85EBD249EBFA979) ) |
| 2334 | | ROM_LOAD16_BYTE( "epr-14094a.1", 0x000001, 0x80000, CRC(7dd2b7d4) SHA1(C7EAF9E2700E0C55F7E867F5CD3FFAA5AAE97956) ) |
| 2335 | | ROM_LOAD16_BYTE( "mpr-14097-t.4",0x100000, 0x80000, CRC(4bd74cae) SHA1(5aa90bd5d2b8e2338ef0fe41d1f794e8d51321e1) ) |
| 2336 | | ROM_LOAD16_BYTE( "mpr-14096-t.3",0x100001, 0x80000, CRC(38d96502) SHA1(c68b3c5c83fd0839c3f6f81189c310ec19bdf1c4) ) |
| 2337 | | ROM_END |
| 2338 | | |
| 2339 | | ROM_START( dcclubfd ) |
| 2340 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* 68000 code */ |
| 2341 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2342 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2343 | | |
| 2344 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2345 | | ROM_LOAD( "317-0058-09d.key", 0x0000, 0x2000, CRC(a91ebffb) SHA1(70b8b4272ca456491f254d115b434bb4ce73f049) ) |
| 2346 | | |
| 2347 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2348 | | ROM_LOAD( "ds3-5000-09d.img", 0x000000, 0x1c2000, CRC(69870887) SHA1(e47a997c2c783bf6670ab213ebe2ee35492eba34) ) |
| 2349 | | ROM_END |
| 2350 | | |
| 2351 | | ROM_START( roughrac ) |
| 2352 | | ROM_REGION( 0x40000, REGION_CPU1, 0 ) /* FD1094 code */ |
| 2353 | | ROM_LOAD16_BYTE( "epr-12187.ic2", 0x000000, 0x20000, CRC(e83783f3) SHA1(4b3b32df7de85aef9cd77c8a4ffc17e10466b638) ) |
| 2354 | | ROM_LOAD16_BYTE( "epr-12186.ic1", 0x000001, 0x20000, CRC(ce76319d) SHA1(0ede61f0700f9161285c768fa97636f0e42b96f8) ) |
| 2355 | | |
| 2356 | | ROM_REGION( 0x2000, REGION_USER3, 0 ) /* decryption key */ |
| 2357 | | ROM_LOAD( "317-0058-06b.key", 0x000000, 0x2000, CRC(6a5bf536) SHA1(3fc3e93ce8a47d7ee86da889efad2e7eca6e2ee9) ) |
| 2358 | | |
| 2359 | | ROM_REGION( 0x1c2000, REGION_USER2, 0) |
| 2360 | | ROM_LOAD( "ds3-5000-06b.img", 0x000000, 0x1c2000, CRC(a7fb2149) SHA1(c04266ae31700b085ab45606aed83019a563de70) ) |
| 2361 | | ROM_END |
| 2362 | | |
| 2363 | | |
| 2364 | | static struct YM2151interface ym2151_interface = |
| 2365 | | { |
| 2366 | | irq_ym |
| 2367 | | }; |
| 2368 | | |
| 2369 | | static MACHINE_DRIVER_START( system24 ) |
| 2370 | | MDRV_CPU_ADD(M68000, 10000000) |
| 2371 | | MDRV_CPU_PROGRAM_MAP(system24_cpu1_map, 0) |
| 2372 | | MDRV_CPU_VBLANK_INT(irq_vbl, 2) |
| 2373 | | |
| 2374 | | MDRV_CPU_ADD(M68000, 10000000) |
| 2375 | | MDRV_CPU_PROGRAM_MAP(system24_cpu2_map, 0) |
| 2376 | | |
| 2377 | | MDRV_SCREEN_REFRESH_RATE(58) |
| 2378 | | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(100)) |
| 2379 | | MDRV_INTERLEAVE(4) |
| 2380 | | |
| 2381 | | MDRV_MACHINE_RESET(system24) |
| 2382 | | MDRV_NVRAM_HANDLER(system24) |
| 2383 | | |
| 2384 | | MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_UPDATE_AFTER_VBLANK) |
| 2385 | | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 2386 | | MDRV_SCREEN_SIZE(62*8, 48*8) |
| 2387 | | MDRV_SCREEN_VISIBLE_AREA(0*8, 62*8-1, 0*8, 48*8-1) |
| 2388 | | MDRV_PALETTE_LENGTH(8192*2) |
| 2389 | | |
| 2390 | | MDRV_VIDEO_START(system24) |
| 2391 | | MDRV_VIDEO_UPDATE(system24) |
| 2392 | | |
| 2393 | | MDRV_SPEAKER_STANDARD_STEREO("left", "right") |
| 2394 | | |
| 2395 | | MDRV_SOUND_ADD(YM2151, 4000000) |
| 2396 | | MDRV_SOUND_CONFIG(ym2151_interface) |
| 2397 | | MDRV_SOUND_ROUTE(0, "left", 0.50) |
| 2398 | | MDRV_SOUND_ROUTE(1, "right", 0.50) |
| 2399 | | |
| 2400 | | MDRV_SOUND_ADD(DAC, 0) |
| 2401 | | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "left", 0.50) |
| 2402 | | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "right", 0.50) |
| 2403 | | MACHINE_DRIVER_END |
| 2404 | | |
| 2405 | | /* I think the letter after the disk code is the region |
| 2406 | | 'b' = Japan |
| 2407 | | 'c' = europe? |
| 2408 | | 'd' = US |
| 2409 | | */ |
| 2410 | | |
| 2411 | | /* Disk Based Games */ |
| 2412 | | /* 01 */GAME( 1988, hotrod, 0, system24, hotrod, hotrod, ROT0, "Sega", "Hot Rod (World, 3 Players, Turbo set 1)", 0 ) |
| 2413 | | /* 01 */GAME( 1988, hotroda, hotrod, system24, hotrod, hotrod, ROT0, "Sega", "Hot Rod (World, 3 Players, Turbo set 2)", GAME_NO_SOUND ) |
| 2414 | | /* 01 */GAME( 1988, hotrodj, hotrod, system24, hotrodj, hotrod, ROT0, "Sega", "Hot Rod (Japan, 4 Players)", GAME_NO_SOUND ) |
| 2415 | | /* 02 */GAME( 1988, sspirits, 0, system24, sspirits, sspirits, ROT270, "Sega", "Scramble Spirits", 0 ) |
| 2416 | | /* 02 */GAME( 1988, sspiritj, sspirits, system24, sspirits, sspiritj, ROT270, "Sega", "Scramble Spirits (Japan, Floppy DS3-5000-02-REV-A)", 0 ) |
| 2417 | | /* 02 */GAME( 1988, sspirtfc, sspirits, system24, sspirits, sspirits, ROT270, "Sega", "Scramble Spirits (FD1094 317-0058-02c)",GAME_NOT_WORKING ) /* MISSING disk image */ |
| 2418 | | /* 03 */GAME( 1988, gground, 0, system24, gground, gground, ROT270, "Sega", "Gain Ground (World, FD1094 317-0058-03c?)", 0 ) |
| 2419 | | /* 03 */GAME( 1988, ggroundj, gground, system24, ggroundj, gground, ROT270, "Sega", "Gain Ground (Japan, FD1094 317-0058-03b)", 0 ) |
| 2420 | | /* 04 */GAME( 1989, crkdown, 0, system24, crkdown, crkdown, ROT0, "Sega", "Crack Down (World, FD1094 317-0058-04c)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display) |
| 2421 | | /* 04 */GAME( 1989, crkdownu, crkdown, system24, crkdown, crkdown, ROT0, "Sega", "Crack Down (US, FD1094 317-0058-04d)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display) |
| 2422 | | /* 04 */GAME( 1989, crkdownj, crkdown, system24, crkdown, crkdown, ROT0, "Sega", "Crack Down (Japan, FD1094 317-0058-04b)", GAME_IMPERFECT_GRAPHICS ) // clipping probs / solid layer probs? (radar display) |
| 2423 | | /* 05 */GAME( 1989, sgmast, 0, system24, bnzabros, sgmast, ROT0, "Sega", "Super Masters Golf (FD1094 317-0058-05d?)", GAME_NOT_WORKING|GAME_UNEMULATED_PROTECTION ) // NOT decrypted |
| 2424 | | /* 05 */GAME( 1989, sgmastc, sgmast, system24, bnzabros, sgmast, ROT0, "Sega", "Jumbo Ozaki Super Masters Golf (World, FD1094 317-0058-05c)", GAME_NOT_WORKING ) // controls, some gfx offset / colour probs? |
| 2425 | | /* 05 */GAME( 1989, sgmastj, sgmast, system24, bnzabros, sgmast, ROT0, "Sega", "Jumbo Ozaki Super Masters Golf (Japan, FD1094 317-0058-05b)", GAME_NOT_WORKING ) // controls, some gfx offset / colour probs? |
| 2426 | | /* 06 */GAME( 1990, roughrac, 0, system24, roughrac, roughrac, ROT0, "Sega", "Rough Racer (Japan, FD1094 317-0058-06b)", 0 ) |
| 2427 | | /* 07 */GAME( 1990, bnzabros, 0, system24, bnzabros, bnzabros, ROT0, "Sega", "Bonanza Bros (US, Floppy DS3-5000-07d?)", 0 ) |
| 2428 | | /* 07 */GAME( 1990, bnzabrsj, bnzabros, system24, bnzabros, bnzabros, ROT0, "Sega", "Bonanza Bros (Japan, Floppy DS3-5000-07b)", 0 ) |
| 2429 | | /* 08 */GAME( 1991, qsww, 0, system24, bnzabros, qsww, ROT0, "Sega", "Quiz Syukudai wo Wasuremashita (Japan, FD1094 317-0058-08b)", GAME_IMPERFECT_GRAPHICS ) // wrong bg colour on title |
| 2430 | | /* 09 */GAME( 1991, dcclubfd, 0, system24, dcclub, dcclubfd, ROT0, "Sega", "Dynamic Country Club (FD1094 317-0058-09d)", 0 ) |
| 2431 | | |
| 2432 | | /* ROM Based */ |
| 2433 | | GAME( 1991, dcclub, 0, system24, dcclub, dcclub, ROT0, "Sega", "Dynamic Country Club", 0 ) |
| 2434 | | GAME( 1991, dcclubj, dcclub, system24, dcclub, dcclub, ROT0, "Sega", "Dynamic Country Club (Japan)", 0 ) |
| 2435 | | GAME( 1992, mahmajn, 0, system24, mahmajn, mahmajn, ROT0, "Sega", "Tokoro San no MahMahjan", 0 ) |
| 2436 | | GAME( 1994, qgh, 0, system24, qgh, qgh, ROT0, "Sega", "Quiz Ghost Hunter", 0 ) |
| 2437 | | GAME( 1994, quizmeku, 0, system24, quizmeku, quizmeku, ROT0, "Sega", "Quiz Mekurumeku Story", 0 ) |
| 2438 | | GAME( 1994, qrouka, 0, system24, qgh, qrouka, ROT0, "Sega", "Quiz Rouka Ni Tattenasai", 0 ) |
| 2439 | | GAME( 1994, mahmajn2, 0, system24, mahmajn, mahmajn2, ROT0, "Sega", "Tokoro San no MahMahjan 2", 0 ) |