diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-12-17 23:03:19 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-12-17 23:03:19 -0800 |
commit | 4cad512b6d7ac0f7042b90e1029626fb14788bf0 (patch) | |
tree | 5d8d24324bee0ca18a6cfa12a92ef279719f24cf /z80_to_x86.c | |
parent | 9dc3feb135af0a8853798bd79cff754cd86dbd0f (diff) |
Get rest of emulator compiling again with Z80 core enabled
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r-- | z80_to_x86.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c index ba4fc66..6d5f928 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -1897,7 +1897,7 @@ void translate_z80_stream(z80_context * context, uint32_t address) } } -void init_x86_z80_opts(z80_options * options, memmap_chunk * chunks, uint32_t num_chunks) +void init_x86_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks) { memset(options, 0, sizeof(*options)); @@ -2069,6 +2069,13 @@ void init_x86_z80_opts(z80_options * options, memmap_chunk * chunks, uint32_t nu jmp_r(code, options->gen.scratch1); } +void * z80_gen_bank_write(uint32_t start_address, void * voptions) +{ + z80_options * options = voptions; + //TODO: Handle writes to bank register + return options; +} + void init_z80_context(z80_context * context, z80_options * options) { memset(context, 0, sizeof(*context)); |