blob: c5c6817a839dcd9bcad79bab75bcb98d2721522b (
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
41
42
43
|
// license:MAME
// copyright-holders:smf
/***************************************************************************
atapicdr.h
ATAPI CDROM
Copyright Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
***************************************************************************/
#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, const char *tag, device_t *owner, UINT32 clock);
atapi_cdrom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
static struct cdrom_interface cd_intf;
protected:
// device-level overrides
virtual void device_start();
virtual machine_config_constructor device_mconfig_additions() const;
virtual void perform_diagnostic();
virtual void identify_packet_device();
};
// device type definition
extern const device_type ATAPI_CDROM;
#endif
|