Mercurial > repos > blastem
diff z80_to_x86.h @ 627:c5820734a5b6
Added some preliminary support for interpreting Z80 code from non-RAM addresses
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 20 Jun 2014 07:57:32 -0700 |
parents | 7c46891a29b1 |
children | 041578693329 |
line wrap: on
line diff
--- a/z80_to_x86.h Thu Jun 19 19:50:16 2014 -0700 +++ b/z80_to_x86.h Fri Jun 20 07:57:32 2014 -0700 @@ -55,10 +55,12 @@ 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);