summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-11-09 09:43:16 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-11-09 09:43:16 -0500
commitb0bb2c0462865de40093374a9b231797ae9067f6 (patch)
tree56e7ea8559ff56362ace3af0fbba5d6a5131b7c8
parentbef73801976d7c208c0e8f1bc5257b829a653c7b (diff)
New machines marked as NOT_WORKING
---------------------------------- MiniJook [SpinalFeyd] SuperStars (CD jukebox) [SpinalFeyd]
-rw-r--r--scripts/target/mame/mess.lua2
-rw-r--r--src/devices/cpu/mc68hc11/mc68hc11.cpp2
-rw-r--r--src/mame/drivers/cdsys5.cpp94
-rw-r--r--src/mame/drivers/slsstars.cpp60
-rw-r--r--src/mame/mame.lst6
-rw-r--r--src/mame/mess.flt2
6 files changed, 166 insertions, 0 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 75f4b36ca91..66dd1ca888c 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -3996,6 +3996,7 @@ files {
MAME_DIR .. "src/mame/drivers/candela.cpp",
MAME_DIR .. "src/mame/drivers/cardinal.cpp",
MAME_DIR .. "src/mame/drivers/cbnt2039.cpp",
+ MAME_DIR .. "src/mame/drivers/cdsys5.cpp",
MAME_DIR .. "src/mame/drivers/chaos.cpp",
MAME_DIR .. "src/mame/drivers/cd2650.cpp",
MAME_DIR .. "src/mame/drivers/cdc721.cpp",
@@ -4154,6 +4155,7 @@ files {
MAME_DIR .. "src/mame/drivers/shine.cpp",
MAME_DIR .. "src/mame/drivers/si5500.cpp",
MAME_DIR .. "src/mame/drivers/sk101bl.cpp",
+ MAME_DIR .. "src/mame/drivers/slsstars.cpp",
MAME_DIR .. "src/mame/drivers/softbox.cpp",
MAME_DIR .. "src/mame/includes/softbox.h",
MAME_DIR .. "src/mame/drivers/squale.cpp",
diff --git a/src/devices/cpu/mc68hc11/mc68hc11.cpp b/src/devices/cpu/mc68hc11/mc68hc11.cpp
index 99c3b38eb78..2fd71f35bd8 100644
--- a/src/devices/cpu/mc68hc11/mc68hc11.cpp
+++ b/src/devices/cpu/mc68hc11/mc68hc11.cpp
@@ -406,6 +406,8 @@ void mc68hc11d0_device::io_map(address_map &map)
map(0x2a, 0x2a).rw(FUNC(mc68hc11d0_device::spdr_r<0>), FUNC(mc68hc11d0_device::spdr_w<0>)); // SPDR
map(0x2c, 0x2c).r(FUNC(mc68hc11d0_device::sccr1_r)).nopw(); // SCCR1
map(0x2d, 0x2d).r(FUNC(mc68hc11d0_device::sccr2_r)).nopw(); // SCCR2
+ map(0x2e, 0x2e).lr8([] { return 0xc0; }, "scsr_r").nopw(); // SCSR
+ map(0x2f, 0x2f).nopw(); // SCDR
map(0x39, 0x39).nopw(); // OPTION
map(0x3a, 0x3a).nopw(); // COPRST (watchdog)
map(0x3d, 0x3d).rw(FUNC(mc68hc11d0_device::init_r), FUNC(mc68hc11d0_device::init_w)); // INIT
diff --git a/src/mame/drivers/cdsys5.cpp b/src/mame/drivers/cdsys5.cpp
new file mode 100644
index 00000000000..6213f986f7b
--- /dev/null
+++ b/src/mame/drivers/cdsys5.cpp
@@ -0,0 +1,94 @@
+// license:BSD-3-Clause
+// copyright-holders:AJR
+/****************************************************************************
+
+ Skeleton driver for "CD System 5" jukebox by Sound Leisure Ltd.
+
+****************************************************************************/
+
+#include "emu.h"
+#include "cpu/mc68hc11/mc68hc11.h"
+//#include "machine/74259.h"
+#include "machine/mc146818.h"
+#include "machine/nvram.h"
+
+class cdsys5_state : public driver_device
+{
+public:
+ cdsys5_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ {
+ }
+
+ void minijook(machine_config &config);
+
+private:
+ void mem_map(address_map &map);
+
+ required_device<mc68hc11_cpu_device> m_maincpu;
+};
+
+
+void cdsys5_state::mem_map(address_map &map)
+{
+ map(0x0401, 0x0401).nopw(); // watchdog?
+ map(0x0c00, 0x0c3f).rw("rtc", FUNC(mc146818_device::read_direct), FUNC(mc146818_device::write_direct));
+ map(0x4000, 0x47ff).ram().share("novram");
+ map(0x8000, 0xffff).rom().region("program", 0);
+}
+
+
+static INPUT_PORTS_START(minijook)
+ PORT_START("DIP1") // next to a TC4512BP 8-to-1 multiplexer
+ PORT_DIPNAME(0x01, 0x01, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:1")
+ PORT_DIPSETTING(0x01, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x02, 0x02, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:2")
+ PORT_DIPSETTING(0x02, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x04, 0x04, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:3")
+ PORT_DIPSETTING(0x04, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x08, 0x08, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:4")
+ PORT_DIPSETTING(0x08, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x10, 0x10, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:5")
+ PORT_DIPSETTING(0x10, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x20, 0x20, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:6")
+ PORT_DIPSETTING(0x20, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x40, 0x40, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:7")
+ PORT_DIPSETTING(0x40, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+ PORT_DIPNAME(0x80, 0x80, DEF_STR(Unknown)) PORT_DIPLOCATION("DIL1:8")
+ PORT_DIPSETTING(0x80, DEF_STR(Off))
+ PORT_DIPSETTING(0x00, DEF_STR(On))
+
+ // DIL2 next to DIL1 with its own TC4512BP, both unpopulated
+ // 3 more TC4512BP on board, likely for additional inputs
+INPUT_PORTS_END
+
+
+void cdsys5_state::minijook(machine_config &config)
+{
+ MC68HC11D0(config, m_maincpu, 8_MHz_XTAL); // 44-pin PLCC next to unpopulated 40-pin DIP "68HC11"
+ m_maincpu->set_addrmap(AS_PROGRAM, &cdsys5_state::mem_map);
+ // RS232 I/O through MAX232CPE
+
+ NVRAM(config, "novram", nvram_device::DEFAULT_ALL_0); // Xicor X20C17P-55 Autostore NOVRAM
+
+ MC146818(config, "rtc", 32.768_kHz_XTAL);
+
+ //CD4099(config, "outlatch"); // 5 on board
+}
+
+
+ROM_START(minijook)
+ ROM_REGION(0x8000, "program", 0)
+ ROM_LOAD("mj-sl-s-v3.4.u10", 0x0000, 0x8000, CRC(7b8f03ce) SHA1(9d7fb9a9f5051ecadad5a33860117bc4dfd8ab30)) // 0xxxxxxxxxxxxxx = 0xFF
+ROM_END
+
+
+SYST(199?, minijook, 0, 0, minijook, minijook, cdsys5_state, empty_init, "Sound Leisure", "MiniJook", MACHINE_IS_SKELETON_MECHANICAL)
diff --git a/src/mame/drivers/slsstars.cpp b/src/mame/drivers/slsstars.cpp
new file mode 100644
index 00000000000..47a6848bd26
--- /dev/null
+++ b/src/mame/drivers/slsstars.cpp
@@ -0,0 +1,60 @@
+// license:BSD-3-Clause
+// copyright-holders:AJR
+/****************************************************************************
+
+ Skeleton driver for SuperStars CD jukebox by Sound Leisure Ltd.
+
+****************************************************************************/
+
+#include "emu.h"
+#include "cpu/mc68hc11/mc68hc11.h"
+#include "machine/timekpr.h"
+
+class slsstars_state : public driver_device
+{
+public:
+ slsstars_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ {
+ }
+
+ void slsstars(machine_config &config);
+
+private:
+ void mem_map(address_map &map);
+
+ required_device<mc68hc11_cpu_device> m_maincpu;
+};
+
+
+void slsstars_state::mem_map(address_map &map)
+{
+ map(0x10f8, 0x10ff).nopw(); // some kind of serial output?
+ map(0x1800, 0x1800).nopw(); // watchdog?
+ map(0x4000, 0x5fff).rw("timekpr", FUNC(m48t58_device::read), FUNC(m48t58_device::write));
+ map(0x8000, 0xffff).rom().region("program", 0);
+}
+
+
+static INPUT_PORTS_START(slsstars)
+ // all unknown
+INPUT_PORTS_END
+
+
+void slsstars_state::slsstars(machine_config &config)
+{
+ MC68HC11F1(config, m_maincpu, 8'000'000); // unknown clock
+ m_maincpu->set_addrmap(AS_PROGRAM, &slsstars_state::mem_map);
+
+ M48T58(config, "timekpr"); // U3
+}
+
+
+ROM_START(slsstars)
+ ROM_REGION(0x8000, "program", 0)
+ ROM_LOAD("superstars-eprom.u2", 0x0000, 0x8000, CRC(59d26dda) SHA1(4ce5fa5b7f317bdada889f66dbf5a106b1907b30))
+ROM_END
+
+
+SYST(199?, slsstars, 0, 0, slsstars, slsstars, slsstars_state, empty_init, "Sound Leisure", "SuperStars (CD jukebox)", MACHINE_IS_SKELETON_MECHANICAL)
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index c46a072c014..76dabec114d 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -9909,6 +9909,9 @@ quizard4 // (c) TAB Austria 1998
quizard4_40 // (c) TAB Austria 1997
quizard4_41 // (c) TAB Austria 1998
+@source:cdsys5.cpp
+minijook //
+
@source:cedar_magnet.cpp
cedmag
mag_time
@@ -36236,6 +36239,9 @@ slivera //
slotcarn // (c) 1985 Wing Co. Ltd
spielbud // (c) 1985 ADP
+@source:slsstars.cpp
+slsstars //
+
@source:sm1800.cpp
sm1800 //
diff --git a/src/mame/mess.flt b/src/mame/mess.flt
index 7987752ea3e..1bcda23967e 100644
--- a/src/mame/mess.flt
+++ b/src/mame/mess.flt
@@ -138,6 +138,7 @@ ccs2810.cpp
ccs300.cpp
cd2650.cpp
cdc721.cpp
+cdsys5.cpp
cfx9850.cpp
cgc7900.cpp
cgenie.cpp
@@ -756,6 +757,7 @@ sk101bl.cpp
slc1.cpp
slc1a.cpp
slicer.cpp
+slsstars.cpp
sm1800.cpp
sm7238.cpp
smc777.cpp