From e96ca2a17dc298977d31768226090bc22b0baa5c Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 4 Jan 2017 20:43:22 -0800 Subject: 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 --- backend.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend.h') diff --git a/backend.h b/backend.h index ae80846..56c872e 100644 --- a/backend.h +++ b/backend.h @@ -76,6 +76,8 @@ typedef struct { 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 @@ typedef struct { 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; -- cgit v1.2.3