| Previous | 15994 Revisions | Next |
| r3475 Monday 20th October, 2008 at 16:22:38 UTC by Curt Coder |
|---|
| [ABC77] Added inline configuration macro and fixed interface clock speed. |
| [src/mess/machine] | abc77.c abc77.h |
| r3474 | r3475 | |
|---|---|---|
| 301 | 301 | MDRV_CPU_IO_MAP(abc77_io_map, 0) |
| 302 | 302 | |
| 303 | 303 | /* serial clock timer */ |
| 304 | MDRV_TIMER_ADD_PERIODIC("clock", clock_tick, HZ( | |
| 304 | MDRV_TIMER_ADD_PERIODIC("clock", clock_tick, HZ(20000)) | |
| 305 | 305 | |
| 306 | 306 | /* discrete sound */ |
| 307 | 307 | MDRV_SOUND_ADD("discrete", DISCRETE, 0) |
| r3474 | r3475 | |
|---|---|---|
| 48 | 48 | }; |
| 49 | 49 | #define ABC77_INTERFACE(name) const abc77_interface (name) = |
| 50 | 50 | |
| 51 | /* inline configuration */ | |
| 52 | #define MDRV_ABC77_ADD(config) \ | |
| 53 | MDRV_SPEAKER_STANDARD_MONO("mono")\ | |
| 54 | MDRV_DEVICE_ADD(ABC77_TAG, ABC77)\ | |
| 55 | MDRV_DEVICE_CONFIG(config) | |
| 56 | ||
| 51 | 57 | /* device interface */ |
| 52 | 58 | DEVICE_GET_INFO( abc77 ); |
| 53 | 59 |
| Previous | 15994 Revisions | Next |