summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/machine/pgmprot_igs025_igs028.h
blob: 6219ce12a0d8bafd203c27675b439ceb3bde77c8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                           
 








                                                    




                                                
                                        

  
                           
// license:BSD-3-Clause
// copyright-holders:David Haywood, ElSemi

class pgm_028_025_state : public pgm_state
{
public:
	pgm_028_025_state(const machine_config &mconfig, device_type type, const char *tag)
		: pgm_state(mconfig, type, tag),
			m_sharedprotram(*this, "sharedprotram"),
			m_igs025(*this,"igs025"),
			m_igs028(*this,"igs028")

	{
	}

	void init_olds();

	void pgm_028_025_ol(machine_config &config);

protected:
	virtual void machine_reset() override;

private:
	required_shared_ptr<u16> m_sharedprotram;
	required_device<igs025_device> m_igs025;
	required_device<igs028_device> m_igs028;

	void igs025_to_igs028_callback( void );

	void olds_mem(address_map &map);
};

INPUT_PORTS_EXTERN( olds );