summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/smartboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/smartboard.cpp')
-rw-r--r--src/devices/machine/smartboard.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/devices/machine/smartboard.cpp b/src/devices/machine/smartboard.cpp
index 07190d7d4e2..fe1dc0b5d08 100644
--- a/src/devices/machine/smartboard.cpp
+++ b/src/devices/machine/smartboard.cpp
@@ -6,13 +6,16 @@ Tasc SmartBoard SB30
Chessboard controller for use with Tasc R30 chesscomputer, or as PC peripheral.
-SB30 (81 LEDs) is "SmartBoard I"
-SB20 (64 LEDs) is "SmartBoard II"
-
The SmartBoard can detect which piece is present on a specific square, more
info on the technology used in the piece recognition system can be found in
the US patent 5,129,654
+SB30 (81 LEDs) is "SmartBoard I"
+SB20 (64 LEDs) is "SmartBoard II"
+
+SB20 is not emulated. It's on different hardware, with embedded CPU to reduce
+I/O overhead. Note, SB20 is not compatible with old versions of Tasc R30.
+
******************************************************************************/
#include "emu.h"
@@ -55,16 +58,9 @@ enum
SB30_BLACK_PAWN8
};
-//**************************************************************************
-// DEVICE DEFINITIONS
-//**************************************************************************
DEFINE_DEVICE_TYPE(TASC_SB30, tasc_sb30_device, "tasc_sb30", "Tasc SmartBoard SB30")
-//**************************************************************************
-// LIVE DEVICE
-//**************************************************************************
-
//-------------------------------------------------
// tasc_sb30_device - constructor
//-------------------------------------------------
@@ -304,7 +300,7 @@ void tasc_sb30_device::data0_w(int state)
if (m_led_out.isnull())
m_out_leds[m_pos & 7][m_pos >> 3 & 7] = m_data1;
else
- m_led_out(m_pos & 0x3f, m_pos >> 6 & 1);
+ m_led_out(m_pos & 0x3f, m_data1);
}
}