Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
00790 Documentation Typo Have not tried Feb 5, 2008, 08:01 Jul 15, 2010, 18:14
Tester stephh View Status Public Platform
Assigned To hap Resolution Fixed OS
Status [?] Resolved Driver
Version 0.37b14 Fixed in Version 0.138u4 Build
Fixed in Git Commit Github Pull Request #
Summary 00790: armwrest: DIP switch inspection.
Description All the "unknown Dip switches" are used for coinage and number of units needed
for 1 play (1 coin = n units / 1 play = n units).

There is also a switch which changes the table of coins/units :

  - when bit 6 of DSW1 == 0, table 1 is used
  - when bit 6 of DSW1 == 1, table 2 is used

You'll notice that "table 2" is less complicated ;)

Table 1 :

    DSW1 DSW0 left right
bit 3210 5432 slot slot 1play

    0000 0000 1 1 1
    0000 0001 8 1 1
    0000 0010 2 1 1
    0000 0011 8 3 3
    0000 0100 3 1 2
    0000 0101 3 12 4
    0000 0110 1 2 2
    0000 0111 3 24 2
    0000 1000 1 3 3
    0000 1001 4 1 3
    0000 1010 1 4 4
    0000 1011 3 3 4
    0000 1100 1 5 5
    0000 1101 1 1 1
    0000 1110 2 3 3
    0000 1111 5 5 3

    0001 0000 1 2 1
    0001 0001 1 8 1
    0001 0010 2 2 1
    0001 0011 3 8 3
    0001 0100 3 2 1
    0001 0101 12 3 4
    0001 0110 1 4 2
    0001 0111 24 3 2
    0001 1000 1 6 3
    0001 1001 1 4 3
    0001 1010 1 8 4
    0001 1011 3 3 4
    0001 1100 1 10 5
    0001 1101 1 1 2
    0001 1110 2 6 3
    0001 1111 5 5 4

    0010 0000 1 3 1
    0010 0001 9 1 1
    0010 0010 2 3 1
    0010 0011 3 4 4
    0010 0100 3 3 1
    0010 0101 4 4 1
    0010 0110 1 6 2
    0010 0111 3 1 2
    0010 1000 1 9 3
    0010 1001 10 1 3
    0010 1010 1 12 4
    0010 1011 1 1 6
    0010 1100 1 15 5
    0010 1101 2 2 1
    0010 1110 2 9 3
    0010 1111 2 2 5

    0011 0000 1 4 1
    0011 0001 1 9 1
    0011 0010 2 4 1
    0011 0011 4 3 4
    0011 0100 3 4 1
    0011 0101 4 4 1
    0011 0110 1 8 2
    0011 0111 1 3 2
    0011 1000 1 12 3
    0011 1001 1 10 3
    0011 1010 1 16 4
    0011 1011 1 1 6
    0011 1100 1 20 5
    0011 1101 1 1 4
    0011 1110 2 12 3
    0011 1111 8 8 1

    0100 0000 1 5 1
    0100 0001 10 1 1
    0100 0010 2 5 1
    0100 0011 2 5 5
    0100 0100 3 5 1
    0100 0101 4 4 1
    0100 0110 1 10 2
    0100 0111 10 1 2
    0100 1000 1 15 3
    0100 1001 20 1 3
    0100 1010 1 20 4
    0100 1011 16 1 2
    0100 1100 1 25 5
    0100 1101 1 1 5
    0100 1110 2 15 3
    0100 1111 8 8 3

    0101 0000 1 6 1
    0101 0001 1 10 1
    0101 0010 2 6 1
    0101 0011 5 2 5
    0101 0100 3 6 1
    0101 0101 4 5 1
    0101 0110 1 12 2
    0101 0111 1 10 2
    0101 1000 1 18 3
    0101 1001 1 20 3
    0101 1010 1 24 4
    0101 1011 20 20 0 Not a "Freeplay" : you MUST insert a coin !
    0101 1100 1 30 5
    0101 1101 3 3 3
    0101 1110 2 18 1
    0101 1111 9 9 1

    0110 0000 2 1 2
    0110 0001 12 1 1
    0110 0010 4 1 2
    0110 0011 10 2 1
    0110 0100 6 1 2
    0110 0101 3 8 2
    0110 0110 1 1 2
    0110 0111 3 2 4
    0110 1000 2 3 6
    0110 1001 9 4 12
    0110 1010 1 2 4
    0110 1011 1 1 1
    0110 1100 2 5 10
    0110 1101 4 4 1
    0110 1110 4 3 6
    0110 1111 9 9 2

    0111 0000 3 1 3
    0111 0001 1 12 1
    0111 0010 6 1 3
    0111 0011 2 10 1
    0111 0100 9 1 3
    0111 0101 8 3 2
    0111 0110 3 2 6
    0111 0111 2 3 4
    0111 1000 1 1 3
    0111 1001 4 9 12
    0111 1010 3 4 12
    0111 1011 1 1 1
    0111 1100 3 5 15
    0111 1101 6 6 1
    0111 1110 2 2 3
    0111 1111 10 10 1


    1000 0000 4 1 4
    1000 0001 3 2 2
    1000 0010 8 1 4
    1000 0011 12 2 1
    1000 0100 12 1 4
    1000 0101 5 5 1
    1000 0110 2 1 4
    1000 0111 3 3 2
    1000 1000 4 3 12
    1000 1001 4 2 3
    1000 1010 1 1 4
    1000 1011 1 1 1
    1000 1100 4 5 20
    1000 1101 1 1 6
    1000 1110 8 3 12
    1000 1111 10 10 3


    1001 0000 5 1 5
    1001 0001 2 3 2
    1001 0010 10 1 5
    1001 0011 2 12 1
    1001 0100 15 1 5
    1001 0101 5 5 1
    1001 0110 5 2 10
    1001 0111 3 3 2
    1001 1000 5 3 15
    1001 1001 2 4 3
    1001 1010 5 4 20
    1001 1011 1 1 1
    1001 1100 1 1 5
    1001 1101 2 2 3
    1001 1110 10 3 15
    1001 1111 11 11 1


    1010 0000 3 2 3
    1010 0001 5 2 2
    1010 0010 6 2 3
    1010 0011 3 4 2
    1010 0100 9 2 3
    1010 0101 6 6 1
    1010 0110 3 4 6
    1010 0111 4 9 6
    1010 1000 1 2 3
    1010 1001 10 2 3
    1010 1010 3 8 12
    1010 1011 1 1 1
    1010 1100 2 10 15
    1010 1101 5 5 1
    1010 1110 2 2 3
    1010 1111 11 11 3


    1011 0000 3 5 3
    1011 0001 2 5 2
    1011 0010 6 5 3
    1011 0011 4 3 2
    1011 0100 9 5 3
    1011 0101 6 6 1
    1011 0110 3 10 6
    1011 0111 9 4 6
    1011 1000 1 5 3
    1011 1001 2 10 3
    1011 1010 3 20 12
    1011 1011 1 1 1
    1011 1100 3 25 15
    1011 1101 3 3 2
    1011 1110 2 5 3
    1011 1111 12 12 1


    1100 0000 4 5 4
    1100 0001 9 2 2
    1100 0010 8 5 4
    1100 0011 3 8 4
    1100 0100 12 5 4
    1100 0101 3 12 2
    1100 0110 2 5 4
    1100 0111 8 9 6
    1100 1000 4 15 12
    1100 1001 11 2 3
    1100 1010 1 5 4
    1100 1011 1 1 1
    1100 1100 4 25 20
    1100 1101 1 1 3
    1100 1110 8 15 12
    1100 1111 20 20 3


    1101 0000 4 1 1
    1101 0001 2 9 2
    1101 0010 4 2 1
    1101 0011 8 3 4
    1101 0100 4 3 1
    1101 0101 12 3 2
    1101 0110 8 1 2
    1101 0111 9 8 6
    1101 1000 12 1 3
    1101 1001 2 11 3
    1101 1010 12 2 3
    1101 1011 1 1 1
    1101 1100 20 1 5
    1101 1101 5 5 2
    1101 1110 18 2 3
    1101 1111 3 3 4


    1110 0000 5 5 1
    1110 0001 4 4 3
    1110 0010 5 2 1
    1110 0011 11 2 1
    1110 0100 5 3 1
    1110 0101 3 24 4
    1110 0110 10 1 2
    1110 0111 1 6 4
    1110 1000 15 1 3
    1110 1001 9 8 12
    1110 1010 20 1 4
    1110 1011 1 1 1
    1110 1100 25 1 5
    1110 1101 4 4 3
    1110 1110 20 4 4
    1110 1111 20 20 0 Not a "Freeplay" : you MUST insert a coin !


    1111 0000 6 1 1
    1111 0001 3 4 3
    1111 0010 6 2 1
    1111 0011 2 11 1
    1111 0100 6 3 1
    1111 0101 24 3 1
    1111 0110 12 1 2
    1111 0111 6 1 4
    1111 1000 18 1 3
    1111 1001 8 9 12
    1111 1010 24 1 4
    1111 1011 1 1 1
    1111 1100 15 2 3
    1111 1101 3 3 4
    1111 1110 "Freeplay"
    1111 1111 "Freeplay"


