Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Defender - cocktail  (Read 2608 times)

0 Members and 1 Guest are viewing this topic.

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 248
  • Last login:December 07, 2024, 06:45:34 am
  • I want to build my own arcade controls!
Defender - cocktail
« on: August 09, 2023, 01:27:34 pm »
I'm trying to get Defender to work on my MAME cocktail table. I can't seem to locate the correct rom that has the dip switch option. I've tried the red and blue label roms to no avail. Any help would be greatly appreciated.

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 248
  • Last login:December 07, 2024, 06:45:34 am
  • I want to build my own arcade controls!
Re: Defender - cocktail
« Reply #1 on: August 09, 2023, 01:38:30 pm »
Just tried white lagel - no luck there either...

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9671
  • Last login:Today at 10:48:01 am
  • Designated spam hunter
Re: Defender - cocktail
« Reply #2 on: August 09, 2023, 07:17:33 pm »
I'm trying to get Defender to work on my MAME cocktail table. I can't seem to locate the correct rom that has the dip switch option. I've tried the red and blue label roms to no avail. Any help would be greatly appreciated.
This is a known issue.
https://mametesters.org/view.php?id=7721

There's no dipswitch menu because Defender used three jumpers instead of dipswitches to set either upright or cocktail mode.

On the Interface Board, upright vs. cocktail mode is determined by whether jumpers W1 and W2 were installed or removed.
- W1 and W2 are shown mid-lower right side of the schematic on page 14 of the manual here.



On the CPU/Video board there is a W1 "Screen Control" jumper on page 10 of the schematic here (1/3rd down the page, just left of center) and page 6 shows the physical location of W1 "Screen Control". (between ICs 5B and 5C)
- The theory of operation for W1 "Screen Control" is covered on pages 17-18 of the manual here.

One of the MAME devs could possibly implement these three jumpers using a "Machine Configuration" menu entry to select "Upright" or "Cocktail" like they did for Asteroids starting in v0.198.
http://forum.arcadecontrols.com/index.php/topic,157459.0.html

Until they get around to doing that, you might be able to use MAME's fake "Cocktail" video mode and map the P1 inputs to work with both P1 and P2 controls.   :-\


Scott

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 248
  • Last login:December 07, 2024, 06:45:34 am
  • I want to build my own arcade controls!
Re: Defender - cocktail
« Reply #3 on: August 09, 2023, 08:14:04 pm »
Bummer.....

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 248
  • Last login:December 07, 2024, 06:45:34 am
  • I want to build my own arcade controls!
Re: Defender - cocktail
« Reply #4 on: August 11, 2023, 03:31:36 pm »
What's the odds that the devs will work on this? I would have thought it would have been addressed by now, no? Is there a chance it will never happen?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9671
  • Last login:Today at 10:48:01 am
  • Designated spam hunter
Re: Defender - cocktail
« Reply #5 on: August 11, 2023, 07:06:28 pm »
What's the odds that the devs will work on this? I would have thought it would have been addressed by now, no? Is there a chance it will never happen?
I wouldn't hold my breath waiting for it.   ::)

The Defender cocktail mode issue here was opened in MameTesters three years ago.

Current status is "Acknowledged" (Has been processed and some testing has been done, but there has been no final determination made as to it's status.), but almost all of the other open "Flip Screen/Cocktail" issues are "Confirmed" status. (Another tester or moderator has determined the bug to be valid.)

Of the 44 "Confirmed" status "Flip Screen/Cocktail" issues, 37 are older than the Defender issue, some going back to 2008.

On the positive side, it looks like getting screen flipping to work is just a matter of either adding or removing the W1 jumper connection between pin 8 of the 7474 Dual-D Flip-Flop IC at 4E and pin 9 of the 7404 Hex Inverter IC at 5B on the CPU/Video board.

The hard part is figuring out where in the MAME source code that jumper connection is made/broken.   :dunno


Scott
EDIT:  Another possible approach is to use a LUA script to flip the screen during P2's turn.
It might be possible to incorporate this into a version of the "defenderlr" script that works with both Defender and Stargate.
https://github.com/AaronBPaden/defenderlr
https://github.com/10yard/defenderlr
http://forum.arcadecontrols.com/index.php/topic,165767.0.html
Haven't looked very deep into the Stargate schematics, but it looks like it doesn't use dipswitches for cocktail mode.  The Drawing Set here shows data lines labeled "Screen Control" (page 7 left middle, page 8 lower right) and there are two notes on page 9 that say, "Use W1 for upright applications."
« Last Edit: August 11, 2023, 08:27:34 pm by PL1 »

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 248
  • Last login:December 07, 2024, 06:45:34 am
  • I want to build my own arcade controls!
Re: Defender - cocktail
« Reply #6 on: August 12, 2023, 06:01:41 am »
Thanks Scott, I think I can figure a way to flip it myself using hot keys (ctrl+alt+down arrow)...

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 248
  • Last login:December 07, 2024, 06:45:34 am
  • I want to build my own arcade controls!
Re: Defender - cocktail
« Reply #7 on: August 23, 2023, 12:08:12 pm »
Man, the game switches from player one to player two really fast....I have to pause then flip then unpause. What's the odds this ever gets fixed?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9671
  • Last login:Today at 10:48:01 am
  • Designated spam hunter
Re: Defender - cocktail
« Reply #8 on: August 23, 2023, 01:33:11 pm »
Man, the game switches from player one to player two really fast....I have to pause then flip then unpause. What's the odds this ever gets fixed?
Fixed by the MAME devs?  Odds are very low.

Workaround using LUA?  Sent a PM to Jon (10yard) 11 days ago asking if it is even possible but haven't heard back from him.   :dunno


Scott