Previous 199869 Revisions Next

r29283 Friday 4th April, 2014 at 20:22:37 UTC by hap
er, it's JP, not J
[src/mess/drivers]ng_aes.c

trunk/src/mess/drivers/ng_aes.c
r29282r29283
141141   DECLARE_READ16_MEMBER(aes_in1_r);
142142   DECLARE_READ16_MEMBER(aes_in2_r);
143143
144   DECLARE_INPUT_CHANGED_MEMBER(aes_j1);
144   DECLARE_INPUT_CHANGED_MEMBER(aes_jp1);
145145
146146   DECLARE_MACHINE_START(neocd);
147147   DECLARE_MACHINE_START(neogeo);
r29282r29283
13441344   PORT_BIT( 0x00e0, IP_ACTIVE_HIGH, IPT_UNUSED )  /* AES has no upd4990a */
13451345   PORT_BIT( 0xff00, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, neogeo_state, get_audio_result, NULL)
13461346
1347   PORT_START("JP") // J1 and J2 are jumpers or solderpads depending on AES board revision, intended for use on the Development BIOS
1348   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Short J1 (Debug Monitor)") PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, ng_aes_state, aes_j1, 0)
1349//   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) // what is J2 for? somehow related to system reset, disable watchdog?
1347   PORT_START("JP") // JP1 and JP2 are jumpers or solderpads depending on AES board revision, intended for use on the Development BIOS
1348   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Short JP1 (Debug Monitor)") PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, ng_aes_state, aes_jp1, 0)
1349//   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) // what is JP2 for? somehow related to system reset, disable watchdog?
13501350INPUT_PORTS_END
13511351
1352INPUT_CHANGED_MEMBER(ng_aes_state::aes_j1)
1352INPUT_CHANGED_MEMBER(ng_aes_state::aes_jp1)
13531353{
1354   // Shorting J1 causes a 68000 /BERR (Bus Error). On Dev Bios, this pops up the debug monitor
1354   // Shorting JP1 causes a 68000 /BERR (Bus Error). On Dev Bios, this pops up the debug monitor.
13551355   if (newval)
13561356      m_maincpu->set_input_line(M68K_LINE_BUSERROR, HOLD_LINE);
13571357}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team