Main > Main Forum
q*bert knocker
<< < (5/12) > >>
JoyMonkey:

--- Quote from: SirPoonga on June 13, 2005, 06:25:49 pm ---my only other problem then will be to trigger it.  I could use the specific build of mame that uses the keyboard led to trigger it, but I use my keyboard leds.
I played around with the qbert driver.  I was able to setup a timer so when the knock sample sound is sounded to display a 1 at command line then a 0 a half a second later.  Timing will be crucial to make it work and sound good.  I just need ot send that 1 and 0 to some device that will talk to a relay to trigger the solenoid.  That's the tough part.  I could do a simple hack to the parallel port but I'd like a more modern day solution, like a USB i/o device.

--- End quote ---

There's probably some way you could use AdvMame's event.dat and a script in advmame.rc. I'm not the most knowledgeable person regarding this, but if you knew what the cpu/memory address of the knock, you could add it as an event in event.dat, then add a script that says 'when knock happens, send a signal to a certain pin of the parallel port'. I think.
2600:
SirPoonga,

I'm not sure where you are at this point, but I was planning to just use the tried and true circuit like at John's Retrocade.  But like you just trigger it differently, instead of the keyboard LEDs.  I'm waiting for RandyT's and the Buddabing/Gamecab circuits to come out to see if those meet my requirements for this project, if not use my own circuit.  I think RandyT's is USB, and the Gamecab is parrallel port.  If you require USB, then RandyT's may work.  Although, You may have to write a little program if RandyT's doesn't meet your requirements(If he'll allow you  ;D).  Unless you are looking to design your own generic USB I/O device?  At any point it may be worth putting this on hold for a month or so to see what is commercially offered unless you are comfortable with designing your own.



SirPoonga:

--- Quote from: 2600 on June 14, 2005, 08:42:06 am ---Unless you are looking to design your own generic USB I/O device?  At any point it may be worth putting this on hold for a month or so to see what is commercially offered unless you are comfortable with designing your own.

--- End quote ---
Oh no.  I've already lookedinto this.  Producing a simple usb I/O device is cheap, like under $10.  But developing costs like $100 in supplies.
2600:

--- Quote from: SirPoonga on June 14, 2005, 09:31:16 am ---
--- Quote from: 2600 on June 14, 2005, 08:42:06 am ---Unless you are looking to design your own generic USB I/O device?  At any point it may be worth putting this on hold for a month or so to see what is commercially offered unless you are comfortable with designing your own.

--- End quote ---
Oh no.  I've already lookedinto this.  Producing a simple usb I/O device is cheap, like under $10.  But developing costs like $100 in supplies.

--- End quote ---

I'm not clear.  Is this the approach you are taking, designing your own?
SirPoonga:
no, I will see if I can use or hack something available.
Navigation
Message Index
Next page
Previous page

Go to full version