comparison vdp.c @ 438:b3cee2fe690b

Add address/cd registers to VDP debug message
author Mike Pavone <pavone@retrodev.com>
date Tue, 16 Jul 2013 23:16:14 -0700
parents afbea09d7fb4
children 3758bcdae5de b7c3b2d22858
comparison
equal deleted inserted replaced
437:afbea09d7fb4 438:b3cee2fe690b
205 "10: %.2X | Scroll A/B Size: %sx%s\n", 205 "10: %.2X | Scroll A/B Size: %sx%s\n",
206 context->regs[REG_BG_COLOR], context->regs[REG_BG_COLOR] & 0x3F, 206 context->regs[REG_BG_COLOR], context->regs[REG_BG_COLOR] & 0x3F,
207 context->regs[REG_HINT], context->regs[REG_HINT], 207 context->regs[REG_HINT], context->regs[REG_HINT],
208 context->regs[REG_AUTOINC], context->regs[REG_AUTOINC], 208 context->regs[REG_AUTOINC], context->regs[REG_AUTOINC],
209 context->regs[REG_SCROLL], sizes[context->regs[REG_SCROLL] & 0x3], sizes[context->regs[REG_SCROLL] >> 4 & 0x3]); 209 context->regs[REG_SCROLL], sizes[context->regs[REG_SCROLL] & 0x3], sizes[context->regs[REG_SCROLL] >> 4 & 0x3]);
210 printf("\n**Internal Group**\n"
211 "Address: %X\n"
212 "CD: %X\n"
213 "Pending: %s\n",
214 context->address, context->cd, (context->flags & FLAG_PENDING) ? "true" : "false");
210 215
211 //TODO: Window Group, DMA Group 216 //TODO: Window Group, DMA Group
212 } 217 }
213 218
214 void scan_sprite_table(uint32_t line, vdp_context * context) 219 void scan_sprite_table(uint32_t line, vdp_context * context)