Jump to content



Photo

Trying to understand manual switch triggering (not working as expected)


  • Please log in to reply
No replies to this topic

#1 xaviershay

xaviershay

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: ---------

  • Favorite Pinball: Demolition Man

Posted 25 July 2022 - 08:42 AM

Hello!

New user here.

 

Background context:

I'm trying to replicate an issue with my (irl) Demolition Man where I don't think the right ramp enter switch (4-6) is triggering, which is causing the claw routine to not activate. (Yes, I can do this on the actual machine, but I'm trying to understand PinMAME better!)

 

Based on my knowledge of the game, triggering switch 4-6 (R ramp enter) followed by elevator index (6-7) starts the claw routine. This appears to be what the simulator does also, if I'm reading the code right (https://github.com/v.../full/dm.c#L306) [My specific hypothesis is that just triggering 6-7 with no preceeding 4-6 _won't_ start claw, but I need to verify the happy path first.]

 

But if I disable simulation mode (Del), then press RH (4-6) then YJ (6-7), it doesn't trigger claw like I would expect. I note that in the switch matrix UI on the left 4-6 "toggles" where as 6-7 "blinks" on then straight off again.

I know that the initial 4-6 is triggering because I hear the appropriate sound from the game (a "whoosh").

 

Questions:

  1. What differs between my input sequence and what is defined in the simulator?
  2. Why is one switch a toggle and one a momentary? Is this per game, particular to optos, or true across machines?
  3. For any answer to the previous question, where is this defined in the code?

 

Thanks!

Xavier

 

ref: switch matrix https://www.pinitech..._Demolition_Man