Mercurial > repos > blastem
comparison z80_to_x86.h @ 652:f822d9216968
Merge
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Dec 2014 19:11:34 -0800 |
parents | 086de8692932 041578693329 |
children | 759c38bf97f8 |
comparison
equal
deleted
inserted
replaced
620:9d6fed6501ba | 652:f822d9216968 |
---|---|
1 /* | 1 /* |
2 Copyright 2013 Michael Pavone | 2 Copyright 2013 Michael Pavone |
3 This file is part of BlastEm. | 3 This file is part of BlastEm. |
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #ifndef Z80_TO_X86_H_ | 6 #ifndef Z80_TO_X86_H_ |
7 #define Z80_TO_X86_H_ | 7 #define Z80_TO_X86_H_ |
8 #include "z80inst.h" | 8 #include "z80inst.h" |
72 void * system; | 72 void * system; |
73 uint8_t ram_code_flags[(8 * 1024)/128/8]; | 73 uint8_t ram_code_flags[(8 * 1024)/128/8]; |
74 uint32_t int_enable_cycle; | 74 uint32_t int_enable_cycle; |
75 z80_run_fun run; | 75 z80_run_fun run; |
76 uint16_t pc; | 76 uint16_t pc; |
77 uint32_t int_pulse_start; | |
78 uint32_t int_pulse_end; | |
79 uint8_t breakpoint_flags[(16 * 1024)/sizeof(uint8_t)]; | |
80 uint8_t * bp_handler; | |
81 uint8_t * bp_stub; | |
82 uint8_t * interp_code[256]; | |
83 | |
77 } z80_context; | 84 } z80_context; |
78 | 85 |
79 void translate_z80_stream(z80_context * context, uint32_t address); | 86 void translate_z80_stream(z80_context * context, uint32_t address); |
80 void init_x86_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks); | 87 void init_x86_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks); |
81 void init_z80_context(z80_context * context, z80_options * options); | 88 void init_z80_context(z80_context * context, z80_options * options); |