From 12e99942ff3048f3e8f45f2a00039cb09108b385 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 12 Jul 2019 12:31:47 +0200 Subject: polgar layout: trying out new blendmodes (nw) --- src/mame/drivers/polgar.cpp | 9 +- src/mame/drivers/saitek_risc2500.cpp | 5 +- src/mame/drivers/tasc.cpp | 2 +- src/mame/layout/mephisto_lcd.lay | 427 ---------------------------------- src/mame/layout/mephisto_polgar.lay | 433 +++++++++++++++++++++++++++++++++++ 5 files changed, 442 insertions(+), 434 deletions(-) delete mode 100644 src/mame/layout/mephisto_lcd.lay create mode 100644 src/mame/layout/mephisto_polgar.lay diff --git a/src/mame/drivers/polgar.cpp b/src/mame/drivers/polgar.cpp index 9f1222f8ea2..b2893ac51eb 100644 --- a/src/mame/drivers/polgar.cpp +++ b/src/mame/drivers/polgar.cpp @@ -22,9 +22,10 @@ TODO: #include "video/hd44780.h" #include "speaker.h" -#include "mephisto_lcd.lh" +// internal artwork #include "mephisto_academy.lh" #include "mephisto_milano.lh" +#include "mephisto_polgar.lh" class mephisto_polgar_state : public driver_device @@ -265,7 +266,7 @@ static INPUT_PORTS_START( polgar ) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("LEV") PORT_CODE(KEYCODE_L) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("FCT") PORT_CODE(KEYCODE_F) PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("ENT") PORT_CODE(KEYCODE_ENTER) - PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_BACKSPACE) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_BACKSPACE) PORT_CODE(KEYCODE_DEL) INPUT_PORTS_END void mephisto_risc_state::machine_start() @@ -313,7 +314,7 @@ void mephisto_polgar_state::polgar(machine_config &config) MEPHISTO_SENSORS_BOARD(config, "board"); MEPHISTO_DISPLAY_MODUL(config, "display"); - config.set_default_layout(layout_mephisto_lcd); + config.set_default_layout(layout_mephisto_polgar); } void mephisto_polgar_state::polgar10(machine_config &config) @@ -344,7 +345,7 @@ void mephisto_risc_state::mrisc(machine_config &config) MEPHISTO_SENSORS_BOARD(config, "board"); MEPHISTO_DISPLAY_MODUL(config, "display"); - config.set_default_layout(layout_mephisto_lcd); + config.set_default_layout(layout_mephisto_polgar); } void mephisto_milano_state::milano(machine_config &config) diff --git a/src/mame/drivers/saitek_risc2500.cpp b/src/mame/drivers/saitek_risc2500.cpp index 7bef7e8a201..df3c07fcd16 100644 --- a/src/mame/drivers/saitek_risc2500.cpp +++ b/src/mame/drivers/saitek_risc2500.cpp @@ -5,7 +5,8 @@ Saitek RISC 2500, Mephisto Montreux The chess engine is also compatible with Tasc's The ChessMachine software. -Was the hardware+software subcontracted to Tasc? It has similarities with Tasc R30. +The hardware+software appears to have been subcontracted to Tasc. It has similarities +with Tasc R30, and the Montreux repair manual schematics footnotes say TASC23C. notes: - holding LEFT+RIGHT on boot load the QC TestMode @@ -271,7 +272,7 @@ void risc2500_state::risc2500(machine_config &config) ARM(config, m_maincpu, XTAL(28'322'000) / 2); // VY86C010 m_maincpu->set_addrmap(AS_PROGRAM, &risc2500_state::risc2500_mem); m_maincpu->set_copro_type(arm_cpu_device::copro_type::VL86C020); - m_maincpu->set_periodic_int(FUNC(risc2500_state::irq1_line_hold), attotime::from_hz(256)); + m_maincpu->set_periodic_int(FUNC(risc2500_state::irq1_line_hold), attotime::from_hz(32.768_kHz_XTAL/128)); // 256Hz screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_LCD)); screen.set_refresh_hz(50); diff --git a/src/mame/drivers/tasc.cpp b/src/mame/drivers/tasc.cpp index 186ea53d7be..c451ebeea1c 100644 --- a/src/mame/drivers/tasc.cpp +++ b/src/mame/drivers/tasc.cpp @@ -213,7 +213,7 @@ void tasc_state::tasc(machine_config &config) ARM(config, m_maincpu, 30_MHz_XTAL); m_maincpu->set_addrmap(AS_PROGRAM, &tasc_state::main_map); m_maincpu->set_copro_type(arm_cpu_device::copro_type::VL86C020); - m_maincpu->set_periodic_int(FUNC(tasc_state::irq1_line_hold), attotime::from_hz(256)); + m_maincpu->set_periodic_int(FUNC(tasc_state::irq1_line_hold), attotime::from_hz(32.768_kHz_XTAL/128)); // 256Hz TIMER(config, "disable_bootrom").configure_generic(FUNC(tasc_state::disable_bootrom)); diff --git a/src/mame/layout/mephisto_lcd.lay b/src/mame/layout/mephisto_lcd.lay deleted file mode 100644 index 20188bdddf6..00000000000 --- a/src/mame/layout/mephisto_lcd.lay +++ /dev/null @@ -1,427 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/mame/layout/mephisto_polgar.lay b/src/mame/layout/mephisto_polgar.lay new file mode 100644 index 00000000000..1d27904ce04 --- /dev/null +++ b/src/mame/layout/mephisto_polgar.lay @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3