blob: 535ba351ece3cda99673479cd05a297b4845ffab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// license:BSD-3-Clause
// copyright-holders:smf
/***************************************************************************
atapicdr.h
ATAPI CDROM
***************************************************************************/
#pragma once
#ifndef __ATAPICDR_H__
#define __ATAPICDR_H__
#include "atapihle.h"
#include "t10mmc.h"
class atapi_cdrom_device : public atapi_hle_device,
public t10mmc
{
public:
atapi_cdrom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
atapi_cdrom_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock,std::string shortname, std::string source);
UINT16 *identify_device_buffer() { return m_identify_buffer; }
protected:
// device-level overrides
virtual void device_start() override;
virtual machine_config_constructor device_mconfig_additions() const override;
virtual void perform_diagnostic() override;
virtual void identify_packet_device() override;
};
// device type definition
extern const device_type ATAPI_CDROM;
#endif
|