mirror of
https://github.com/holub/mame
synced 2025-05-06 14:25:54 +03:00
chinsan: Identify coinage and demo sound dip switches
This commit is contained in:
parent
7c3745aac4
commit
9c683e4eb4
@ -7,7 +7,7 @@
|
||||
© 1987 Sanritsu
|
||||
|
||||
TODO:
|
||||
- Figure out dip switches
|
||||
- Figure out the rest of the dip switches
|
||||
- Verify clock speeds
|
||||
- Raw screen params
|
||||
|
||||
@ -118,12 +118,20 @@ ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( chinsan )
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x01, 0x01, "SW-1:1")
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x02, 0x02, "SW-1:2")
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x04, 0x04, "SW-1:3")
|
||||
PORT_DIPNAME(0x07, 0x07, DEF_STR( Coinage )) PORT_DIPLOCATION("SW-1:1,2,3")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_5C ))
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_4C ))
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ))
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_2C ))
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 4C_1C ))
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ))
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 2C_1C ))
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ))
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x08, 0x08, "SW-1:4")
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "SW-1:5")
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "SW-1:6")
|
||||
PORT_DIPNAME(0x20, 0x00, DEF_STR( Demo_Sounds )) PORT_DIPLOCATION("SW-1:6")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ))
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ))
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "SW-1:7")
|
||||
PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "SW-1:8")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user