trunk/src/devices/bus/centronics/epson_ex800.cpp
| r252904 | r252905 | |
| 269 | 269 | INPUT_PORTS_START( epson_ex800 ) |
| 270 | 270 | PORT_START("ONLISW") |
| 271 | 271 | PORT_BIT(0xfe, IP_ACTIVE_HIGH, IPT_UNUSED) |
| 272 | | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("ON LINE") PORT_CODE(KEYCODE_F9) PORT_CHANGED_MEMBER(DEVICE_SELF, epson_ex800_t, online_switch, NULL) |
| 272 | PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("ON LINE") PORT_CODE(KEYCODE_F9) PORT_CHANGED_MEMBER(DEVICE_SELF, epson_ex800_t, online_switch, nullptr) |
| 273 | 273 | |
| 274 | 274 | PORT_START("FEED") |
| 275 | 275 | PORT_BIT(0xfc, IP_ACTIVE_LOW, IPT_UNUSED) |
trunk/src/devices/bus/coco/coco_dwsock.cpp
| r252904 | r252905 | |
| 26 | 26 | |
| 27 | 27 | INPUT_PORTS_START( coco_drivewire ) |
| 28 | 28 | PORT_START(DRIVEWIRE_PORT_TAG) |
| 29 | | PORT_CONFNAME( 0xffff, 65504, "Drivewire Server TCP Port") |
| 30 | | PORT_CHANGED_MEMBER(DEVICE_SELF, beckerport_device, drivewire_port_changed, NULL ) |
| 29 | PORT_CONFNAME( 0xffff, 65504, "Drivewire Server TCP Port") PORT_CHANGED_MEMBER(DEVICE_SELF, beckerport_device, drivewire_port_changed, nullptr) |
| 31 | 30 | PORT_CONFSETTING( 65500, "65500" ) |
| 32 | 31 | PORT_CONFSETTING( 65501, "65501" ) |
| 33 | 32 | PORT_CONFSETTING( 65502, "65502" ) |
trunk/src/devices/bus/cpc/symbfac2.cpp
| r252904 | r252905 | |
| 36 | 36 | |
| 37 | 37 | static INPUT_PORTS_START(cpc_symbiface2) |
| 38 | 38 | PORT_START("sf2_mouse_x") |
| 39 | | PORT_BIT(0x3f , 0x00, IPT_MOUSE_X) PORT_SENSITIVITY(50) PORT_KEYDELTA(0) PORT_REVERSE PORT_PLAYER(1) PORT_CODE(MOUSECODE_X) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 39 | PORT_BIT(0x3f , 0x00, IPT_MOUSE_X) PORT_SENSITIVITY(50) PORT_KEYDELTA(0) PORT_REVERSE PORT_PLAYER(1) PORT_CODE(MOUSECODE_X) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 40 | 40 | |
| 41 | 41 | PORT_START("sf2_mouse_y") |
| 42 | | PORT_BIT(0x3f , 0x00, IPT_MOUSE_Y) PORT_SENSITIVITY(50) PORT_KEYDELTA(0) PORT_PLAYER(1) PORT_CODE(MOUSECODE_Y) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 42 | PORT_BIT(0x3f , 0x00, IPT_MOUSE_Y) PORT_SENSITIVITY(50) PORT_KEYDELTA(0) PORT_PLAYER(1) PORT_CODE(MOUSECODE_Y) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 43 | 43 | |
| 44 | 44 | PORT_START("sf2_mouse_buttons") |
| 45 | | PORT_BIT(0x00000001, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse left button") PORT_CODE(MOUSECODE_BUTTON1) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 46 | | PORT_BIT(0x00000002, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse right button") PORT_CODE(MOUSECODE_BUTTON3) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 47 | | PORT_BIT(0x00000004, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse middle button") PORT_CODE(MOUSECODE_BUTTON2) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 48 | | PORT_BIT(0x00000008, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse back button") PORT_CODE(MOUSECODE_BUTTON4) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 49 | | PORT_BIT(0x00000010, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse forward button") PORT_CODE(MOUSECODE_BUTTON5) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,NULL) |
| 45 | PORT_BIT(0x00000001, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse left button") PORT_CODE(MOUSECODE_BUTTON1) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 46 | PORT_BIT(0x00000002, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse right button") PORT_CODE(MOUSECODE_BUTTON3) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 47 | PORT_BIT(0x00000004, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse middle button") PORT_CODE(MOUSECODE_BUTTON2) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 48 | PORT_BIT(0x00000008, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse back button") PORT_CODE(MOUSECODE_BUTTON4) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 49 | PORT_BIT(0x00000010, IP_ACTIVE_HIGH, IPT_OTHER) PORT_NAME("PS/2 Mouse forward button") PORT_CODE(MOUSECODE_BUTTON5) PORT_CHANGED_MEMBER(DEVICE_SELF,cpc_symbiface2_device,mouse_change_x,nullptr) |
| 50 | 50 | |
| 51 | 51 | // TODO: mouse scroll wheel support |
| 52 | 52 | // PORT_START("sf2_mouse_scroll") |
trunk/src/devices/bus/isa/com.cpp
| r252904 | r252905 | |
| 56 | 56 | MCFG_RS232_RI_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, ri_w)) |
| 57 | 57 | MCFG_RS232_CTS_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, cts_w)) |
| 58 | 58 | |
| 59 | | //MCFG_RS232_PORT_ADD( "serport2", isa_com, NULL ) |
| 59 | //MCFG_RS232_PORT_ADD( "serport2", isa_com, nullptr ) |
| 60 | 60 | //MCFG_RS232_RXD_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, rx_w)) |
| 61 | 61 | //MCFG_RS232_DCD_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, dcd_w)) |
| 62 | 62 | //MCFG_RS232_DSR_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, dsr_w)) |
| 63 | 63 | //MCFG_RS232_RI_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, ri_w)) |
| 64 | 64 | //MCFG_RS232_CTS_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, cts_w)) |
| 65 | 65 | |
| 66 | | //MCFG_RS232_PORT_ADD( "serport3", isa_com, NULL ) |
| 66 | //MCFG_RS232_PORT_ADD( "serport3", isa_com, nullptr ) |
| 67 | 67 | //MCFG_RS232_RXD_HANDLER(DEVWRITELINE("uart_2", ins8250_uart_device, rx_w)) |
| 68 | 68 | //MCFG_RS232_DCD_HANDLER(DEVWRITELINE("uart_2", ins8250_uart_device, dcd_w)) |
| 69 | 69 | //MCFG_RS232_DSR_HANDLER(DEVWRITELINE("uart_2", ins8250_uart_device, dsr_w)) |
| r252904 | r252905 | |
| 164 | 164 | MCFG_RS232_RI_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, ri_w)) |
| 165 | 165 | MCFG_RS232_CTS_HANDLER(DEVWRITELINE("uart_1", ins8250_uart_device, cts_w)) |
| 166 | 166 | |
| 167 | | // MCFG_RS232_PORT_ADD( "serport2", isa_com, NULL ) |
| 168 | | // MCFG_RS232_PORT_ADD( "serport3", isa_com, NULL ) |
| 167 | // MCFG_RS232_PORT_ADD( "serport2", isa_com, nullptr ) |
| 168 | // MCFG_RS232_PORT_ADD( "serport3", isa_com, nullptr ) |
| 169 | 169 | MACHINE_CONFIG_END |
| 170 | 170 | |
| 171 | 171 | //************************************************************************** |
trunk/src/devices/bus/sms_ctrl/lphaser.cpp
| r252904 | r252905 | |
| 38 | 38 | static INPUT_PORTS_START( sms_light_phaser ) |
| 39 | 39 | PORT_START("CTRL_PORT") |
| 40 | 40 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) // TL (trigger) |
| 41 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_light_phaser_device, th_pin_r, NULL) |
| 41 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_light_phaser_device, th_pin_r, nullptr) |
| 42 | 42 | PORT_BIT( 0x9f, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 43 | 43 | |
| 44 | 44 | PORT_START("LPHASER_X") |
trunk/src/devices/bus/sms_ctrl/paddle.cpp
| r252904 | r252905 | |
| 41 | 41 | |
| 42 | 42 | static INPUT_PORTS_START( sms_paddle ) |
| 43 | 43 | PORT_START("CTRL_PORT") |
| 44 | | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_paddle_device, dir_pins_r, NULL) // Directional pins |
| 44 | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_paddle_device, dir_pins_r, nullptr) // Directional pins |
| 45 | 45 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // Vcc |
| 46 | 46 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) // TL |
| 47 | 47 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) // TH |
| 48 | | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_paddle_device, tr_pin_r, NULL) |
| 48 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_paddle_device, tr_pin_r, nullptr) |
| 49 | 49 | |
| 50 | 50 | PORT_START("PADDLE_X") // Paddle knob |
| 51 | 51 | PORT_BIT( 0xff, 0x80, IPT_PADDLE) PORT_SENSITIVITY(40) PORT_KEYDELTA(20) PORT_CENTERDELTA(0) PORT_MINMAX(0,255) |
trunk/src/devices/bus/sms_ctrl/sports.cpp
| r252904 | r252905 | |
| 103 | 103 | |
| 104 | 104 | static INPUT_PORTS_START( sms_sports_pad ) |
| 105 | 105 | PORT_START("SPORTS_IN") |
| 106 | | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_sports_pad_device, dir_pins_r, NULL) // Directional pins |
| 106 | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_sports_pad_device, dir_pins_r, nullptr) // Directional pins |
| 107 | 107 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // Vcc |
| 108 | 108 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) // TL (Button 1) |
| 109 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_sports_pad_device, th_pin_r, NULL) |
| 109 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_sports_pad_device, th_pin_r, nullptr) |
| 110 | 110 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) // TR (Button 2) |
| 111 | 111 | |
| 112 | 112 | PORT_START("SPORTS_OUT") |
| 113 | 113 | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED ) // Directional pins |
| 114 | 114 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // Vcc |
| 115 | 115 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) // TL (Button 1) |
| 116 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OUTPUT ) PORT_CHANGED_MEMBER(DEVICE_SELF, sms_sports_pad_device, th_pin_w, NULL) |
| 116 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OUTPUT ) PORT_CHANGED_MEMBER(DEVICE_SELF, sms_sports_pad_device, th_pin_w, nullptr) |
| 117 | 117 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) // TR (Button 2) |
| 118 | 118 | |
| 119 | 119 | PORT_START("SPORTS_X") /* Sports Pad X axis */ |
trunk/src/devices/bus/sms_ctrl/sportsjp.cpp
| r252904 | r252905 | |
| 52 | 52 | |
| 53 | 53 | static INPUT_PORTS_START( sms_sports_pad_jp ) |
| 54 | 54 | PORT_START("SPORTS_JP_IN") |
| 55 | | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_sports_pad_jp_device, dir_pins_r, NULL) // Directional pins |
| 55 | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, sms_sports_pad_jp_device, dir_pins_r, nullptr) // Directional pins |
| 56 | 56 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // Vcc |
| 57 | 57 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) // TL (Button 1) |
| 58 | 58 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) // TH |
trunk/src/mame/audio/gottlieb.cpp
| r252904 | r252905 | |
| 965 | 965 | PORT_DIPNAME( 0x40, 0x40, "Sound Test" ) PORT_DIPLOCATION("SB2:7") |
| 966 | 966 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 967 | 967 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 968 | | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, gottlieb_sound_r2_device, speech_drq_custom_r, NULL) |
| 968 | PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, gottlieb_sound_r2_device, speech_drq_custom_r, nullptr) |
| 969 | 969 | INPUT_PORTS_END |
| 970 | 970 | |
| 971 | 971 | |