Table 2 :


    DSW1 DSW0 left right
bit 3210 5432 slot slot 1play

    0000 0xxx 1 1 1
    0000 1xxx 5 5 3

    0001 0xxx 1 1 2
    0001 1xxx 5 5 4

    0010 0xxx 2 2 1
    0010 1xxx 2 2 5

    0011 0xxx 1 1 4
    0011 1xxx 8 8 1

    0100 0xxx 1 1 5
    0100 1xxx 8 8 3

    0101 0xxx 3 3 1
    0101 1xxx 9 9 1

    0110 0xxx 4 4 1
    0110 1xxx 9 9 2

    0111 0xxx 6 6 1
    0111 1xxx 10 10 1

    1000 0xxx 1 1 6
    1000 1xxx 10 10 3

    1001 0xxx 5 1 5
    1001 1xxx 11 11 1

    1010 0xxx 5 5 1
    1010 1xxx 11 11 3

    1011 0xxx 3 3 2
    1011 1xxx 12 12 1

    1100 0xxx 1 1 3
    1100 1xxx 20 20 3

    1101 0xxx 5 5 2
    1101 1xxx 3 3 4

    1110 0xxx 4 4 3
    1110 1xxx 20 20 0 Not a "Freeplay" : you MUST insert a coin !

    1111 xxxx "Freeplay"


I'm sorry, but I don't know how to code the "Dip switches" this way 8(
The "Dip switches" are noted this way in the "Service mode" :

  DSW0 bit 0 = K
  DSW0 bit 1 = L
  DSW0 bit 2 = M
  DSW0 bit 3 = N
  DSW1 bit 0 = A
  DSW1 bit 1 = B
  DSW1 bit 2 = C
  DSW1 bit 3 = D
  DSW1 bit 6 = RIB (R18 ?)

Units are BCD coded (00-0x99) and are stored at address 0xD7C9.

Note that inserting a coin once you have 70 units has no effect : the coin is "lost" !
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems armwrest
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.06372
Tafoid
Administrator
Jul 14, 2010, 16:00
This needs to be merged into the source. It doesn't really qualify for a bug report - it's information best served in the MAME source.