summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/timer.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-06-14 07:40:06 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-06-14 07:40:06 +0000
commit8c2c643a7ec0e0f3acc3657abc2a1103fa847c0e (patch)
treed5d4764753be3611554c592630fee4be34848444 /src/emu/timer.c
parentc06fe0e3f71db0b8682a142e4e4f4792f0f68d5d (diff)
Regression fixes:
atarijsa.c: just use a generic device for the tms5220 to handle variants until we have a proper base class (fixes eprom, eprom2 - eprom.c "assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src") decocass.c: invert sense of reset line to MCU (fixes All sets in decocass.c - Games no longer begin loading (countdown)) metro.c: use generic device for the YM sound since multiple YM chips are used. (fixes 3kokushi, blzntrnd, dharma, dharmak, dokyusei, dokyusp, gstrik2, gstrik2j, karatour, ladykill, lastfort, lastforte, lastforte, lastfortg, lastfortk, skyalert, toride2g, toride2gg, toride2j - metro.c "assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src") mitchell.c: when swapping the OKIM6295 for an MSM5205, use a different tag. (fixes pangba, spangbl - mitchell.c "assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src") deco32.c: use a proper EEPROM device to fetch the space from. (fixes tattass, tattassa - deco32.c - Crash while checking "Jack Ram" before start "assert: src/emu/emucore.h:328: dynamic_cast<_Dest>(src) == src") system1.c: use a proper z80pio_device (cleanup) vconv.c: support -g* options for MSVC builds (cleanup) m377101.c/g65816.c: fix fault logic for mapping icount (fixes All sets in namcofl.c, namcona1.c, namconb1.c, nss.c, sfcbox.c, snesb.c airco22b, cybrcycc, dirtdash, rrf, timecrs, timecrsa - namcos22.c Hanging immediately or shortly after start. "assert: src/emu/schedule.c:189: ran >= *exec->m_icount") schedule.c/diexec.c/timer.c: add temporary logging to permit direct comparisons with earlier games timing (cleanup) generic.c: fix computation of time for turning off the IRQ when using generic_pulse_irq() to account for CPU-local time (fixes Any sets in bublbobl.c which use the which use m6801 - Frequent/Random watchdog resets.) z80pio.c: convert internal line states to bool, and fix typo (control_write should have been data_write in one place) (fixes Any system1.c games which use z80pio - No sound)
Diffstat (limited to 'src/emu/timer.c')
-rw-r--r--src/emu/timer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emu/timer.c b/src/emu/timer.c
index 9084170c3f2..3c8c81f608a 100644
--- a/src/emu/timer.c
+++ b/src/emu/timer.c
@@ -921,6 +921,14 @@ static void timer_logtimers(running_machine *machine)
}
+void timer_print_first_timer(running_machine *machine)
+{
+ timer_private *global = machine->timer_data;
+ emu_timer *t = global->activelist;
+ printf(" Start=%15.6f Exp=%15.6f Per=%15.6f Ena=%d Tmp=%d (%s)\n",
+ attotime_to_double(t->start), attotime_to_double(t->expire), attotime_to_double(t->period), t->enabled, t->temporary, t->func);
+}
+
//**************************************************************************
// TIMER DEVICE CONFIGURATION