From f79adbeef4cc03cd3087cb4271bf4d487dadde81 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 1 May 2020 16:44:41 +0200 Subject: decide against using sensorboard interface for keypad chesscomputers (nw) --- src/mame/drivers/aci_borisdpl.cpp | 5 - src/mame/drivers/aci_ggm.cpp | 2 - src/mame/drivers/fidel_cc1.cpp | 18 +- src/mame/drivers/saitek_chesstrv.cpp | 5 - src/mame/drivers/saitek_mark5.cpp | 6 +- src/mame/drivers/sc2.cpp | 5 - src/mame/layout/aci_boris.lay | 2 +- src/mame/layout/aci_borisdpl.lay | 457 +---------------------------------- src/mame/layout/aci_ggm.lay | 2 +- src/mame/layout/chessmate.lay | 2 +- src/mame/layout/cmpchess.lay | 2 +- src/mame/layout/cncchess.lay | 2 +- src/mame/layout/fidel_bcc.lay | 2 + src/mame/layout/fidel_cc1.lay | 2 + src/mame/layout/fidel_cc10.lay | 2 + src/mame/layout/fidel_cc3.lay | 2 + src/mame/layout/fidel_vcc.lay | 2 + src/mame/layout/intellect02.lay | 2 +- src/mame/layout/mephisto_1.lay | 2 +- src/mame/layout/mephisto_3.lay | 28 +++ src/mame/layout/mephisto_esb2.lay | 28 +++ src/mame/layout/novag_mk1.lay | 2 +- src/mame/layout/novag_mk2.lay | 2 +- src/mame/layout/novag_mk2a.lay | 2 +- src/mame/layout/saitek_chesstrv.lay | 456 +--------------------------------- src/mame/layout/saitek_delta1.lay | 2 +- src/mame/layout/saitek_mark6.lay | 18 ++ src/mame/layout/saitek_minichess.lay | 2 + src/mame/layout/sc2.lay | 388 +---------------------------- src/mame/layout/slc1.lay | 3 + src/mame/layout/slc1a.lay | 6 +- 31 files changed, 130 insertions(+), 1329 deletions(-) diff --git a/src/mame/drivers/aci_borisdpl.cpp b/src/mame/drivers/aci_borisdpl.cpp index 3a11d7266e6..1f27cfe3428 100644 --- a/src/mame/drivers/aci_borisdpl.cpp +++ b/src/mame/drivers/aci_borisdpl.cpp @@ -20,7 +20,6 @@ as SL90259. #include "emu.h" #include "cpu/f8/f8.h" #include "machine/f3853.h" -#include "machine/sensorboard.h" #include "video/pwm.h" // internal artwork @@ -201,10 +200,6 @@ void borisdpl_state::borisdpl(machine_config &config) psu.read_b().set(FUNC(borisdpl_state::ram_address_r)); psu.write_b().set(FUNC(borisdpl_state::ram_address_w)); - // built-in chessboard is not electronic - sensorboard_device &board(SENSORBOARD(config, "board").set_type(sensorboard_device::NOSENSORS)); - board.init_cb().set("board", FUNC(sensorboard_device::preset_chess)); - /* video hardware */ PWM_DISPLAY(config, m_display).set_size(8, 7); m_display->set_segmask(0xff, 0x7f); diff --git a/src/mame/drivers/aci_ggm.cpp b/src/mame/drivers/aci_ggm.cpp index f6582fa8147..ebf997a9338 100644 --- a/src/mame/drivers/aci_ggm.cpp +++ b/src/mame/drivers/aci_ggm.cpp @@ -41,8 +41,6 @@ TODO: - confirm display AP segment, is it used anywhere? - verify cartridge pinout, right now assume A0-A15 (max known cart size is 24KB). Boris/Sargon cartridge is A0-A11 and 2 CS lines, Steinitz uses the whole range. -- (probably won't) add chesspieces to artwork? this machine supports more board - games than just chess: checkers, reversi, and even a blackjack game ******************************************************************************/ diff --git a/src/mame/drivers/fidel_cc1.cpp b/src/mame/drivers/fidel_cc1.cpp index 6ad739f4fd0..eb1ec8ce428 100644 --- a/src/mame/drivers/fidel_cc1.cpp +++ b/src/mame/drivers/fidel_cc1.cpp @@ -10,6 +10,18 @@ Fidelity's 1st generation chess computers: * denotes not dumped (actually CC1 is dumped, but with half of the contents missing) +The first generation of chesscomputers didn't have an electronic chessboard. +Some of them required a separate chessboard, others had a small chessboard +attached to it (the latter applies to Fidelity). + +For those familiar with MAME's sensorboard interface and really want to use it +for the old keypad-input machines, there is an awkward workaround: Start a 2nd +instance of MAME with -sound none and load mephisto3 or mephisto2e, turn off +the ESB 6000 board in the machine configuration, and set the video options to +"Internal Layout (Board)". The same thing can be done with ccmk6. + +That being said, it's probably a better idea to use a real chessboard. + ******************************************************************************* Chess Challenger (1) @@ -30,9 +42,9 @@ CC1 hardware overview: - NEC 2316A ROM(2KB), 4*2101AL RAM(0.5KB total) - 8255C for I/O, 4*7seg display + 2 extra leds, 12-key keypad -Chess Challenger (upgraded version) is on the same hardware, but with double the -ROM size, and they corrected the reversed chess notation. It was also offered as -an upgrade to CC1. PCB label P179 C-3 9.77. +Chess Challenger (upgraded version) released a few months later is on the same +hardware, but with double the ROM size, and they corrected the reversed chess +notation. It was also offered as an upgrade to CC1. PCB label P179 C-3 9.77. Chess Challenger (model UCC10) is on nearly the same PCB too, same label as CC3, with a small daughterboard for 8KB ROM. Again, it was also offered as an upgrade diff --git a/src/mame/drivers/saitek_chesstrv.cpp b/src/mame/drivers/saitek_chesstrv.cpp index 0f3f313ebe4..677d0f0bee8 100644 --- a/src/mame/drivers/saitek_chesstrv.cpp +++ b/src/mame/drivers/saitek_chesstrv.cpp @@ -26,7 +26,6 @@ TODO: #include "emu.h" #include "cpu/f8/f8.h" #include "machine/f3853.h" -#include "machine/sensorboard.h" #include "video/pwm.h" // internal artwork @@ -205,10 +204,6 @@ void chesstrv_state::chesstrv(machine_config &config) psu.read_b().set(FUNC(chesstrv_state::input_r)); psu.write_b().set(FUNC(chesstrv_state::matrix_w)); - // built-in chessboard is not electronic - sensorboard_device &board(SENSORBOARD(config, "board").set_type(sensorboard_device::NOSENSORS)); - board.init_cb().set("board", FUNC(sensorboard_device::preset_chess)); - /* video hardware */ PWM_DISPLAY(config, m_display).set_size(4, 7); m_display->set_segmask(0xf, 0x7f); diff --git a/src/mame/drivers/saitek_mark5.cpp b/src/mame/drivers/saitek_mark5.cpp index ae314766d07..d35bfa95cfd 100644 --- a/src/mame/drivers/saitek_mark5.cpp +++ b/src/mame/drivers/saitek_mark5.cpp @@ -127,7 +127,6 @@ private: u8 m_lcd_rowsel = 0; u8 m_cb_mux = 0; - emu_timer *m_cb_startdelay; emu_timer *m_irqtimer; TIMER_CALLBACK_MEMBER(interrupt); void write_lcd(int state); @@ -138,9 +137,6 @@ void mark5_state::machine_start() m_out_x.resolve(); m_irqtimer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mark5_state::interrupt),this)); - m_cb_startdelay = machine().scheduler().timer_alloc(timer_expired_delegate()); - m_cb_startdelay->adjust(attotime::from_msec(100)); - // register for savestates save_item(NAME(m_dac_data)); save_item(NAME(m_lcd_lcd)); @@ -277,7 +273,7 @@ WRITE8_MEMBER(mark5_state::cb_w) READ8_MEMBER(mark5_state::cb_r) { - if (~m_inputs[6]->read() & 0x20 || m_cb_startdelay->enabled()) + if (~m_inputs[6]->read() & 0x20) return 0xff; // read chessboard sensors diff --git a/src/mame/drivers/sc2.cpp b/src/mame/drivers/sc2.cpp index bad13ec8350..6a3ec1886e9 100644 --- a/src/mame/drivers/sc2.cpp +++ b/src/mame/drivers/sc2.cpp @@ -31,7 +31,6 @@ Fidelity CC10 synonyms: RE, LV, RV, PB, ♪, CL, EN #include "emu.h" #include "cpu/z80/z80.h" #include "machine/z80pio.h" -#include "machine/sensorboard.h" #include "video/pwm.h" #include "sound/dac.h" #include "sound/volt_reg.h" @@ -210,10 +209,6 @@ void sc2_state::sc2(machine_config &config) m_pio->in_pb_callback().set(FUNC(sc2_state::pio_port_b_r)); m_pio->out_pb_callback().set(FUNC(sc2_state::pio_port_b_w)); - // built-in chessboard is not electronic - sensorboard_device &board(SENSORBOARD(config, "board").set_type(sensorboard_device::NOSENSORS)); - board.init_cb().set("board", FUNC(sensorboard_device::preset_chess)); - /* video hardware */ PWM_DISPLAY(config, m_display).set_size(4, 8); m_display->set_segmask(0xf, 0x7f); diff --git a/src/mame/layout/aci_boris.lay b/src/mame/layout/aci_boris.lay index 8064bcba956..6dbaa6fa2f0 100644 --- a/src/mame/layout/aci_boris.lay +++ b/src/mame/layout/aci_boris.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/aci_borisdpl.lay b/src/mame/layout/aci_borisdpl.lay index 62f2032dd40..c38b286fabe 100644 --- a/src/mame/layout/aci_borisdpl.lay +++ b/src/mame/layout/aci_borisdpl.lay @@ -4,6 +4,8 @@ license:CC0 --> + + @@ -219,447 +221,6 @@ license:CC0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -766,19 +327,7 @@ license:CC0 - - - - - - - - - - - - - + diff --git a/src/mame/layout/aci_ggm.lay b/src/mame/layout/aci_ggm.lay index 8d0cacb5292..7844d3ced39 100644 --- a/src/mame/layout/aci_ggm.lay +++ b/src/mame/layout/aci_ggm.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/chessmate.lay b/src/mame/layout/chessmate.lay index 489908f3c12..1a5ab17322c 100644 --- a/src/mame/layout/chessmate.lay +++ b/src/mame/layout/chessmate.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/cmpchess.lay b/src/mame/layout/cmpchess.lay index 00d2f1f395b..d2860741949 100644 --- a/src/mame/layout/cmpchess.lay +++ b/src/mame/layout/cmpchess.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/cncchess.lay b/src/mame/layout/cncchess.lay index 6f3cfd085a1..69333018b29 100644 --- a/src/mame/layout/cncchess.lay +++ b/src/mame/layout/cncchess.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/fidel_bcc.lay b/src/mame/layout/fidel_bcc.lay index 47e88278688..115c309daf2 100644 --- a/src/mame/layout/fidel_bcc.lay +++ b/src/mame/layout/fidel_bcc.lay @@ -4,6 +4,8 @@ license:CC0 --> + + diff --git a/src/mame/layout/fidel_cc1.lay b/src/mame/layout/fidel_cc1.lay index bc33ade60c2..031a472c979 100644 --- a/src/mame/layout/fidel_cc1.lay +++ b/src/mame/layout/fidel_cc1.lay @@ -4,6 +4,8 @@ license:CC0 --> + + diff --git a/src/mame/layout/fidel_cc10.lay b/src/mame/layout/fidel_cc10.lay index 50b253ab3cb..5936ecf7743 100644 --- a/src/mame/layout/fidel_cc10.lay +++ b/src/mame/layout/fidel_cc10.lay @@ -4,6 +4,8 @@ license:CC0 --> + + diff --git a/src/mame/layout/fidel_cc3.lay b/src/mame/layout/fidel_cc3.lay index 509f688826e..b17b99dd849 100644 --- a/src/mame/layout/fidel_cc3.lay +++ b/src/mame/layout/fidel_cc3.lay @@ -4,6 +4,8 @@ license:CC0 --> + + diff --git a/src/mame/layout/fidel_vcc.lay b/src/mame/layout/fidel_vcc.lay index b25c9bbb9df..cb73b1c3a9d 100644 --- a/src/mame/layout/fidel_vcc.lay +++ b/src/mame/layout/fidel_vcc.lay @@ -4,6 +4,8 @@ license:CC0 --> + + diff --git a/src/mame/layout/intellect02.lay b/src/mame/layout/intellect02.lay index c5007efc00a..b6025e0494d 100644 --- a/src/mame/layout/intellect02.lay +++ b/src/mame/layout/intellect02.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/mephisto_1.lay b/src/mame/layout/mephisto_1.lay index 0fc4091d319..f41a8a9d8b8 100644 --- a/src/mame/layout/mephisto_1.lay +++ b/src/mame/layout/mephisto_1.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/mephisto_3.lay b/src/mame/layout/mephisto_3.lay index c9c4c2e4945..868f20e483e 100644 --- a/src/mame/layout/mephisto_3.lay +++ b/src/mame/layout/mephisto_3.lay @@ -643,6 +643,34 @@ license:CC0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mame/layout/mephisto_esb2.lay b/src/mame/layout/mephisto_esb2.lay index b205061dfb2..9126e05a520 100644 --- a/src/mame/layout/mephisto_esb2.lay +++ b/src/mame/layout/mephisto_esb2.lay @@ -640,6 +640,34 @@ license:CC0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mame/layout/novag_mk1.lay b/src/mame/layout/novag_mk1.lay index 6101b43d12a..9ec445a6185 100644 --- a/src/mame/layout/novag_mk1.lay +++ b/src/mame/layout/novag_mk1.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/novag_mk2.lay b/src/mame/layout/novag_mk2.lay index de51b853d06..15f4ea53b0b 100644 --- a/src/mame/layout/novag_mk2.lay +++ b/src/mame/layout/novag_mk2.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/novag_mk2a.lay b/src/mame/layout/novag_mk2a.lay index 493b3da25d4..38ceea621d8 100644 --- a/src/mame/layout/novag_mk2a.lay +++ b/src/mame/layout/novag_mk2a.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/saitek_chesstrv.lay b/src/mame/layout/saitek_chesstrv.lay index 90f5e8673e1..2839a8d9d94 100644 --- a/src/mame/layout/saitek_chesstrv.lay +++ b/src/mame/layout/saitek_chesstrv.lay @@ -4,10 +4,13 @@ license:CC0 --> + + + @@ -50,446 +53,6 @@ license:CC0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -564,18 +127,7 @@ license:CC0 - - - - - - - - - - - - + diff --git a/src/mame/layout/saitek_delta1.lay b/src/mame/layout/saitek_delta1.lay index f591c775fdb..f976b397a91 100644 --- a/src/mame/layout/saitek_delta1.lay +++ b/src/mame/layout/saitek_delta1.lay @@ -4,7 +4,7 @@ license:CC0 --> - + diff --git a/src/mame/layout/saitek_mark6.lay b/src/mame/layout/saitek_mark6.lay index 4f746395c0f..5ad2f9e937e 100644 --- a/src/mame/layout/saitek_mark6.lay +++ b/src/mame/layout/saitek_mark6.lay @@ -781,6 +781,24 @@ license:CC0 + + + + + + + + + + + + + + + + + + diff --git a/src/mame/layout/saitek_minichess.lay b/src/mame/layout/saitek_minichess.lay index 6ab80312962..3d56ff9e6ec 100644 --- a/src/mame/layout/saitek_minichess.lay +++ b/src/mame/layout/saitek_minichess.lay @@ -4,6 +4,8 @@ license:CC0 --> + + diff --git a/src/mame/layout/sc2.lay b/src/mame/layout/sc2.lay index 012d265efec..262abb44d80 100644 --- a/src/mame/layout/sc2.lay +++ b/src/mame/layout/sc2.lay @@ -4,6 +4,8 @@ license:CC0 --> + + @@ -127,359 +129,6 @@ license:CC0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -558,38 +207,7 @@ license:CC0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/mame/layout/slc1.lay b/src/mame/layout/slc1.lay index 39698a03af9..24a6f630054 100644 --- a/src/mame/layout/slc1.lay +++ b/src/mame/layout/slc1.lay @@ -3,6 +3,9 @@ license:CC0 --> + + + diff --git a/src/mame/layout/slc1a.lay b/src/mame/layout/slc1a.lay index 407ee9a02e7..6866281a6c6 100644 --- a/src/mame/layout/slc1a.lay +++ b/src/mame/layout/slc1a.lay @@ -4,14 +4,16 @@ license:CC0 --> - + + + - + -- cgit v1.2.3