diff vdp.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 8506b305e0e8
children c83ec07ddbac
line wrap: on
line diff
--- a/vdp.h	Tue Jan 03 23:03:30 2017 -0800
+++ b/vdp.h	Wed Jan 04 20:43:22 2017 -0800
@@ -212,6 +212,7 @@
 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);