Welcome!

Miscellaneous => Projects => Topic started by: kenshiro on September 08, 2008, 01:33:35 PM

Title: Dip Switches Generator 1.0
Post by: kenshiro on September 08, 2008, 01:33:35 PM
Hi,  :cool:



Here's a preliminary tool which can rip the dip switches of a MAME driver, and convert them to be useful by FBA.

You just have to run the soft, then enter the driver path, and you will find a dip.cpp file in the executable directory ;p

to compile it under GCC, use the command --------> dipripper.cpp -03 -o dipripper.exe

However, there's few things that are incomplete:

- ATM the #define are ignored, need to modify the code to get them automatically :idiot:

- need to find a way to ask user which inputs he wanna use (i'm speaking off the first element of BurnDipInfo struct, nInput).

- Finally, need to adjust the mask values (like 0xc000, which FBA can't handle).

For the rest, that's works pretty well, it could already save a lot of time, just add a try with cps1.c from MAME, that's funny lol  :biggrin: :biggrin:


Hope it will help :wink:
Title: Re: Dip Switches Generator 1.0
Post by: MasterPhW on September 09, 2008, 06:16:31 AM
Great project you have there!
Can't wait to see it finished! It will improve the driver creation for FBA greatly.
Title: Re: Dip Switches Generator 1.0
Post by: Bonky0013 on September 09, 2008, 11:50:29 PM
Very good job Kenshiro  :biggrin:

 Congratulation  ;p
Title: Re: Dip Switches Generator 1.0
Post by: kev on September 14, 2008, 05:35:38 AM
That's quite useful. It might be useful to post updates to this in the FBA section tho as they might get missed.