diff options
author | Mike Pavone <pavone@retrodev.com> | 2014-06-17 01:50:29 -0400 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2014-06-17 01:50:29 -0400 |
commit | a39a82cc9773c8336eaa48379f2d2fe3615f178c (patch) | |
tree | 667e21515dca8e7c37ee548aa44a6130b6e44610 /z80_to_x86.h | |
parent | 14c0b3e916d866601311f9bbe53ab64ed560f67f (diff) |
blastem builds and almost works on OS X now
Diffstat (limited to 'z80_to_x86.h')
-rw-r--r-- | z80_to_x86.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/z80_to_x86.h b/z80_to_x86.h index ab2c846..48cc942 100644 --- a/z80_to_x86.h +++ b/z80_to_x86.h @@ -62,9 +62,9 @@ void translate_z80_stream(z80_context * context, uint32_t address); 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); -uint8_t * z80_get_native_address_trans(z80_context * context, uint32_t address); -z80_context * z80_handle_code_write(uint32_t address, z80_context * context); -void z80_run(z80_context * context); +extern uint8_t * z80_get_native_address_trans(z80_context * context, uint32_t address) asm("z80_get_native_address_trans"); +z80_context * z80_handle_code_write(uint32_t address, z80_context * context) asm("z80_handle_code_write"); +extern void z80_run(z80_context * context) asm("z80_run"); void z80_reset(z80_context * context); void zinsert_breakpoint(z80_context * context, uint16_t address, uint8_t * bp_handler); void zremove_breakpoint(z80_context * context, uint16_t address); |