> 1) The best way to work out the address at which it reads a bank of DIP switches is > from the schematic. Look at the address decode logic and work out where the DIP > switch is mapped. > > 2) It's very rare for DIPs within a single bank to have different polarity to each > other. The text description refers to the state of the feature, not the position of > the switch. Some some games, require a switch to be on to turn a feature off, and > that's far more likely than one of the switches having the opposite polarity. Unless > you actually know from the schematic that the polarity of one switch is reversed, > don't mess with it. That said, the way to invert a DIP switch is to prefix the number > with a "!", but this should usually only be done for an entire bank (e.g. see dkong.c > and mario.c). > > Make sure you're 100% certain of the DIP locations before submitting the code. > Cleaning up incorrect information later can be a pain.
Thanks for the reply. I might have to leave that in that case then, I haven't got any schematics and I can't seem to find any on the net that have been scanned (or even any for sale!). I have my Robocop 2 board but it's probably more difficult trying to trace the tracks and where they go than looking at the schematics! At least I can add some of the diplocations for the dipswitches listed in the driver anyway.
Thanks
|