trunk/src/mame/drivers/zac_1.c
| r18089 | r18090 | |
| 2 | 2 | |
| 3 | 3 | Zaccaria Generation 1 |
| 4 | 4 | |
| 5 | Made working in Sept 2012 [Robbbert] |
| 6 | |
| 5 | 7 | These games allow for up to 4 players at the same time. |
| 6 | 8 | Setup is via a menu - there are no dipswitches. |
| 7 | 9 | If you see 6 and 9 flashing at start- this indicates the battery is flat, |
| r18089 | r18090 | |
| 21 | 23 | ToDo: |
| 22 | 24 | - Outputs |
| 23 | 25 | - Sound |
| 24 | | - Proper Artwork |
| 25 | | - Battery Backup |
| 26 | 26 | |
| 27 | 27 | **************************************************************************************/ |
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | #include "machine/genpin.h" |
| 31 | 31 | #include "cpu/s2650/s2650.h" |
| 32 | #include "machine/nvram.h" |
| 32 | 33 | #include "zac_1.lh" |
| 33 | 34 | |
| 34 | 35 | class zac_1_state : public driver_device |
| r18089 | r18090 | |
| 246 | 247 | MCFG_CPU_ADD("maincpu", S2650, 6000000/2) |
| 247 | 248 | MCFG_CPU_PROGRAM_MAP(zac_1_map) |
| 248 | 249 | MCFG_CPU_IO_MAP(zac_1_io) |
| 250 | MCFG_NVRAM_ADD_0FILL("ram") |
| 251 | |
| 249 | 252 | MCFG_TIMER_ADD_PERIODIC("zac_1_inttimer", zac_1_inttimer, attotime::from_hz(200)) |
| 250 | 253 | MCFG_TIMER_ADD_PERIODIC("zac_1_outtimer", zac_1_outtimer, attotime::from_hz(187500)) |
| 251 | 254 | |