trunk/src/mame/etc/template_device.h
| r17809 | r17810 | |
| 6 | 6 | |
| 7 | 7 | #pragma once |
| 8 | 8 | |
| 9 | | #ifndef __seibu_copDEV_H__ |
| 10 | | #define __seibu_copDEV_H__ |
| 9 | #ifndef __xxxDEV_H__ |
| 10 | #define __xxxDEV_H__ |
| 11 | 11 | |
| 12 | 12 | |
| 13 | 13 | |
| r17809 | r17810 | |
| 15 | 15 | // INTERFACE CONFIGURATION MACROS |
| 16 | 16 | //************************************************************************** |
| 17 | 17 | |
| 18 | | #define MCFG_SEIBU_COP_ADD(_tag,_freq) \ |
| 19 | | MCFG_DEVICE_ADD(_tag, SEIBU_COP, _freq) \ |
| 18 | #define MCFG_XXX_ADD(_tag,_freq) \ |
| 19 | MCFG_DEVICE_ADD(_tag, XXX, _freq) \ |
| 20 | 20 | |
| 21 | 21 | |
| 22 | 22 | //************************************************************************** |
| 23 | 23 | // TYPE DEFINITIONS |
| 24 | 24 | //************************************************************************** |
| 25 | 25 | |
| 26 | | // ======================> seibu_cop_device |
| 26 | // ======================> xxx_device |
| 27 | 27 | |
| 28 | | class seibu_cop_device : public device_t |
| 28 | class xxx_device : public device_t |
| 29 | 29 | { |
| 30 | 30 | public: |
| 31 | 31 | // construction/destruction |
| 32 | | seibu_cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 32 | xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 33 | 33 | |
| 34 | 34 | // I/O operations |
| 35 | 35 | DECLARE_WRITE8_MEMBER( write ); |
| r17809 | r17810 | |
| 44 | 44 | |
| 45 | 45 | |
| 46 | 46 | // device type definition |
| 47 | | extern const device_type SEIBU_COP; |
| 47 | extern const device_type XXX; |
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | |