Main > Main Forum

MAME Advice, Power ON/OFF switch

Pages: << < (3/10) > >>

StripHouseBandit:

oh, thanks for putting it in lamens terms for me, i think you just helped me out a whole lot and possibly a solution to my problem where i get to use the switch i want. i just hope i dont screw up this computer, i bought it not even a week ago. maybe i can get some help from some people who know a little bit more about computers than i do. i really appreciate it...........by the way have you encountered any problems with turning it off that way RayB? about how long have you been turnign your machine on/off this way?..

RayB:


--- Quote from: StripHouseBandit on March 06, 2006, 10:44:24 pm ---oh, thanks for putting it in lamens terms for me, i think you just helped me out a whole lot and possibly a solution to my problem where i get to use the switch i want. i just hope i dont screw up this computer, i bought it not even a week ago. maybe i can get some help from some people who know a little bit more about computers than i do. i really appreciate it...........by the way have you encountered any problems with turning it off that way RayB? about how long have you been turnign your machine on/off this way?..
--- End quote ---

I'll be honest, I have only played the machine a few times (like, 5 or 6 times). It's a DOS cab, so it's not like Windows where it needs to "do stuff" before shutting down. I built it all from used parts, so I'm not too worried about it.

The thing is... I think the worst that could happen is just some data corruption. That's no big deal. Just defrag/scan disk and re-write whatever gets corrupted. So far no problems though.

If your machine is Windows based, you could always just shut down properly, and THEN cut power. Would that be a hassle, to have two steps?



Paladin:

For the Win98 machines I've made I made a batch file that I put in the startup directory that starts the front end I use for MAME, then shuts down windows when you exit the front end.

Turn on the power strip, and the computer turns on (option in bios to start when power returns).  The pc boots, then runs the batch file in the "startup" folder.  The batch file tells the computer:
1) Start the frontend, then wait until the user exits the frontend.
2) When the frontend program ends, run a program called "shutdown" that I found on the internet.  This program automatically performs a normal windows shutdown.

Once the monitor goes dark, you can then turn off the power strip to cut power to the rest of the cabinet (monitor, marquee lights, speakers).

I don't know if WinXP uses the same command line parameters as Win98, but here is the batch file I used.  By the way, to make a batch file you just open notepad, write your text then save it with a file extension of ".bat".

cd c:\mame\coctailfe
start /w c:\mame\coctailfe\launcher.exe
start c:\windows\shutdown.exe force shutdown



 

eschmunk:

I used this link to build a relayed circuit.

http://home.bendcable.com/werstlein/

I have a switch wired to my motherboard (where the power button is wired to normally).  When I press this button the computer is turned on.  The power supply then sends a signal to the relay and switches power on to the top outlet.  The top outlet has a power stripped with the tv, speakers, and marquee light.

So I have a bottom outlet which always has power (computer). Turn it on to switch the top out let on and then everything else comes on.

When I shut down the computer the power supply no longer supplies power to the relay in turn shutting down the speakers, tv, and marquee.

Works great.

quarterback:

I don't think I've ever seen that link.  Looks like a great DIY solution to power on your entire cab full of stuff.
Thanks


--- Quote from: eschmunk on March 07, 2006, 11:59:22 am ---I used this link to build a relayed circuit.

http://home.bendcable.com/werstlein/

I have a switch wired to my motherboard (where the power button is wired to normally).  When I press this button the computer is turned on.  The power supply then sends a signal to the relay and switches power on to the top outlet.  The top outlet has a power stripped with the tv, speakers, and marquee light.

So I have a bottom outlet which always has power (computer). Turn it on to switch the top out let on and then everything else comes on.

When I shut down the computer the power supply no longer supplies power to the relay in turn shutting down the speakers, tv, and marquee.

Works great.

--- End quote ---


Pages: << < (3/10) > >>

Go to full version