diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-07-16 23:16:14 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-07-16 23:16:14 -0700 |
commit | 079a2c40b940e7ed09aa727effb2981a1eed4839 (patch) | |
tree | c1ba05879f8386173025a57413378d4a98d3dd3b | |
parent | de1c3145d57e6efc3022012d26744f7a79e3cde2 (diff) |
Add address/cd registers to VDP debug message
-rw-r--r-- | vdp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 } |