summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-07-16 23:16:14 -0700
committerMike Pavone <pavone@retrodev.com>2013-07-16 23:16:14 -0700
commit079a2c40b940e7ed09aa727effb2981a1eed4839 (patch)
treec1ba05879f8386173025a57413378d4a98d3dd3b
parentde1c3145d57e6efc3022012d26744f7a79e3cde2 (diff)
Add address/cd registers to VDP debug message
-rw-r--r--vdp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vdp.c b/vdp.c
index 0eb0655..7154548 100644
--- a/vdp.c
+++ b/vdp.c
@@ -207,6 +207,11 @@ void vdp_print_reg_explain(vdp_context * context)
context->regs[REG_HINT], context->regs[REG_HINT],
context->regs[REG_AUTOINC], context->regs[REG_AUTOINC],
context->regs[REG_SCROLL], sizes[context->regs[REG_SCROLL] & 0x3], sizes[context->regs[REG_SCROLL] >> 4 & 0x3]);
+ printf("\n**Internal Group**\n"
+ "Address: %X\n"
+ "CD: %X\n"
+ "Pending: %s\n",
+ context->address, context->cd, (context->flags & FLAG_PENDING) ? "true" : "false");
//TODO: Window Group, DMA Group
}