Main > Software Forum

LED control from Mame--in over my head again?

<< < (2/24) > >>

Howard_Casto:
Since I posted that I rememberd you had a site (darg!) Downloaded the driver and had a look.  That is not a hack believe it or not, that is the actual output addresses!!  Or at the very least, it's close enough.  (Looks like a little bit of nvram trickery is being used as well.)  I know because there is a whole function in there to activate them you might think it's hackish, but it's really not.  Sure there's a tad bit of trickery in there, but have a look at the afterburner source sometime.  ;)

That's the good news.  The bad news is mame's adress system and some other things have changed since this hack.  We can use it as a base, but it'll have to be modified a lot.  We also want to go ahead and direct the outputs to proper names while were are at it.  I'm still working display files for mamehooker atm, but if you give me a week or so I should be able to get this working in the latest version of mame.  I'll then submit it to the devs.  The worst they could do is reject it and we'd still have the new source for custom builds so it seems like a no-brainer to me. 

Oh.. and also this could be useful for getting outputs to work on revolution X as well.  Not that anybody cares about that game, but hey.  ;)

1UP:
Awesome!  I'll make sure to bug you--I mean check in with you about it now and then...hehe.

So from what I know of the game, here's how the LEDs work.  In the original game, there were 3 outputs for each gun.  One was for the solenoid.  One was for a red LED that meant you were being targeted by a Terminator.  The last was a green LED that meant you had a lock-on with your rocket launcher.  (There were also 2 other outputs I believe, one lamp for each player that would flash behind the mirrored glass when you were hit, but I dont know if these are in that driver.)

Since there were only 3 keyboard LEDs available, I think Dave set this up so either there were 2 gun solenoid outputs and one LED output, or maybe it was just the complete setup for 1 gun (2 LEDs and one solenoid).  It's hard to remember, it was around 10 years ago that I picked this up from him.

Anyway, you should be able to test it by watching what happens when you are being shot at or you're aiming at a vehicle in the background.  The solenoid outputs should pulse in sync with the gun sounds in the game.  I did have this working at one time with a real T2 gun but it seemed like the circuit I'd built was kind of dangerous so it was scrapped...

I hope you can do something with this.  I've certainly been waiting a long time to get this game working, so if you have something you want me to test, I'll be happy to do so.   ;)  I've finally got a dual gun setup that works well, and getting the built in solenoids working is the holy grail that started me into this hobby in the first place.

Thanks for looking at this!

Rob

Howard_Casto:
It's kind of odd, how he's done it actually.  If I'm reading it right the solenoid  is hooked up for both guns but the red lamp is hooked up for player 2?  Why not player 1?  To be honest I'll probably have to hook them up first and then figure it out.  Some documentation on t2 would be helpful as well.  I can't find the manual anywhere!

Also... if I remembered right, there was a single red light but I could be wrong on that so I'll take your word for it.

1UP:

--- Quote from: Howard_Casto on March 08, 2010, 01:53:05 am ---It's kind of odd, how he's done it actually.  If I'm reading it right the solenoid  is hooked up for both guns but the red lamp is hooked up for player 2?  Why not player 1?  To be honest I'll probably have to hook them up first and then figure it out.  Some documentation on t2 would be helpful as well.  I can't find the manual anywhere!

Also... if I remembered right, there was a single red light but I could be wrong on that so I'll take your word for it.

--- End quote ---

I've got the game manual.  Not sure how I would upload the whole thing though...lots of JPGs?

I used to have a couple of the original guns, and I can attest that they both had 2 LEDs just underneath the rear sights.

1UP:
This appears to be the manual.  Couldn't find my copy in the garage, but this came right up on google.

http://arcarc.xmission.com/PDF_Arcade_Manuals_and_Schematics/T2_Judgement_Day_%2816-40009-101-1%29_Dec_1991.pdf

BTW, the parent folder looks like a treasure trove of arcade manuals:  http://arcarc.xmission.com/PDF_Arcade_Manuals_and_Schematics/

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version