mirror of
https://github.com/holub/mame
synced 2025-05-20 20:58:51 +03:00
mephisto1: allow 6.144mhz (nw)
This commit is contained in:
parent
b25248b5b7
commit
90ccfa17dd
@ -334,6 +334,11 @@ static INPUT_PORTS_START( mephisto )
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_V) PORT_NAME("REV")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_H) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("H / 8")
|
||||
|
||||
PORT_START("IN.4") // 2nd model main PCB has 2 XTALs on PCB
|
||||
PORT_CONFNAME( 0x01, 0x00, "CPU Frequency" ) PORT_CHANGED_MEMBER(DEVICE_SELF, brikett_state, switch_cpu_freq, nullptr)
|
||||
PORT_CONFSETTING( 0x00, "3.579MHz (Battery / Model 1)" )
|
||||
PORT_CONFSETTING( 0x01, "6.144MHz (Mains)" )
|
||||
|
||||
PORT_START("RESET")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_R) PORT_NAME("RES") PORT_CHANGED_MEMBER(DEVICE_SELF, brikett_state, reset_button, nullptr)
|
||||
INPUT_PORTS_END
|
||||
@ -341,9 +346,9 @@ INPUT_PORTS_END
|
||||
static INPUT_PORTS_START( mephisto2 )
|
||||
PORT_INCLUDE( mephisto )
|
||||
|
||||
PORT_START("IN.4") // 2 XTALs on PCB
|
||||
PORT_MODIFY("IN.4") // default to 6.144MHz
|
||||
PORT_CONFNAME( 0x01, 0x01, "CPU Frequency" ) PORT_CHANGED_MEMBER(DEVICE_SELF, brikett_state, switch_cpu_freq, nullptr)
|
||||
PORT_CONFSETTING( 0x00, "3.579MHz (Battery)" )
|
||||
PORT_CONFSETTING( 0x00, "3.579MHz (Battery / Model 1)" )
|
||||
PORT_CONFSETTING( 0x01, "6.144MHz (Mains)" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user