comparison vdp.c @ 109:004dd46e0a97

COmment out fifo full debug printf
author Mike Pavone <pavone@retrodev.com>
date Fri, 28 Dec 2012 15:04:22 -0800
parents 1a551a85cb06
children 8fc8e46be691
comparison
equal deleted inserted replaced
108:1a551a85cb06 109:004dd46e0a97
1061 1061
1062 void vdp_data_port_write(vdp_context * context, uint16_t value) 1062 void vdp_data_port_write(vdp_context * context, uint16_t value)
1063 { 1063 {
1064 //printf("data port write: %X\n", value); 1064 //printf("data port write: %X\n", value);
1065 context->flags &= ~FLAG_PENDING; 1065 context->flags &= ~FLAG_PENDING;
1066 if (context->fifo_cur == context->fifo_end) { 1066 /*if (context->fifo_cur == context->fifo_end) {
1067 printf("FIFO full, waiting for space before next write at cycle %X\n", context->cycles); 1067 printf("FIFO full, waiting for space before next write at cycle %X\n", context->cycles);
1068 } 1068 }*/
1069 while (context->fifo_cur == context->fifo_end) { 1069 while (context->fifo_cur == context->fifo_end) {
1070 vdp_run_context(context, context->cycles + ((context->latched_mode & BIT_H40) ? 16 : 20)); 1070 vdp_run_context(context, context->cycles + ((context->latched_mode & BIT_H40) ? 16 : 20));
1071 } 1071 }
1072 context->fifo_cur->cycle = context->cycles; 1072 context->fifo_cur->cycle = context->cycles;
1073 context->fifo_cur->value = value; 1073 context->fifo_cur->value = value;