summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2017-10-12 08:13:03 +0300
committer Curt Coder <curtcoder@mail.com>2017-10-12 08:23:27 +0300
commite2dfbecb54b47f9938632d61d1eef2699d6d387a (patch)
tree85a9da023d622b7ef77af3223ffbceeeb81b02d0
parent6fd8297639283cf88dc54e349cd2992e023df313 (diff)
tmc600: WIP. (nw)
-rw-r--r--src/mame/drivers/tmc600.cpp12
-rw-r--r--src/mame/includes/tmc600.h26
-rw-r--r--src/mame/video/tmc600.cpp4
3 files changed, 19 insertions, 23 deletions
diff --git a/src/mame/drivers/tmc600.cpp b/src/mame/drivers/tmc600.cpp
index 85d59466181..cbf704a34c4 100644
--- a/src/mame/drivers/tmc600.cpp
+++ b/src/mame/drivers/tmc600.cpp
@@ -47,12 +47,12 @@ Notes:
CDP1869 - RCA CDP1869CE Video Interface System (VIS) Address and Sound Generator
CDP1870 - RCA CDP1870CE Video Interface System (VIS) Color Video (DOT XTAL at 5.6260MHz, CHROM XTAL at 8.867238MHz)
CN1 - RF connector [TMC-700]
- CN2 - printer connector [TMC-700]
- CN3 - EURO connector
- CN4 - tape connector
- CN5 - video connector
- CN6 - power connector
- CN7 - audio connector [TMCP-300]
+ CN2 - printer connector (10x2 pins) [TMC-700]
+ CN3 - EURO connector (32x2 pins)
+ CN4 - tape connector (DIN5D)
+ CN5 - video connector (DIN5X)
+ CN6 - power connector (DIN2, pinout 1 8..12V DC..400Hz 300mA / 2 GND)
+ CN7 - audio connector (DIN5D, pinout 1 NC / 2 GND / 3 AUDIO / 4 NC / 5 AUDIO) [TMCP-300]
CN8 - keyboard connector
SW1 - RUN/STOP switch
SW2 - internal speaker/external audio switch [TMCP-300]
diff --git a/src/mame/includes/tmc600.h b/src/mame/includes/tmc600.h
index a5fdc19f956..4c447910ed4 100644
--- a/src/mame/includes/tmc600.h
+++ b/src/mame/includes/tmc600.h
@@ -5,7 +5,6 @@
#ifndef __TMC600__
#define __TMC600__
-
#include "cpu/cosmac/cosmac.h"
#include "imagedev/cassette.h"
#include "imagedev/snapquik.h"
@@ -13,6 +12,7 @@
#include "machine/ram.h"
#include "machine/timer.h"
#include "sound/cdp1869.h"
+#include "speaker.h"
#define SCREEN_TAG "screen"
#define CDP1802_TAG "cdp1802"
@@ -25,18 +25,18 @@
class tmc600_state : public driver_device
{
public:
- tmc600_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_maincpu(*this, CDP1802_TAG),
- m_vis(*this, CDP1869_TAG),
- m_cassette(*this, "cassette"),
- m_centronics(*this, "centronics"),
- m_ram(*this, RAM_TAG),
- m_char_rom(*this, "chargen"),
- m_page_ram(*this, "page_ram"),
- m_color_ram(*this, "color_ram"),
- m_run(*this, "RUN"),
- m_key_row(*this, {"Y0", "Y1", "Y2", "Y3", "Y4", "Y5", "Y6", "Y7"})
+ tmc600_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
+ m_maincpu(*this, CDP1802_TAG),
+ m_vis(*this, CDP1869_TAG),
+ m_cassette(*this, "cassette"),
+ m_centronics(*this, "centronics"),
+ m_ram(*this, RAM_TAG),
+ m_char_rom(*this, "chargen"),
+ m_page_ram(*this, "page_ram"),
+ m_color_ram(*this, "color_ram"),
+ m_run(*this, "RUN"),
+ m_key_row(*this, {"Y0", "Y1", "Y2", "Y3", "Y4", "Y5", "Y6", "Y7"})
{ }
required_device<cosmac_device> m_maincpu;
diff --git a/src/mame/video/tmc600.cpp b/src/mame/video/tmc600.cpp
index d717b62da5c..ac1e739476e 100644
--- a/src/mame/video/tmc600.cpp
+++ b/src/mame/video/tmc600.cpp
@@ -3,10 +3,6 @@
#include "emu.h"
#include "includes/tmc600.h"
-#include "sound/cdp1869.h"
-#include "speaker.h"
-
-
WRITE8_MEMBER( tmc600_state::vismac_register_w )
{
m_vismac_reg_latch = data;