diff options
author | hap <happppp@users.noreply.github.com> | 2019-08-08 23:09:54 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2019-08-08 23:09:54 +0200 |
commit | 90ccfa17dd99ade61a2c02e67e09c9aae93f8067 (patch) | |
tree | 353b5b95e69d3dadd85f9634bf5cc4ebff014a41 | |
parent | b25248b5b7923163cbf2e583a110a6f5b9cf463b (diff) |
mephisto1: allow 6.144mhz (nw)
-rw-r--r-- | src/mame/drivers/mephisto_brikett.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mame/drivers/mephisto_brikett.cpp b/src/mame/drivers/mephisto_brikett.cpp index 135bcc309b8..d84395e88f6 100644 --- a/src/mame/drivers/mephisto_brikett.cpp +++ b/src/mame/drivers/mephisto_brikett.cpp @@ -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 |