diff lc8951.c @ 2122:bb478feccca2

Cut down on debug print spam
author Michael Pavone <pavone@retrodev.com>
date Thu, 10 Mar 2022 22:07:45 -0800
parents bafb757e1cd2
children 28b6453cf7e3
line wrap: on
line diff
--- a/lc8951.c	Thu Mar 10 21:25:16 2022 -0800
+++ b/lc8951.c	Thu Mar 10 22:07:45 2022 -0800
@@ -213,7 +213,6 @@
 				uint16_t block_start = (context->regs[PTL] | (context->regs[PTH] << 8)) & (sizeof(context->buffer)-1);
 				for (int reg = HEAD0; reg < PTL; reg++)
 				{
-					printf("Setting HEAD%d to buffer[%X]\n", reg - HEAD0, block_start);
 					context->regs[reg] =context->buffer[block_start++];
 					block_start &= (sizeof(context->buffer)-1);
 				}
@@ -255,7 +254,6 @@
 				context->cycle -= step_diff * context->clock_step;
 			}
 			context->transfer_end = context->cycle + transfer_size * context->clock_step;
-			printf("RESUME: size %u, cycle %u, end %u\n", transfer_size, context->cycle, context->transfer_end);
 			if (step_diff) {
 				lc8951_run(context, cycle);
 			}