Mercurial > repos > blastem
diff backend.h @ 1149:6b0da6021544
Don't lock up CPU if performing a read with writes configured when in PBC mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 04 Jan 2017 20:43:22 -0800 |
parents | 8f14767661fa |
children | b27d7bf1107e |
line wrap: on
line diff
--- a/backend.h Tue Jan 03 23:03:30 2017 -0800 +++ b/backend.h Wed Jan 04 20:43:22 2017 -0800 @@ -76,6 +76,8 @@ write_8_fun write_8; } memmap_chunk; +#include "system.h" + typedef struct { uint32_t flags; native_map_slot *native_code_map; @@ -90,6 +92,7 @@ code_ptr handle_code_write; code_ptr handle_align_error_write; code_ptr handle_align_error_read; + system_str_fun_r8 debug_cmd_handler; uint32_t memmap_chunks; uint32_t address_mask; uint32_t max_address;