From 4afb917f03758c286ca85ad9a45be13e852b6a84 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sat, 8 Feb 2014 23:37:09 -0800 Subject: Initial GDB remote debugging support. Lacks some features, but breakpoints and basic inspection of registers and memory work. --- vdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index 103ed63..5cf5797 100644 --- a/vdp.c +++ b/vdp.c @@ -197,7 +197,7 @@ void vdp_print_sprite_table(vdp_context * context) uint8_t pal = context->vdpmem[address + 4] >> 5 & 0x3; uint8_t pri = context->vdpmem[address + 4] >> 7; uint16_t pattern = ((context->vdpmem[address + 4] << 8 | context->vdpmem[address + 5]) & 0x7FF) << 5; - //printf("Sprite %d: X=%d(%d), Y=%d(%d), Width=%u, Height=%u, Link=%u, Pal=%u, Pri=%u, Pat=%X\n", current_index, x, x-128, y, y-128, width, height, link, pal, pri, pattern); + printf("Sprite %d: X=%d(%d), Y=%d(%d), Width=%u, Height=%u, Link=%u, Pal=%u, Pri=%u, Pat=%X\n", current_index, x, x-128, y, y-128, width, height, link, pal, pri, pattern); current_index = link; count++; } while (current_index != 0 && count < 80); -- cgit v1.2.3