Mercurial > repos > blastem
diff z80_to_x86.h @ 263:2989ed7b8608
Add a second context pointer to m68k_context so that try_fifo_write can still have easy access to the VDP. Handle writes to Z80 code addresses from the 68K.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Apr 2013 20:36:15 -0700 |
parents | 63b9a500a00b |
children | 171f97e70d85 |
line wrap: on
line diff
--- a/z80_to_x86.h Tue Apr 30 20:33:30 2013 -0700 +++ b/z80_to_x86.h Tue Apr 30 20:36:15 2013 -0700 @@ -55,6 +55,7 @@ void init_x86_z80_opts(x86_z80_options * options); void init_z80_context(z80_context * context, x86_z80_options * options); uint8_t * z80_get_native_address(z80_context * context, uint32_t address); +z80_context * z80_handle_code_write(uint32_t address, z80_context * context); void z80_run(z80_context * context); void z80_reset(z80_context * context);