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 --- vdp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vdp.h') diff --git a/vdp.h b/vdp.h index 878500c..59944b5 100644 --- a/vdp.h +++ b/vdp.h @@ -212,6 +212,7 @@ void vdp_data_port_write_pbc(vdp_context * context, uint8_t value); void vdp_test_port_write(vdp_context * context, uint16_t value); uint16_t vdp_control_port_read(vdp_context * context); uint16_t vdp_data_port_read(vdp_context * context); +uint8_t vdp_data_port_read_pbc(vdp_context * context); uint16_t vdp_hv_counter_read(vdp_context * context); uint16_t vdp_test_port_read(vdp_context * context); void vdp_adjust_cycles(vdp_context * context, uint32_t deduction); -- cgit v1.2.3