MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6472
Send PM
Re: Few Dip switch questions
12/05/07 10:47 PM Attachment: Robocop2.htm 6 KB (9 downloads)


> > 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.

For Vas's benefit, this is what tb2000 is talking about. It was acquired by Guru in a large collection, but I don't recall how. (about 1.5 yrs ago). It is clearly badly translated from Japanese. And tb2000 is right, there's no schematics, not so much as a manual scanned and online for Robocop 2.

- Stiletto







Entire thread
Subject Posted by Posted on
* Few Dip switch questions tb2000 12/02/07 04:14 PM
. * Re: Few Dip switch questions Vas Crabb  12/03/07 01:17 AM
. * Re: Few Dip switch questions tb2000  12/05/07 02:30 AM
. * Re: Few Dip switch questions StilettoAdministrator  12/05/07 10:47 PM
. * Re: Few Dip switch questions Vas Crabb  12/06/07 02:37 AM
. * Re: Few Dip switch questions StilettoAdministrator  12/06/07 08:26 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 48 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3803