# HG changeset patch # User Mike Pavone # Date 1374041774 25200 # Node ID b3cee2fe690baf640815eddbf6ee6b03349c3245 # Parent afbea09d7fb49d22cd1f814d03396398bcfd8356 Add address/cd registers to VDP debug message diff -r afbea09d7fb4 -r b3cee2fe690b vdp.c --- a/vdp.c Mon Jul 15 23:07:45 2013 -0700 +++ b/vdp.c Tue Jul 16 23:16:14 2013 -0700 @@ -207,6 +207,11 @@ 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 }