summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/bbc/rom/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/bbc/rom/rtc.h')
-rw-r--r--src/devices/bus/bbc/rom/rtc.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/src/devices/bus/bbc/rom/rtc.h b/src/devices/bus/bbc/rom/rtc.h
deleted file mode 100644
index d37b2174b9b..00000000000
--- a/src/devices/bus/bbc/rom/rtc.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Nigel Barnes
-/***************************************************************************
-
- Solidisk Real Time Clock emulation
-
- PMS Genie Watch (RTC for the BBC)
-
-***************************************************************************/
-
-#ifndef MAME_BUS_BBC_ROM_RTC_H
-#define MAME_BUS_BBC_ROM_RTC_H
-
-#pragma once
-
-#include "slot.h"
-#include "machine/mc146818.h"
-#include "machine/ds1315.h"
-
-//**************************************************************************
-// TYPE DEFINITIONS
-//**************************************************************************
-
-// ======================> bbc_stlrtc_device
-
-class bbc_stlrtc_device : public device_t,
- public device_bbc_rom_interface
-{
-public:
- // construction/destruction
- bbc_stlrtc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
-
-protected:
- // device-level overrides
- virtual void device_add_mconfig(machine_config &config) override;
-
- virtual void device_start() override;
-
- // device_bbc_rom_interface overrides
- virtual uint8_t read(offs_t offset) override;
-
-private:
- required_device<mc146818_device> m_rtc;
-};
-
-// ======================> bbc_pmsrtc_device
-
-class bbc_pmsrtc_device : public device_t,
- public device_bbc_rom_interface
-{
-public:
- // construction/destruction
- bbc_pmsrtc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
-
-protected:
- // device-level overrides
- virtual void device_add_mconfig(machine_config &config) override;
-
- virtual void device_start() override;
-
- // device_bbc_rom_interface overrides
- virtual uint8_t read(offs_t offset) override;
-
-private:
- required_device<ds1315_device> m_rtc;
-};
-
-// device type definition
-DECLARE_DEVICE_TYPE(BBC_STLRTC, bbc_stlrtc_device)
-DECLARE_DEVICE_TYPE(BBC_PMSRTC, bbc_pmsrtc_device)
-
-#endif // MAME_BUS_BBC_ROM_RTC_H