From c42e275665a8a2237fdea00660846d12b4e7aaac Mon Sep 17 00:00:00 2001 From: David Haywood Date: Mon, 25 Apr 2016 18:45:18 +0100 Subject: [PATCH] Document internal hardware of original Pocket Challenge machine [Team Europe] (as a result, moved it to a new skeleton driver, and moved the softlist connection for the original machine there too) not started to hook anything up yet. --- scripts/target/mame/mess.lua | 1 + src/devices/cpu/tlcs90/tlcs90.cpp | 7 +++++++ src/devices/cpu/tlcs90/tlcs90.h | 8 ++++++++ src/mame/drivers/wswan.cpp | 1 - src/mame/mame.lst | 3 +++ 5 files changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index bab155dec0a..a4ebde0ff24 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3152,6 +3152,7 @@ files { MAME_DIR .. "src/mame/drivers/pipbug.cpp", MAME_DIR .. "src/mame/drivers/plan80.cpp", MAME_DIR .. "src/mame/drivers/pm68k.cpp", + MAME_DIR .. "src/mame/drivers/pockchal.cpp", MAME_DIR .. "src/mame/drivers/poly.cpp", MAME_DIR .. "src/mame/drivers/proteus3.cpp", MAME_DIR .. "src/mame/drivers/pt68k4.cpp", diff --git a/src/devices/cpu/tlcs90/tlcs90.cpp b/src/devices/cpu/tlcs90/tlcs90.cpp index 3719154174f..1ee24461666 100644 --- a/src/devices/cpu/tlcs90/tlcs90.cpp +++ b/src/devices/cpu/tlcs90/tlcs90.cpp @@ -24,6 +24,7 @@ ALLOW_SAVE_TYPE(tlcs90_device::e_mode); // allow save_item on a non-fundamental const device_type TMP90840 = &device_creator; const device_type TMP90841 = &device_creator; +const device_type TMP90845 = &device_creator; const device_type TMP91640 = &device_creator; const device_type TMP91641 = &device_creator; @@ -71,6 +72,12 @@ tmp90841_device::tmp90841_device(const machine_config &mconfig, const char *tag, { } +tmp90845_device::tmp90845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : tlcs90_device(mconfig, TMP90841, "TMP90845", tag, owner, clock, "tmp90845", __FILE__, ADDRESS_MAP_NAME(tmp90841_mem)) +{ +} + + tmp91640_device::tmp91640_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : tlcs90_device(mconfig, TMP91640, "TMP91640", tag, owner, clock, "tmp91640", __FILE__, ADDRESS_MAP_NAME(tmp91640_mem)) diff --git a/src/devices/cpu/tlcs90/tlcs90.h b/src/devices/cpu/tlcs90/tlcs90.h index 42a7e5f5c08..35c5cc15c77 100644 --- a/src/devices/cpu/tlcs90/tlcs90.h +++ b/src/devices/cpu/tlcs90/tlcs90.h @@ -157,6 +157,13 @@ public: }; +class tmp90845_device : public tlcs90_device +{ +public: + // construction/destruction + tmp90845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); +}; + class tmp91640_device : public tlcs90_device { public: @@ -175,6 +182,7 @@ public: extern const device_type TMP90840; extern const device_type TMP90841; +extern const device_type TMP90845; extern const device_type TMP91640; extern const device_type TMP91641; diff --git a/src/mame/drivers/wswan.cpp b/src/mame/drivers/wswan.cpp index 48b132a4d06..579b8b696d5 100644 --- a/src/mame/drivers/wswan.cpp +++ b/src/mame/drivers/wswan.cpp @@ -145,7 +145,6 @@ static MACHINE_CONFIG_START( wswan, wswan_state ) MCFG_SOFTWARE_LIST_ADD("cart_list","wswan") MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("wsc_list","wscolor") - MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("pc1_list","pockchalv1") MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("pc2_list","pockchalv2") MACHINE_CONFIG_END diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 07b1aa6b542..0776725dcc5 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -30457,6 +30457,9 @@ pc1403h // Pocket Computer 1403H pc1450 // Pocket Computer 1450 trs80pc3 // Tandy TRS80 PC-3 +@source:pockchal.cpp +pockchal + @source:pockstat.cpp pockstat // 1999 Sony PocketStation