Skip to content

Commit 2149f3c

Browse files
authored
Add a skeleton for DASH4 Debug Adapter for SH CPUs (#12790)
* Add a skeleton for DASH4 Debug Adapter for SH CPUs New systems marked not working ------------------------------ DASH4 Debug Adapter [Arcade Hacker] * Remove "Ltd." from system name * Add a note about HASP parallel port dongle
1 parent 5eb6183 commit 2149f3c

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

src/mame/mame.lst

+3
Original file line numberDiff line numberDiff line change
@@ -42097,6 +42097,9 @@ d461 //
4209742097
@source:skeleton/daruma.cpp
4209842098
ds348 // Sigtron Daruma
4209942099

42100+
@source:skeleton/dash4.cpp
42101+
dash4 // (c) 1999 Cross Products Ltd.
42102+
4210042103
@source:skeleton/datacast.cpp
4210142104
datacast //
4210242105

src/mame/skeleton/dash4.cpp

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// license:BSD-3-Clause
2+
// copyright-holders:
3+
/***********************************************************************************************************
4+
Skeleton driver for Cross Products Ltd. DASH4 Debug Adapter.
5+
6+
DASH4 is the hardware debug adapter of CodeScape development environment for the Hitachi SuperH family of
7+
microprocessors.
8+
It's an intelligent debug pod that offers a complete low-level debug capability. The DASH4 uses the JTAG
9+
interface to communicate with the target at 1.5 Mbytes/s via the Hitachi User Debug Interface (HUDI)
10+
built-in to the SH7750. The DASH4 connects to the host computer via Ethernet to allow high-speed
11+
communications with the debugging software.
12+
13+
The CodeScape Development system encompasses both software tools and hardware interfaces to provide
14+
development support for Hitachi SH microprocessors from initial low-level system troubleshooting through
15+
to the development of complex applications in C++.
16+
17+
It came bundled with the Altera Design Software for PCs "Quartus II":
18+
https://archive.org/details/altera-quartus-ii-version-2.2-manuals-software/
19+
20+
Also, it came with a MemoHASP-1 parallel port security dongle labeled:
21+
"MemoHASP-1 R3b CCYRW NA 23967", "HASP ID= 75BB4C39", "SH4".
22+
23+
DASH4 Rev. B PCB (1999):
24+
____________________________________________________________________
25+
| _____________ ______ |
26+
| ____________ Xtal |NEC | |LT1129 |___
27+
| |Altera | 11.059MHz |D4564323G5__| |_____| _|__
28+
_|_ |Flex | __________ __________ __________ | | <- Power
29+
| | EPF10K10TC144-3 |_CY2292F_| __________ S32XR861Q1 S32XR861Q1 |___|
30+
| | | | S32XR861Q1 |
31+
| | |___________| _________ _________ ___ |
32+
I/O | | _______ ____________ |74HCT244| |_HCT374A| 93LC56B O <- Yellow LED
33+
| | |_P92AB| |SH-2 | ________ _________ O <- Green LED
34+
| | _______ |HD6417604F28 |AS29F040 ________ Crystal LAN _|___
35+
|_| |_P92AB| | | | | |GAL22V10D |CT8900A-IQ | |
36+
| _______ | | |_______| | | | | | | <- LAN RJ45
37+
| |74HCT138 |___________| |_______| |_________| |___|
38+
|_____ __ __ ___|
39+
|___________| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| |___________|
40+
Unused edge connector
41+
42+
***********************************************************************************************************/
43+
44+
#include "emu.h"
45+
#include "cpu/sh/sh7604.h"
46+
47+
48+
namespace {
49+
50+
class dash4_state : public driver_device
51+
{
52+
public:
53+
dash4_state(const machine_config &mconfig, device_type type, const char *tag)
54+
: driver_device(mconfig, type, tag)
55+
, m_maincpu(*this, "maincpu")
56+
{ }
57+
58+
59+
void dash4(machine_config &config);
60+
61+
private:
62+
required_device<cpu_device> m_maincpu;
63+
};
64+
65+
66+
static INPUT_PORTS_START(dash4)
67+
INPUT_PORTS_END
68+
69+
void dash4_state::dash4(machine_config &config)
70+
{
71+
SH7604(config, m_maincpu, 11'059'000); // Actually an Hitachi SH-2 HD6417604F28
72+
}
73+
74+
75+
ROM_START(dash4)
76+
ROM_REGION(0x80000, "maincpu", 0)
77+
ROM_LOAD( "as29f040.u2", 0x00000, 0x80000, CRC(507c2a4c) SHA1(7eea8acf196a6c249fda5fe41b197070d426cffc) )
78+
79+
ROM_REGION(0x00100, "eeprom", 0)
80+
ROM_LOAD( "93lc56b.u17", 0x00000, 0x00100, CRC(a05ee68a) SHA1(5dd120cb4a818826ebec8bde59225ccdbf28a57d) )
81+
82+
ROM_REGION(0x002e5, "pld", 0)
83+
ROM_LOAD( "gal22v10d-15lj.u6", 0x00000, 0x002e5, CRC(80cc0146) SHA1(e28da16e18d0c9de48a08651f1c670f946d188e7) )
84+
ROM_END
85+
86+
} // anonymous namespace
87+
88+
SYST( 1999, dash4, 0, 0, dash4, dash4, dash4_state, empty_init, "Cross Products", "DASH4 Debug Adapter", MACHINE_IS_SKELETON )

0 commit comments

Comments
 (0)