diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-06-20 07:57:32 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-06-20 07:57:32 -0700 |
commit | 4c06b02583a69756a7cdf6561c0760087eb642ec (patch) | |
tree | 3b65c376a30acfb2696bfe6c9178dccbf778c7b1 /z80_to_x86.h | |
parent | a14794522213f99ddef00aa049785ff806d4b1dd (diff) |
Added some preliminary support for interpreting Z80 code from non-RAM addresses
Diffstat (limited to 'z80_to_x86.h')
-rw-r--r-- | z80_to_x86.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/z80_to_x86.h b/z80_to_x86.h index 28f860f..fc30179 100644 --- a/z80_to_x86.h +++ b/z80_to_x86.h @@ -55,10 +55,12 @@ typedef struct { void * system; uint8_t ram_code_flags[(8 * 1024)/128/8]; uint32_t int_enable_cycle; + uint16_t pc; uint8_t breakpoint_flags[(16 * 1024)/sizeof(uint8_t)]; uint8_t * bp_handler; uint8_t * bp_stub; - uint16_t pc; + uint8_t * interp_code[256]; + } z80_context; void translate_z80_stream(z80_context * context, uint32_t address); |