Replies: 1 comment
-
You’re looking at this from the wrong direction. It isn’t abut making thing convenient in the XML, and the port names (in
You’re welcome to add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The name used in
PORT_START
andPORT_DIPLOCATION
for DIP switches is not homogenous. It may be calledSWA
orSW(A)
orSW A
orDIP-
orDIPSW1
orDSW-1
orDSW0
... Whether it starts counting from0
,1
orA
seems arbitrary too. These two names do not always agree with each other either. The bit mask used in the driver is not linked to the DIP location either and it may be in reverse order where DIP1 is mapped above DIP2 in a 16-bit word.For documentation and for tools depending on MAME's XML output, having a homogeneous naming, such as
DIP1, DIP2...
each made of 8 bits, would be benefitial.I am willing to make these changes now for some 50+ drivers and keep updating other drivers over time. Before spending time on this, is my PR likely to be accepted?
DIP
plus an index starting at 1, increase every 8 bits. Except where the manual uses a letter or uses 4-bit switchesDSW
plus an index starting at 1 and increasing every 8 bits for PORT_START, regardless of manual. Order by bit mask used in the driverIn this way, the
PORT_DIPLOCATION
tries to document the board in an uniform way -but respectful with the manual- andPORT_START
represents the emulation model of the hardware, but is uniform across driversBeta Was this translation helpful? Give feedback.
All reactions