From 079a2c40b940e7ed09aa727effb2981a1eed4839 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 16 Jul 2013 23:16:14 -0700 Subject: Add address/cd registers to VDP debug message --- vdp.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vdp.c') 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 } -- cgit v1.2.3