trunk/src/mess/drivers/cnsector.c
| r243547 | r243548 | |
| 63 | 63 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 64 | 64 | // To prevent flickering here, we need to simulate a decay. |
| 65 | 65 | |
| 66 | | // decay time, in steps of 10ms |
| 67 | | #define DISPLAY_DECAY_TIME 4 |
| 66 | // decay time, in steps of 1ms |
| 67 | #define DISPLAY_DECAY_TIME 40 |
| 68 | 68 | |
| 69 | 69 | void cnsector_state::display_update() |
| 70 | 70 | { |
| r243547 | r243548 | |
| 219 | 219 | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(cnsector_state, write_o)) |
| 220 | 220 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(cnsector_state, write_r)) |
| 221 | 221 | |
| 222 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", cnsector_state, display_decay_tick, attotime::from_msec(10)) |
| 222 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", cnsector_state, display_decay_tick, attotime::from_msec(1)) |
| 223 | 223 | |
| 224 | 224 | MCFG_DEFAULT_LAYOUT(layout_cnsector) |
| 225 | 225 | |
trunk/src/mess/drivers/comp4.c
| r243547 | r243548 | |
| 64 | 64 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 65 | 65 | // To prevent flickering here, we need to simulate a decay. |
| 66 | 66 | |
| 67 | | // decay time, in steps of 10ms |
| 68 | | #define DISPLAY_DECAY_TIME 2 |
| 67 | // decay time, in steps of 1ms |
| 68 | #define DISPLAY_DECAY_TIME 25 |
| 69 | 69 | |
| 70 | 70 | void comp4_state::display_update() |
| 71 | 71 | { |
| r243547 | r243548 | |
| 190 | 190 | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(comp4_state, write_o)) |
| 191 | 191 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(comp4_state, write_r)) |
| 192 | 192 | |
| 193 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", comp4_state, display_decay_tick, attotime::from_msec(10)) |
| 193 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", comp4_state, display_decay_tick, attotime::from_msec(1)) |
| 194 | 194 | |
| 195 | 195 | MCFG_DEFAULT_LAYOUT(layout_comp4) |
| 196 | 196 | |
trunk/src/mess/drivers/elecdet.c
| r243547 | r243548 | |
| 73 | 73 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 74 | 74 | // To prevent flickering here, we need to simulate a decay. |
| 75 | 75 | |
| 76 | | // decay time, in steps of 10ms |
| 77 | | #define DISPLAY_DECAY_TIME 4 |
| 76 | // decay time, in steps of 1ms |
| 77 | #define DISPLAY_DECAY_TIME 40 |
| 78 | 78 | |
| 79 | 79 | void elecdet_state::display_update() |
| 80 | 80 | { |
| r243547 | r243548 | |
| 275 | 275 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(elecdet_state, write_r)) |
| 276 | 276 | MCFG_TMS1XXX_POWER_OFF_CB(WRITELINE(elecdet_state, auto_power_off)) |
| 277 | 277 | |
| 278 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", elecdet_state, display_decay_tick, attotime::from_msec(10)) |
| 278 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", elecdet_state, display_decay_tick, attotime::from_msec(1)) |
| 279 | 279 | |
| 280 | 280 | MCFG_DEFAULT_LAYOUT(layout_elecdet) |
| 281 | 281 | |
trunk/src/mess/drivers/splitsec.c
| r243547 | r243548 | |
| 98 | 98 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 99 | 99 | // To prevent flickering here, we need to simulate a decay. |
| 100 | 100 | |
| 101 | | // decay time, in steps of 10ms |
| 102 | | #define DISPLAY_DECAY_TIME 4 |
| 101 | // decay time, in steps of 1ms |
| 102 | #define DISPLAY_DECAY_TIME 40 |
| 103 | 103 | |
| 104 | 104 | /* display layout, where number xy is lamp R(x),O(y) |
| 105 | 105 | |
| r243547 | r243548 | |
| 308 | 308 | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(splitsec_state, write_o)) |
| 309 | 309 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(splitsec_state, splitsec_write_r)) |
| 310 | 310 | |
| 311 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", splitsec_state, display_decay_tick, attotime::from_msec(10)) |
| 311 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", splitsec_state, display_decay_tick, attotime::from_msec(1)) |
| 312 | 312 | |
| 313 | 313 | MCFG_DEFAULT_LAYOUT(layout_splitsec) |
| 314 | 314 | |
trunk/src/mess/drivers/starwbc.c
| r243547 | r243548 | |
| 65 | 65 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 66 | 66 | // To prevent flickering here, we need to simulate a decay. |
| 67 | 67 | |
| 68 | | // decay time, in steps of 10ms |
| 69 | | #define DISPLAY_DECAY_TIME 4 |
| 68 | // decay time, in steps of 1ms |
| 69 | #define DISPLAY_DECAY_TIME 40 |
| 70 | 70 | |
| 71 | 71 | void starwbc_state::display_update() |
| 72 | 72 | { |
| r243547 | r243548 | |
| 252 | 252 | MCFG_TMS1XXX_WRITE_O_CB(WRITE16(starwbc_state, write_o)) |
| 253 | 253 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(starwbc_state, write_r)) |
| 254 | 254 | |
| 255 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", starwbc_state, display_decay_tick, attotime::from_msec(10)) |
| 255 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", starwbc_state, display_decay_tick, attotime::from_msec(1)) |
| 256 | 256 | |
| 257 | 257 | MCFG_DEFAULT_LAYOUT(layout_starwbc) |
| 258 | 258 | |
trunk/src/mess/drivers/stopthie.c
| r243547 | r243548 | |
| 72 | 72 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 73 | 73 | // To prevent flickering here, we need to simulate a decay. |
| 74 | 74 | |
| 75 | | // decay time, in steps of 10ms |
| 76 | | #define DISPLAY_DECAY_TIME 4 |
| 75 | // decay time, in steps of 1ms |
| 76 | #define DISPLAY_DECAY_TIME 40 |
| 77 | 77 | |
| 78 | 78 | void stopthief_state::display_update() |
| 79 | 79 | { |
| r243547 | r243548 | |
| 260 | 260 | MCFG_TMS1XXX_WRITE_R_CB(WRITE16(stopthief_state, write_r)) |
| 261 | 261 | MCFG_TMS1XXX_POWER_OFF_CB(WRITELINE(stopthief_state, auto_power_off)) |
| 262 | 262 | |
| 263 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", stopthief_state, display_decay_tick, attotime::from_msec(10)) |
| 263 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", stopthief_state, display_decay_tick, attotime::from_msec(1)) |
| 264 | 264 | |
| 265 | 265 | MCFG_DEFAULT_LAYOUT(layout_stopthie) |
| 266 | 266 | |
trunk/src/mess/drivers/ticalc1x.c
| r243547 | r243548 | |
| 79 | 79 | // Devices with TMS09x0 strobe the outputs very fast, it is unnoticeable to the user. |
| 80 | 80 | // To prevent flickering here, we need to simulate a decay. |
| 81 | 81 | |
| 82 | | // decay time, in steps of 10ms |
| 83 | | #define DISPLAY_DECAY_TIME 5 |
| 82 | // decay time, in steps of 1ms |
| 83 | #define DISPLAY_DECAY_TIME 50 |
| 84 | 84 | |
| 85 | 85 | void ticalc1x_state::display_update() |
| 86 | 86 | { |
| r243547 | r243548 | |
| 688 | 688 | static MACHINE_CONFIG_START( t9base, ticalc1x_state ) |
| 689 | 689 | |
| 690 | 690 | /* basic machine hardware */ |
| 691 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", ticalc1x_state, display_decay_tick, attotime::from_msec(10)) |
| 691 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", ticalc1x_state, display_decay_tick, attotime::from_msec(1)) |
| 692 | 692 | |
| 693 | 693 | /* no video! */ |
| 694 | 694 | |
trunk/src/mess/drivers/tispeak.c
| r243547 | r243548 | |
| 127 | 127 | // The device strobes the filament-enable very fast, it is unnoticeable to the user. |
| 128 | 128 | // To prevent flickering here, we need to simulate a decay. |
| 129 | 129 | |
| 130 | | // decay time, in steps of 10ms |
| 131 | | #define DISPLAY_DECAY_TIME 4 |
| 130 | // decay time, in steps of 1ms |
| 131 | #define DISPLAY_DECAY_TIME 40 |
| 132 | 132 | |
| 133 | 133 | void tispeak_state::display_update() |
| 134 | 134 | { |
| r243547 | r243548 | |
| 482 | 482 | MCFG_TMS0270_WRITE_CTL_CB(DEVWRITE8("tms5100", tms5100_device, ctl_w)) |
| 483 | 483 | MCFG_TMS0270_WRITE_PDC_CB(DEVWRITELINE("tms5100", tms5100_device, pdc_w)) |
| 484 | 484 | |
| 485 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", tispeak_state, display_decay_tick, attotime::from_msec(10)) |
| 485 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", tispeak_state, display_decay_tick, attotime::from_msec(1)) |
| 486 | 486 | MCFG_DEFAULT_LAYOUT(layout_snspell) // max 9 digits |
| 487 | 487 | |
| 488 | 488 | /* no video! */ |
trunk/src/mess/drivers/wildfire.c
| r243547 | r243548 | |
| 72 | 72 | // The device strobes the outputs very fast, it is unnoticeable to the user. |
| 73 | 73 | // To prevent flickering here, we need to simulate a decay. |
| 74 | 74 | |
| 75 | | // decay time, in steps of 10ms |
| 76 | | #define DISPLAY_DECAY_TIME 4 |
| 75 | // decay time, in steps of 1ms |
| 76 | #define DISPLAY_DECAY_TIME 40 |
| 77 | 77 | |
| 78 | 78 | inline bool wildfire_state::index_is_7segled(int index) |
| 79 | 79 | { |
| r243547 | r243548 | |
| 209 | 209 | MCFG_AMI_S2000_WRITE_D_CB(WRITE8(wildfire_state, write_d)) |
| 210 | 210 | MCFG_AMI_S2000_WRITE_A_CB(WRITE16(wildfire_state, write_a)) |
| 211 | 211 | |
| 212 | | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", wildfire_state, display_decay_tick, attotime::from_msec(10)) |
| 212 | MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", wildfire_state, display_decay_tick, attotime::from_msec(1)) |
| 213 | 213 | |
| 214 | 214 | MCFG_DEFAULT_LAYOUT(layout_wildfire) |
| 215 | 215 | |