comparison z80_to_x86.h @ 487:c08a4efeee7f opengl

Update opengl branch from default. Fix build breakage unrelated to merge
author Mike Pavone <pavone@retrodev.com>
date Sat, 26 Oct 2013 22:38:47 -0700
parents 140af5509ce7
children acec5464fa1e 7c46891a29b1
comparison
equal deleted inserted replaced
449:7696d824489d 487:c08a4efeee7f
1 /*
2 Copyright 2013 Michael Pavone
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.
5 */
1 #ifndef Z80_TO_X86_H_ 6 #ifndef Z80_TO_X86_H_
2 #define Z80_TO_X86_H_ 7 #define Z80_TO_X86_H_
3 #include "z80inst.h" 8 #include "z80inst.h"
4 #include "x86_backend.h" 9 #include "x86_backend.h"
5 10
48 native_map_slot * banked_code_map; 53 native_map_slot * banked_code_map;
49 void * options; 54 void * options;
50 void * system; 55 void * system;
51 uint8_t ram_code_flags[(8 * 1024)/128/8]; 56 uint8_t ram_code_flags[(8 * 1024)/128/8];
52 uint32_t int_enable_cycle; 57 uint32_t int_enable_cycle;
58 uint16_t pc;
53 } z80_context; 59 } z80_context;
54 60
55 void translate_z80_stream(z80_context * context, uint32_t address); 61 void translate_z80_stream(z80_context * context, uint32_t address);
56 void init_x86_z80_opts(x86_z80_options * options); 62 void init_x86_z80_opts(x86_z80_options * options);
57 void init_z80_context(z80_context * context, x86_z80_options * options); 63 void init_z80_context(z80_context * context, x86_z80_options * options);