| Previous | 199869 Revisions | Next |
| r33763 Tuesday 9th December, 2014 at 13:26:50 UTC by Jürgen Buchmüller |
|---|
| Add clock to MCFG and remove defaulting to firstcpu->clock() |
| [src/emu/machine] | r10788.c |
| [src/mame/drivers] | gts1.c |
| r242274 | r242275 | |
|---|---|---|
| 76 | 76 | save_item(NAME(m_scan_counter)); |
| 77 | 77 | |
| 78 | 78 | m_timer = timer_alloc(TIMER_DISPLAY); |
| 79 | /* Default clock is from CPU1 */ | |
| 80 | if (clock() == 0) | |
| 81 | { | |
| 82 | set_unscaled_clock(machine().firstcpu->clock()); | |
| 83 | } | |
| 84 | 79 | m_timer->adjust(clocks_to_attotime(36)); |
| 85 | 80 | } |
| 86 | 81 |
| r242274 | r242275 | |
|---|---|---|
| 266 | 266 | //MCFG_NVRAM_ADD_0FILL("nvram") |
| 267 | 267 | |
| 268 | 268 | /* General Purpose Display and Keyboard */ |
| 269 | MCFG_DEVICE_ADD( "r10788", R10788, | |
| 269 | MCFG_DEVICE_ADD( "r10788", R10788, XTAL_3_579545MHz / 18 ) // divided in the circuit | |
| 270 | 270 | MCFG_R10788_UPDATE( WRITE8(gts1_state,gts1_display_w) ) |
| 271 | 271 | |
| 272 | 272 | /* Video */ |
| https://github.com/mamedev/mame/commit/69d348a46525c3cd0f2cd26d82b0619a0345291d |
| Previous | 199869 Revisions | Next |