1 // license:BSD-3-Clause
2 // copyright-holders:Barry Rodewald
3 /*
4  * isa_pds.h
5  *
6  *  Created on: 31/01/2014
7  */
8 
9 #ifndef MAME_BUS_ISA_PDS_H
10 #define MAME_BUS_ISA_PDS_H
11 
12 #include "isa.h"
13 #include "machine/i8255.h"
14 
15 class isa8_pds_device :
16 		public device_t,
17 		public device_isa8_card_interface
18 {
19 public:
20 	isa8_pds_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
21 
22 	uint8_t ppi_r(offs_t offset);
23 	void ppi_w(offs_t offset, uint8_t data);
24 
25 protected:
26 	// device-level overrides
27 	virtual void device_start() override;
28 	virtual void device_reset() override;
29 	virtual void device_stop() override;
30 
31 	// optional information overrides
32 	virtual void device_add_mconfig(machine_config &config) override;
33 
34 	required_device<i8255_device> m_ppi;
35 };
36 
37 DECLARE_DEVICE_TYPE(ISA8_PDS, isa8_pds_device)
38 
39 #endif // MAME_BUS_ISA_PDS_H
40