trunk/src/mame/layout/spcenctr.lay
| r18396 | r18397 | |
| 21 | 21 | |
| 22 | 22 | |
| 23 | 23 | <!-- NOTE: color overlay is known, --> |
| 24 | | <!-- but can as of yet (10-2012) not be created with internal .lay --> |
| 24 | <!-- but as of yet (10-2012) can't be created with internal .lay --> |
| 25 | 25 | |
| 26 | 26 | <view name="Lamps Reflection"> |
| 27 | 27 | |
| r18396 | r18397 | |
| 32 | 32 | </screen> |
| 33 | 33 | |
| 34 | 34 | <!-- lamp and strobe reflect onto the inner bezel (and screen) --> |
| 35 | <!-- NOTE: artwork system can't keep up with the strobe high frequency --> |
| 35 | 36 | <bezel name="LAMP" element="lamp_red"> |
| 36 | 37 | <bounds left="0" top="0" right="376" bottom="300" /> |
| 37 | 38 | <color alpha="0.2" /> |
trunk/src/mame/drivers/mw8080bw.c
| r18396 | r18397 | |
| 2099 | 2099 | *************************************/ |
| 2100 | 2100 | |
| 2101 | 2101 | #define SPCENCTR_STROBE_FREQ (9.00) /* Hz - calculated from the 555 timer */ |
| 2102 | | #define SPCENCTR_STROBE_DUTY_CYCLE (95) /* % */ |
| 2102 | #define SPCENCTR_STROBE_DUTY_CYCLE (95.0) /* % */ |
| 2103 | 2103 | |
| 2104 | 2104 | |
| 2105 | 2105 | TIMER_DEVICE_CALLBACK_MEMBER(mw8080bw_state::spcenctr_strobe_timer_callback) |
| r18396 | r18397 | |
| 2247 | 2247 | MCFG_TIMER_PARAM(TRUE) /* indicates strobe ON */ |
| 2248 | 2248 | |
| 2249 | 2249 | MCFG_TIMER_DRIVER_ADD_PERIODIC("strobeoff", mw8080bw_state, spcenctr_strobe_timer_callback, attotime::from_hz(SPCENCTR_STROBE_FREQ)) |
| 2250 | | MCFG_TIMER_START_DELAY(attotime::from_hz(SPCENCTR_STROBE_FREQ * 100 / SPCENCTR_STROBE_DUTY_CYCLE)) |
| 2250 | MCFG_TIMER_START_DELAY(attotime::from_hz((SPCENCTR_STROBE_FREQ * 100) * (SPCENCTR_STROBE_DUTY_CYCLE / 100))) |
| 2251 | 2251 | MCFG_TIMER_PARAM(FALSE) /* indicates strobe OFF */ |
| 2252 | 2252 | |
| 2253 | 2253 | /* video hardware */ |