I was just reading a thread over at gpinball, and they were talking about getting FP to communicate with external programs. There were some interesting ideas, and they got me thinking about extending them - and so I have this theory, which would, I think, allow you to run ROMs in FP.
So here's the idea. Firstly, in FP you set up a small image grid, consisting of small squares which can be black or white, one for each of the number of switches you need to send data out from. This would display the state of all the switches by being either on or off. Basically it would be like a little checkerboard in the corner. An external program would monitor this tiny part of the screen for changes, to know when a switch was hit, and it could then send this switch data to pinmame.
At the same time, the switch data sent from pinmame (i.e solenoid controls), would be encoded into simulated key presses - FP can read keypresses internally, and if you came up with a binary system for this, something which 'faked' keypresses, you could send it data for any switch. If you used a special system like having 'alt' pressed or whatever, it's possible it would not interfere with normal key presses. By using combinations of only a few keys, you could send quite a lot of data fairly quickly.
So basically the theory is that FP communicates with the outside word via the screen, and you can communicate with FP using the keyboard. So if you can translate these into something which talks to VPM, you will have two-way communication and thus ROM support.
I'm not absolutely sure if this whole thing would work quickly enough, but I think the theory itself is sound. Thoughts?
Edited by highrise, 04 January 2011 - 04:48 PM.





Top


















are all trademarks of VPFORUMS.