summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m6502.c
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2014-09-17 20:50:32 +0000
committer Olivier Galibert <galibert@pobox.com>2014-09-17 20:50:32 +0000
commitf5570dc9c61adc03e008c6e23f911ea9bd1f0366 (patch)
tree40d7a0c39fc600776bcf1402400054979ea2ff7f /src/emu/cpu/m6502/m6502.c
parentc61142c217aaf03f7c319a2a56a987516d63d066 (diff)
If we were documented, we'd be dangerous (nw)
Diffstat (limited to 'src/emu/cpu/m6502/m6502.c')
-rw-r--r--src/emu/cpu/m6502/m6502.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/emu/cpu/m6502/m6502.c b/src/emu/cpu/m6502/m6502.c
index 4a2d001142f..062560cdbc8 100644
--- a/src/emu/cpu/m6502/m6502.c
+++ b/src/emu/cpu/m6502/m6502.c
@@ -129,7 +129,6 @@ void m6502_device::init()
inst_substate = 0;
inst_state_base = 0;
sync = false;
- end_cycles = 0;
inhibit_interrupts = false;
}
@@ -143,7 +142,6 @@ void m6502_device::device_reset()
apu_irq_state = false;
irq_taken = false;
v_state = false;
- end_cycles = 0;
sync = false;
sync_w(CLEAR_LINE);
inhibit_interrupts = false;
@@ -400,18 +398,8 @@ UINT8 m6502_device::do_asr(UINT8 v)
return v;
}
-UINT64 m6502_device::get_cycle()
-{
- return end_cycles == 0 || icount <= 0 ? machine().time().as_ticks(clock()) : end_cycles - icount;
-}
-
void m6502_device::execute_run()
{
- // get_cycle() is currently unused, and this precalculation
- // enormously slows down drivers with high interleave
-#if 0
- end_cycles = machine().time().as_ticks(clock()) + icount;
-#endif
if(inst_substate)
do_exec_partial();
@@ -424,7 +412,6 @@ void m6502_device::execute_run()
}
do_exec_full();
}
- end_cycles = 0;
}
void m6502_device::execute_set_input(int inputnum, int state)