From 7fe01c8ff0dbf5c6c2539dc000b8ee9a498cd221 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Thu, 22 Jul 2021 22:08:57 +1000 Subject: New working software list additions ----------------------------------- pdp1_ptp: Spacewar!, Munching Squares, DDT [Robbbert] --- hash/pdp1_ptp.xml | 78 +++++++++++++++++++++++++++++++++++++++++++++++ src/mame/drivers/pdp1.cpp | 2 ++ src/mame/includes/pdp1.h | 3 ++ 3 files changed, 83 insertions(+) create mode 100644 hash/pdp1_ptp.xml diff --git a/hash/pdp1_ptp.xml b/hash/pdp1_ptp.xml new file mode 100644 index 00000000000..ec3bbf729c2 --- /dev/null +++ b/hash/pdp1_ptp.xml @@ -0,0 +1,78 @@ + + + + + + + + + Spacewar! + 1962 + <unknown> + + + + + + + + + + + + + Munching Squares + 1962 + <unknown> + + + + + + + + + + + DDT debugger + 1964 + DEC + + + + + + + + + diff --git a/src/mame/drivers/pdp1.cpp b/src/mame/drivers/pdp1.cpp index 504bbbc7d62..980c6740601 100644 --- a/src/mame/drivers/pdp1.cpp +++ b/src/mame/drivers/pdp1.cpp @@ -1826,6 +1826,8 @@ void pdp1_state::pdp1(machine_config &config) GFXDECODE(config, m_gfxdecode, m_palette, gfx_pdp1); PALETTE(config, m_palette, FUNC(pdp1_state::pdp1_palette), total_colors_needed + std::size(pdp1_pens), total_colors_needed); + + SOFTWARE_LIST(config, "ptp_list").set_original("pdp1_ptp"); } /* diff --git a/src/mame/includes/pdp1.h b/src/mame/includes/pdp1.h index c40d4fc739c..d96d7470381 100644 --- a/src/mame/includes/pdp1.h +++ b/src/mame/includes/pdp1.h @@ -12,6 +12,7 @@ #include "cpu/pdp1/pdp1.h" #include "video/crt.h" #include "emupal.h" +#include "softlist_dev.h" /* defines for each bit and mask in input port "CSW" */ enum @@ -177,6 +178,7 @@ class pdp1_readtape_image_device : public device_t, public: // construction/destruction pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0U); + virtual const char *image_interface() const noexcept override { return "pdp1_ptp"; } auto st_ptr() { return m_st_ptr.bind(); } @@ -201,6 +203,7 @@ protected: virtual image_init_result call_load() override; virtual void call_unload() override; + virtual const software_list_loader &get_software_list_loader() const override { return image_software_list_loader::instance(); } public: TIMER_CALLBACK_MEMBER(reader_callback); -- cgit v1.2.3