Author Topic: Dip Switches Generator 1.0  (Read 4932 times)

Offline kenshiro

  • Expert
  • *****
  • Posts: 145
  • Karma: +21/-0
Dip Switches Generator 1.0
« 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:
« Last Edit: October 09, 2008, 05:08:46 PM by kenshiro »

Offline MasterPhW

  • Newbies
  • *
  • Posts: 48
  • Karma: +0/-3
    • Emulation Flame
Re: Dip Switches Generator 1.0
« Reply #1 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.
My Portable Rig: Intel C2D T7250 (2x2.0Ghz, 800Mhz) | 2048 MB DDR2 PC800 | Geforce Go 7950 GTX PCI-E | Realtek HD Audio |
180Gbyte Internal SATA2 + 6x500GB external | Windows Vista Business X64 SP1 MSDNAA

Offline Bonky0013

  • Newbies
  • *
  • Posts: 38
  • Karma: +7/-0
  • FBA Fan
Re: Dip Switches Generator 1.0
« Reply #2 on: September 09, 2008, 11:50:29 PM »
Very good job Kenshiro  :biggrin:

 Congratulation  ;p


  • Guest
Re: Dip Switches Generator 1.0
« Reply #3 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.