Would there be a way within DOSCab to set the light on / off of Num / Caps / Scroll Lock?
I was thinking that since everything is event driven, a specific event could trigger each light on or off. I'm trying to retrofit this into real jukebox. It has lights that must turn on once you place a coin in and get a credit. I was thinking I might be able to hack into the keyboard controller and use these lights with some low voltage LEDS or wire the light up to a relay to trigger something bigger.
Ideally it would be nice to be able to also triggers these to flash maybe when the machine is idle, etc. Maybe flash in sequence, repeat. Sort of an attract mode.
I was thinking thinking this might be and easy way to trigger outside lighting without actually having some fancy controller wired through the serial port etc.
The other idea I had is, I'm using an X10 Firecracker that is plugged into the serial port.
http://en.wikipedia.org/wiki/X10_FirecrackerI use it in my batch file at start up to trigger a controller that turns the AMPs on and off. This way the computer is turned on first, then the AMP, on shutdown, the AMP turns off first, then the computer. This avoids the "pop" if the AMP is still on and the computer is turned on / off. One switch for the whole unit. The X10 Firecracker is like a $10 part. I have a freeware DOS command that can trigger these on / off. If I could find the specs on the serial communication, could that be something that was added? Shelling to DOS probably wouldn't be very practical while DOSCab is running and not very fast either.
Here are the X10 Firecracker Specs. It only manipulates the RTS / DTR pins on the serial port.
http://home.comcast.net/~ncherry/common/cm17a.htmlThere may even already be code already written in what you are programming in. This a bunch of references to Linux, but there are code samples for other languages (PHP, etc).
http://home.comcast.net/~ncherry/