comparison z80_to_x86.h @ 1142:5c8b1c33ca10

Invalidate translated code on a cartridge bank change in SMS mode. Fix handling of bank 0
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 Jan 2017 23:35:40 -0800
parents 8f14767661fa
children 70d88d9bfe13
comparison
equal deleted inserted replaced
1141:7e199bebde2f 1142:5c8b1c33ca10
92 void z80_options_free(z80_options *opts); 92 void z80_options_free(z80_options *opts);
93 z80_context * init_z80_context(z80_options * options); 93 z80_context * init_z80_context(z80_options * options);
94 code_ptr z80_get_native_address(z80_context * context, uint32_t address); 94 code_ptr z80_get_native_address(z80_context * context, uint32_t address);
95 code_ptr z80_get_native_address_trans(z80_context * context, uint32_t address); 95 code_ptr z80_get_native_address_trans(z80_context * context, uint32_t address);
96 z80_context * z80_handle_code_write(uint32_t address, z80_context * context); 96 z80_context * z80_handle_code_write(uint32_t address, z80_context * context);
97 void z80_invalidate_code_range(z80_context *context, uint32_t start, uint32_t end);
97 void z80_reset(z80_context * context); 98 void z80_reset(z80_context * context);
98 void zinsert_breakpoint(z80_context * context, uint16_t address, uint8_t * bp_handler); 99 void zinsert_breakpoint(z80_context * context, uint16_t address, uint8_t * bp_handler);
99 void zremove_breakpoint(z80_context * context, uint16_t address); 100 void zremove_breakpoint(z80_context * context, uint16_t address);
100 void z80_run(z80_context * context, uint32_t target_cycle); 101 void z80_run(z80_context * context, uint32_t target_cycle);
101 void z80_assert_reset(z80_context * context, uint32_t cycle); 102 void z80_assert_reset(z80_context * context, uint32_t cycle);