Previous 199869 Revisions Next

r18281 Thursday 4th October, 2012 at 12:49:00 UTC by smf
created new base class for scsi devices which scsihle derives from (nw)
[src/emu]emu.mak
[src/emu/machine]scsidev.c* scsidev.h* scsihle.c scsihle.h

trunk/src/emu/emu.mak
r18280r18281
249249   $(EMUMACHINE)/s3c2410.o      \
250250   $(EMUMACHINE)/s3c2440.o      \
251251   $(EMUMACHINE)/s3520cf.o      \
252   $(EMUMACHINE)/scsibus.o      \
252253   $(EMUMACHINE)/scsicb.o      \
253   $(EMUMACHINE)/scsibus.o      \
254254   $(EMUMACHINE)/scsicd.o      \
255   $(EMUMACHINE)/scsidev.o      \
255256   $(EMUMACHINE)/scsihd.o      \
256257   $(EMUMACHINE)/scsihle.o      \
257258   $(EMUMACHINE)/secflash.o   \
trunk/src/emu/machine/scsidev.c
r0r18281
1/***************************************************************************
2
3 scsidev.c - Base class for SCSI devices.
4
5***************************************************************************/
6
7#include "machine/scsidev.h"
8
9scsidev_device::scsidev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
10   device_t(mconfig, type, name, tag, owner, clock)
11{
12}
trunk/src/emu/machine/scsidev.h
r0r18281
1/***************************************************************************
2
3 scsidev.h
4
5***************************************************************************/
6
7#ifndef _SCSIDEV_H_
8#define _SCSIDEV_H_
9
10#include "emu.h"
11
12// base handler
13class scsidev_device : public device_t
14{
15public:
16   // construction/destruction
17   scsidev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
18};
19
20#endif
trunk/src/emu/machine/scsihle.c
r18280r18281
11/***************************************************************************
22
3 scsihle.c - Base class for scsi devices.
3 scsihle.c - Base class for HLE'd SCSI devices.
44
55***************************************************************************/
66
r18280r18281
88#include "machine/scsihle.h"
99
1010scsihle_device::scsihle_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
11   device_t(mconfig, type, name, tag, owner, clock)
11   scsidev_device(mconfig, type, name, tag, owner, clock)
1212{
1313}
1414
trunk/src/emu/machine/scsihle.h
r18280r18281
44
55***************************************************************************/
66
7#ifndef _SCSIDEV_H_
8#define _SCSIDEV_H_
7#ifndef _SCSIHLE_H_
8#define _SCSIHLE_H_
99
10#include "machine/scsidev.h"
11
1012// base handler
11class scsihle_device : public device_t
13class scsihle_device : public scsidev_device
1214{
1315public:
1416   // construction/destruction

Previous 199869 Revisions Next


© 1997-2024 The MAME Team