changeset 1150:322d28e6f13c

Display both byte and word pending values to better reflect VDP pending state in PBC mode
author Michael Pavone <pavone@retrodev.com>
date Wed, 04 Jan 2017 21:23:59 -0800
parents 6b0da6021544
children 681e8a13b261
files vdp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vdp.c	Wed Jan 04 20:43:22 2017 -0800
+++ b/vdp.c	Wed Jan 04 21:23:59 2017 -0800
@@ -421,7 +421,8 @@
 		   "VINT Pending: %s\n"
 		   "HINT Pending: %s\n"
 		   "Status: %X\n",
-	       context->address, context->cd, cd_name(context->cd), (context->flags & FLAG_PENDING) ? "true" : "false",
+	       context->address, context->cd, cd_name(context->cd), 
+		   (context->flags & FLAG_PENDING) ? "word" : (context->flags2 & FLAG2_BYTE_PENDING) ? "byte" : "none",
 		   context->vcounter, context->hslot*2, (context->flags2 & FLAG2_VINT_PENDING) ? "true" : "false",
 		   (context->flags2 & FLAG2_HINT_PENDING) ? "true" : "false", vdp_control_port_read(context));