MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

tb2000
Arcade and retro fan
Reged: 08/20/07
Posts: 108
Loc: Somewhere in the UK
Send PM
Few Dip switch questions
12/02/07 04:14 PM


After adding a romset to Mame successfully, I thought i'd have a go at editing a few dip switch settings in one of the drivers, as most of it seems quite simple according to the guide on Mamedev's Wiki.
I just have a couple of questions really:
1) The driver in question needs another bank of dipswitches adding. How do you work out which memory addresses or whatever they correspond to? As in the guide it just says it's a hex value, not where you find these hex values. Do you have to look at a disassembly of the rom code and find which addresses the dipswitches correspond to (wouldn't be totally sure of how to go about this) or is there a simpler way?
2) I'm currently editing some dipswitches that are already in the driver, adding "diplocations" for the on-screen diplay of the dipswitches. I have a problem with one for a Flip screen switch. The others display correctly, however the dipswitch is displayed as "on" (or in the "up" position) on the on screen display, even though it's off in the text description. How would I go about fixing this?

Thanks, Tony

Edited by tb2000 (12/02/07 04:56 PM)







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 44 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3807