From c085717b4a6c58728916e95de06d1f1f6d140dac Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 27 Dec 2025 08:18:24 -0500 Subject: akai/s3000.cpp: Added layout for s3000xl. [Guru] --- src/mame/akai/s3000.cpp | 7 +- src/mame/layout/s3000xl.lay | 840 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 845 insertions(+), 2 deletions(-) create mode 100755 src/mame/layout/s3000xl.lay diff --git a/src/mame/akai/s3000.cpp b/src/mame/akai/s3000.cpp index 7ce19c08dca..83f5fd31d1d 100644 --- a/src/mame/akai/s3000.cpp +++ b/src/mame/akai/s3000.cpp @@ -120,6 +120,7 @@ #include "s2000.lh" #include "s3000.lh" +#include "s3000xl.lh" #include "cd3000i.lh" #include "cd3000xl.lh" @@ -711,6 +712,8 @@ void s3000_state::s3000xl(machine_config &config) m_klcs->in_pa_callback().set(FUNC(s3000_state::klcs_porta_r)); I8255(config, m_wadcs); + + config.set_default_layout(layout_s3000xl); } void s3000_state::cd3000xl(machine_config &config) @@ -807,7 +810,7 @@ static INPUT_PORTS_START(s3000xl) PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Save / G") PORT_CODE(KEYCODE_D) PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F7 / O") PORT_CODE(KEYCODE_F7) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("2 / X") PORT_CODE(KEYCODE_2) - PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("+ / >") PORT_CODE(KEYCODE_EQUALS) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("- / >") PORT_CODE(KEYCODE_EQUALS) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("Right Arrow") PORT_BIT(0xe0, IP_ACTIVE_LOW, IPT_UNUSED) @@ -852,7 +855,7 @@ static INPUT_PORTS_START(s3000xl) PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Single / A") PORT_CODE(KEYCODE_Q) PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F1 / I") PORT_CODE(KEYCODE_F1) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("3 / Y") PORT_CODE(KEYCODE_3) - PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("- / <") PORT_CODE(KEYCODE_MINUS) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("+ / <") PORT_CODE(KEYCODE_MINUS) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("Left Arrow") PORT_BIT(0xe0, IP_ACTIVE_LOW, IPT_UNUSED) diff --git a/src/mame/layout/s3000xl.lay b/src/mame/layout/s3000xl.lay new file mode 100755 index 00000000000..94e01aed687 --- /dev/null +++ b/src/mame/layout/s3000xl.lay @@ -0,0 +1,840 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + ]]> + + + + + + + + + ]]> + + + + + + + + ]]> + + + + + + + + + + + ]]> + + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + ]]> + + + + + + + + + + + + + + + + + ]]> + + + + + + ]]> + + + + + + + + ]]> + + + + + + ]]> + + + + + + + + ]]> + + + + + + ]]> + + + + + + + + ]]> + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3