Welcome!

Final Burn Neo => FBN Development => Topic started by: kenshiro on September 21, 2008, 09:07:45 AM

Title: Dip Switches Generator 1.1
Post by: kenshiro on September 21, 2008, 09:07:45 AM
Hi,  :cool:

I post the update here, like Kev suggest it in the original thread ---> http://neo-source.com/index.php?topic=1031.0 (http://neo-source.com/index.php?topic=1031.0)

Quote
          Dip Switches Generator 1.1 (21/09/08)

           What is it? This tool takes dipswitches from a MAME driver and convert them to be use by FBA.
           See instructions .txt for more details.

          What's news?

         - Completly rewrite the code, more efficient,  remove useless / silly code .
            Now use the same BurnDipInfo struct as she is in FBA.

         - Perfectly adjust mask values (Credits to iq_132 for sscanf0 function :wink:)

         - Added comment in the struct to know which dip is used


However, a thing is missing:

Code: [Select]
    {0   , 0xfe, 0   , 4   , "Lives"     },

    {0x00, 0x01, 0x03, 0x03, "3"  },

    {0x00, 0x01, 0x03, 0x02, "4"  },

    {0x00, 0x01, 0x03, 0x01, "5"  },

    {0x00, 0x01, 0x03, 0x00, "6"  },

I let the input value at 0x00 atm, cause i would like to know what will be the more ingenious to do, get them automatically or ask it to users? :idiot:

Just let me know  :biggrin:
Title: Re: Dip Switches Generator 1.1
Post by: Barry Harris on September 21, 2008, 11:00:52 AM
Automatic would be best if possible - it's a pain counting input structures! :)