From 9c4a07e1e04310480313e9b963d5ee49421a319b Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 28 Apr 2013 18:53:43 -0700 Subject: Implement cycle limit in Z80 core. --- z80_to_x86.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'z80_to_x86.h') diff --git a/z80_to_x86.h b/z80_to_x86.h index 453f580..7b155a1 100644 --- a/z80_to_x86.h +++ b/z80_to_x86.h @@ -37,6 +37,11 @@ typedef struct { uint8_t * mem_pointers[ZNUM_MEM_AREAS]; uint8_t iff1; uint8_t iff2; + uint16_t scratch1; + uint16_t scratch2; + void * extra_pc; + uint32_t sync_cycle; + uint32_t int_cycle; native_map_slot * static_code_map; native_map_slot * banked_code_map; void * options; -- cgit v1.2.3