summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/atapicdr.h
blob: b18999839c76a1a276fecd0c99312e5bdecbcf18 (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, 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);

	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
>Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-501/+501 * dsp16: fix condition mask in disassembler (nw) Vas Crabb2018-05-091-1/+1 * (nw) checkpoint since Midway SSIO sound is fixed - periodic interrupt doesn't... Vas Crabb2018-05-071-1/+1 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-5/+5 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-31/+34 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-3/+6 * API Change: Machine configs are now a method of the owner class, and the prot... Olivier Galibert2018-01-171-1/+2 * Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame"" Firehawke2017-12-131-8/+8 * Revert "Merge branch 'master' of https://github.com/mamedev/mame" Firehawke2017-12-131-8/+8 * get rid of legacy BITSWAP* (nw) Vas Crabb2017-12-131-8/+8 * dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-031-1/+1 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-141-2/+2 * Self-registering devices prep: Vas Crabb2017-02-271-1/+4 * NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-50/+50