From 2ccef2dfd468cae0f22764cf9a06a3b3c722a843 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 22 Mar 2019 15:02:00 +0100 Subject: [PATCH] fidel_cc1: add notes (nw) --- src/mame/drivers/fidel_cc1.cpp | 26 ++++++++++++++++++++------ src/mame/drivers/fidel_cc10.cpp | 6 ++---- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/mame/drivers/fidel_cc1.cpp b/src/mame/drivers/fidel_cc1.cpp index c59fcb3ee8c..cfee2fdda67 100644 --- a/src/mame/drivers/fidel_cc1.cpp +++ b/src/mame/drivers/fidel_cc1.cpp @@ -1,22 +1,30 @@ // license:BSD-3-Clause // copyright-holders:hap -// thanks-to:Berger +// thanks-to:Berger, Sean Riddle /****************************************************************************** * * fidel_cc1.cpp, subdriver of machine/fidelbase.cpp, machine/chessbase.cpp +Fidelity's 1st generation chess computers: +- *Chess Challenger +- *Chess Challenger 3 +- *Chess Challenger 10 (UCC10) + +* denotes not dumped (actually CC1 is dumped, but with half of the contents missing) + TODO: - driver is untested, but it should be easy to get working when a good dump shows up (or a rom of CC3, even) ******************************************************************************* -Fidelity Chess Challenger (1) -------------------- +Chess Challenger (1) +-------------------- This is the world's 1st released dedicated chess computer. Oddly, the rows/columns -are reversed: left to right is 1-8, bottom to top is A-H, eg. pawn from d2 to d4 -is 4b to 4d here. +are reversed: left to right is 1-8, bottom to top is A-H, eg. pawn from D2 to D4 +is 4B to 4D here. +PCB label PC-P-86, P179 C-2 7.77 NEC 8080AF @ 2MHz(18MHz XTAL through a 8224) Everything goes via a NEC B8228, its special features are unused. NEC 2316A ROM(2KB), 4*2101AL RAM(0.5KB total) @@ -25,6 +33,10 @@ NEC 2316A ROM(2KB), 4*2101AL RAM(0.5KB total) Chess Challenger 3 is on the same hardware, but with double ROM size, and they corrected the reversed chess notation. It was also offered as an upgrade to CC1. +Chess Challenger 10 version 'C'(model UCC10) is on (nearly) the same PCB too, +label P179 C-3 9.77, with a small daughterboard for 8KB ROM. Again, it was also +offered as an upgrade to CC1, or CC3. + ******************************************************************************/ #include "emu.h" @@ -88,8 +100,10 @@ READ8_MEMBER(cc1_state::ppi_porta_r) { // 74148(priority encoder) I0-I7: inputs // d0-d2: 74148 S0-S2, d3: 74148 GS + u8 data = count_leading_zeros(m_inp_matrix[0]->read()) - 24; + // d5-d7: more inputs (direct) - u8 data = (count_leading_zeros(m_inp_matrix[0]->read()) - 24) | (~m_inp_matrix[1]->read() << 5 & 0xe0); + data |= ~m_inp_matrix[1]->read() << 5 & 0xe0; // d4: 555 Q return data | ((m_delay->enabled()) ? 0x10 : 0); diff --git a/src/mame/drivers/fidel_cc10.cpp b/src/mame/drivers/fidel_cc10.cpp index 9b51cb23b34..128332a5001 100644 --- a/src/mame/drivers/fidel_cc10.cpp +++ b/src/mame/drivers/fidel_cc10.cpp @@ -13,14 +13,12 @@ TODO: Fidelity Chess Challenger 10 (CCX) ------------------- -4 versions are known to exist: A,B,C,D. Strangely, version C(UCC10) has an 8080 -instead of Z80. Chess Challenger 1,3 and 7 also run on very similar hardware. +3 versions are known to exist: A,B,C. Strangely, version C(UCC10) has an 8080 +instead of Z80 and no beeper, it's on CC1-based hardware. Z80A CPU @ 4MHz, NEC D8255C 4KB ROM(NEC 2332A), 2*256 bytes RAM(4*NEC 2111AL-4) - The beeper is via a 556 timer, fixed-frequency at around 1300-1400Hz. -Not all hardware configurations include the beeper. Checker Challenger 4 (ACR) is on the same PCB, twice less RAM and the beeper gone.