summaryrefslogtreecommitdiff
path: root/emu/6502.h
diff options
context:
space:
mode:
Diffstat (limited to 'emu/6502.h')
-rw-r--r--emu/6502.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/emu/6502.h b/emu/6502.h
index 9dc8614..c462fcc 100644
--- a/emu/6502.h
+++ b/emu/6502.h
@@ -20,6 +20,7 @@ typedef struct
int debug_flags;
int steps;
+ int cycles;
int error_state;
} cpu_6502_t;
@@ -92,7 +93,8 @@ void cpu_6502_push_word( cpu_6502_t *cpu, uint16_t data );
uint8_t cpu_6502_pop_byte( cpu_6502_t *cpu );
uint16_t cpu_6502_pop_word( cpu_6502_t *cpu );
-void cpu_6502_run( cpu_6502_t *cpu, int steps );
+void cpu_6502_run_steps( cpu_6502_t *cpu, int steps );
+void cpu_6502_run_cycles( cpu_6502_t *cpu, int cycles );
void cpu_6502_step( cpu_6502_t *cpu );
void cpu_6502_get_opcode_mnemonic( cpu_6502_t *cpu, char *buf, int buflen, uint16_t addr );