Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
626:7c46891a29b1 | 627:c5820734a5b6 |
---|---|
53 native_map_slot * banked_code_map; | 53 native_map_slot * banked_code_map; |
54 void * options; | 54 void * options; |
55 void * system; | 55 void * system; |
56 uint8_t ram_code_flags[(8 * 1024)/128/8]; | 56 uint8_t ram_code_flags[(8 * 1024)/128/8]; |
57 uint32_t int_enable_cycle; | 57 uint32_t int_enable_cycle; |
58 uint16_t pc; | |
58 uint8_t breakpoint_flags[(16 * 1024)/sizeof(uint8_t)]; | 59 uint8_t breakpoint_flags[(16 * 1024)/sizeof(uint8_t)]; |
59 uint8_t * bp_handler; | 60 uint8_t * bp_handler; |
60 uint8_t * bp_stub; | 61 uint8_t * bp_stub; |
61 uint16_t pc; | 62 uint8_t * interp_code[256]; |
63 | |
62 } z80_context; | 64 } z80_context; |
63 | 65 |
64 void translate_z80_stream(z80_context * context, uint32_t address); | 66 void translate_z80_stream(z80_context * context, uint32_t address); |
65 void init_x86_z80_opts(x86_z80_options * options); | 67 void init_x86_z80_opts(x86_z80_options * options); |
66 void init_z80_context(z80_context * context, x86_z80_options * options); | 68 void init_z80_context(z80_context * context, x86_z80_options * options); |