| 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 |
| r18280 | r18281 | |
|---|---|---|
| 249 | 249 | $(EMUMACHINE)/s3c2410.o \ |
| 250 | 250 | $(EMUMACHINE)/s3c2440.o \ |
| 251 | 251 | $(EMUMACHINE)/s3520cf.o \ |
| 252 | $(EMUMACHINE)/scsibus.o \ | |
| 252 | 253 | $(EMUMACHINE)/scsicb.o \ |
| 253 | $(EMUMACHINE)/scsibus.o \ | |
| 254 | 254 | $(EMUMACHINE)/scsicd.o \ |
| 255 | $(EMUMACHINE)/scsidev.o \ | |
| 255 | 256 | $(EMUMACHINE)/scsihd.o \ |
| 256 | 257 | $(EMUMACHINE)/scsihle.o \ |
| 257 | 258 | $(EMUMACHINE)/secflash.o \ |
| r0 | r18281 | |
|---|---|---|
| 1 | /*************************************************************************** | |
| 2 | ||
| 3 | scsidev.c - Base class for SCSI devices. | |
| 4 | ||
| 5 | ***************************************************************************/ | |
| 6 | ||
| 7 | #include "machine/scsidev.h" | |
| 8 | ||
| 9 | scsidev_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 | } |
| r0 | r18281 | |
|---|---|---|
| 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 | |
| 13 | class scsidev_device : public device_t | |
| 14 | { | |
| 15 | public: | |
| 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 |
| r18280 | r18281 | |
|---|---|---|
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | |
| 3 | scsihle.c - Base class for | |
| 3 | scsihle.c - Base class for HLE'd SCSI devices. | |
| 4 | 4 | |
| 5 | 5 | ***************************************************************************/ |
| 6 | 6 | |
| r18280 | r18281 | |
| 8 | 8 | #include "machine/scsihle.h" |
| 9 | 9 | |
| 10 | 10 | scsihle_device::scsihle_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : |
| 11 | device | |
| 11 | scsidev_device(mconfig, type, name, tag, owner, clock) | |
| 12 | 12 | { |
| 13 | 13 | } |
| 14 | 14 |
| r18280 | r18281 | |
|---|---|---|
| 4 | 4 | |
| 5 | 5 | ***************************************************************************/ |
| 6 | 6 | |
| 7 | #ifndef _SCSIDEV_H_ | |
| 8 | #define _SCSIDEV_H_ | |
| 7 | #ifndef _SCSIHLE_H_ | |
| 8 | #define _SCSIHLE_H_ | |
| 9 | 9 | |
| 10 | #include "machine/scsidev.h" | |
| 11 | ||
| 10 | 12 | // base handler |
| 11 | class scsihle_device : public device | |
| 13 | class scsihle_device : public scsidev_device | |
| 12 | 14 | { |
| 13 | 15 | public: |
| 14 | 16 | // construction/destruction |
| Previous | 199869 Revisions | Next |