summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-08-25 17:26:42 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-08-25 17:31:18 -0400
commite5201416560d46c36fdbb2d20bbae67587506fdf (patch)
tree18e431e670c35012a96867820fb213dfe0cfbdb4
parentf84d89583271c727049713804c09be984113a075 (diff)
Revert "(nw) jgz80 is not... renamed to unkz80 (unknown manufacturer)."
This is likely a Jade board, just not the JGZ80. The set has reverted to its original name (jade). This reverts commit c295fc4daaef3a4d33a3cd1b2792c49695200eb0.
-rw-r--r--scripts/target/mame/mess.lua2
-rw-r--r--src/mame/drivers/jade.cpp (renamed from src/mame/drivers/unkz80.cpp)41
-rw-r--r--src/mame/mame.lst6
-rw-r--r--src/mame/mess.flt2
4 files changed, 25 insertions, 26 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 8af94ec43d1..2680ba1fdfa 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -3698,6 +3698,7 @@ files {
MAME_DIR .. "src/mame/drivers/imsai.cpp",
MAME_DIR .. "src/mame/drivers/indiana.cpp",
MAME_DIR .. "src/mame/drivers/itt3030.cpp",
+ MAME_DIR .. "src/mame/drivers/jade.cpp",
MAME_DIR .. "src/mame/drivers/jonos.cpp",
MAME_DIR .. "src/mame/drivers/kron.cpp",
MAME_DIR .. "src/mame/drivers/leapster.cpp",
@@ -3793,7 +3794,6 @@ files {
MAME_DIR .. "src/mame/drivers/tsispch.cpp",
MAME_DIR .. "src/mame/includes/tsispch.h",
MAME_DIR .. "src/mame/drivers/tti.cpp",
- MAME_DIR .. "src/mame/drivers/unkz80.cpp",
MAME_DIR .. "src/mame/drivers/unistar.cpp",
MAME_DIR .. "src/mame/drivers/v6809.cpp",
MAME_DIR .. "src/mame/drivers/vector4.cpp",
diff --git a/src/mame/drivers/unkz80.cpp b/src/mame/drivers/jade.cpp
index 0b44b8f0f15..41e619fb7a6 100644
--- a/src/mame/drivers/unkz80.cpp
+++ b/src/mame/drivers/jade.cpp
@@ -2,19 +2,17 @@
// copyright-holders:Robbbert
/***************************************************************************
-Unknown Z80 (with Serial Parallel Interrupt Controller)
+ Jade JGZ80 (with Serial Parallel Interrupt Controller)
-Single board Z80 computer on a S100 card.
-The SPIO board adds four CTCs, two SIOs and one PIO.
+ Single board Z80 computer on a S100 card.
+ The SPIO board adds four CTCs, two SIOs and one PIO.
-2013-09-12 Skeleton driver.
+ 2013-09-12 Skeleton driver.
-No info found as yet.
+ No info found as yet.
-It should display P-Mon 4b 08/29/83 SPIC, then pause a bit,
-then show a # prompt. Type HE to get a list of commands.
-
-Currently does nothing due to a SIO regression.
+ It takes about 8 seconds to start up.
+ Type HE to get a list of commands.
****************************************************************************/
@@ -27,15 +25,15 @@ Currently does nothing due to a SIO regression.
//#include "bus/s100/s100.h"
-class unkz80_state : public driver_device
+class jade_state : public driver_device
{
public:
- unkz80_state(const machine_config &mconfig, device_type type, const char *tag)
+ jade_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
- void unkz80(machine_config &config);
+ void jade(machine_config &config);
private:
void io_map(address_map &map);
@@ -45,14 +43,14 @@ private:
};
-void unkz80_state::mem_map(address_map &map)
+void jade_state::mem_map(address_map &map)
{
map.unmap_value_high();
map(0x0000, 0x07ff).rom().region("roms", 0);
map(0x0800, 0xffff).ram();
}
-void unkz80_state::io_map(address_map &map)
+void jade_state::io_map(address_map &map)
{
map.unmap_value_high();
map.global_mask(0xff);
@@ -62,13 +60,13 @@ void unkz80_state::io_map(address_map &map)
}
/* Input ports */
-static INPUT_PORTS_START( unkz80 )
+static INPUT_PORTS_START( jade )
INPUT_PORTS_END
-MACHINE_CONFIG_START(unkz80_state::unkz80)
+MACHINE_CONFIG_START(jade_state::jade)
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu",Z80, 4_MHz_XTAL)
+ MCFG_DEVICE_ADD("maincpu",Z80, XTAL(4'000'000))
MCFG_DEVICE_PROGRAM_MAP(mem_map)
MCFG_DEVICE_IO_MAP(io_map)
@@ -81,7 +79,8 @@ MACHINE_CONFIG_START(unkz80_state::unkz80)
CLOCK(config, "trg0", 4_MHz_XTAL / 2).signal_handler().set("ctc2", FUNC(z80ctc_device::trg0));
/* Devices */
- MCFG_DEVICE_ADD("sio", Z80SIO, 4_MHz_XTAL)
+ MCFG_DEVICE_ADD("sio", Z80SIO, XTAL(4'000'000))
+ //MCFG_Z80SIO_OUT_INT_CB(INPUTLINE("maincpu", INPUT_LINE_IRQ0)) // no evidence of a daisy chain because IM2 is not set
MCFG_Z80SIO_OUT_TXDA_CB(WRITELINE("rs232", rs232_port_device, write_txd))
MCFG_Z80SIO_OUT_DTRA_CB(WRITELINE("rs232", rs232_port_device, write_dtr))
MCFG_Z80SIO_OUT_RTSA_CB(WRITELINE("rs232", rs232_port_device, write_rts))
@@ -92,12 +91,12 @@ MACHINE_CONFIG_START(unkz80_state::unkz80)
MACHINE_CONFIG_END
/* ROM definition */
-ROM_START( unkz80 )
+ROM_START( jgz80 )
ROM_REGION( 0x800, "roms", 0 )
- ROM_LOAD( "unkz80.rom", 0x0000, 0x0800, CRC(90c4a1ef) SHA1(8a93a11051cc27f3edca24f0f4297ebe0099964e) )
+ ROM_LOAD( "jgz80.rom", 0x0000, 0x0800, CRC(90c4a1ef) SHA1(8a93a11051cc27f3edca24f0f4297ebe0099964e) )
ROM_END
/* Driver */
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS
-COMP( 1983, unkz80, 0, 0, unkz80, unkz80, unkz80_state, empty_init, "<unknown>", "Unknown Z80 computer", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW )
+COMP( 1983, jgz80, 0, 0, jade, jade, jade_state, empty_init, "Jade Computer Products", "JGZ80", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW )
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 89db73a7cc9..da85947c156 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -15854,6 +15854,9 @@ jackie // (c) 1993 IGS
@source:jackpool.cpp
jackpool // (c) 1997 Electronic Projects
+@source:jade.cpp
+jgz80 // Jade JGZ-80
+
@source:jaguar.cpp
a51mxr3k // ?? (c) 1998
a51mxr3ka // ?? (c) 1998
@@ -37921,9 +37924,6 @@ uts20 //
@source:unkhorse.cpp
unkhorse //
-@source:unkz80.cpp
-unkz80 // Unknown
-
@source:upscope.cpp
upscope // (c) 1986 Grand products
diff --git a/src/mame/mess.flt b/src/mame/mess.flt
index fc194d3710b..c241eb2c897 100644
--- a/src/mame/mess.flt
+++ b/src/mame/mess.flt
@@ -332,6 +332,7 @@ isbc8010.cpp
isbc8030.cpp
iskr103x.cpp
itt3030.cpp
+jade.cpp
jonos.cpp
jr100.cpp
jr200.cpp
@@ -756,7 +757,6 @@ tvc.cpp
tvgame.cpp
tx0.cpp
uknc.cpp
-unkz80.cpp
unichamp.cpp
unior.cpp
unistar.cpp