Mercurial > repos > blastem
comparison blastem.c @ 144:177ba1a5af9c
Comment out some debug printfs
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 31 Dec 2012 18:53:52 -0800 |
parents | 0e7e1ccc0a81 |
children | 139e5dcd6aa3 |
comparison
equal
deleted
inserted
replaced
143:e5487ef04619 | 144:177ba1a5af9c |
---|---|
325 case 0x5: | 325 case 0x5: |
326 gamepad_2.control = value; | 326 gamepad_2.control = value; |
327 break; | 327 break; |
328 } | 328 } |
329 } else { | 329 } else { |
330 printf("IO Write of %X to %X @ %d\n", value, location, context->current_cycle); | 330 //printf("IO Write of %X to %X @ %d\n", value, location, context->current_cycle); |
331 if (location == 0x1100) { | 331 if (location == 0x1100) { |
332 if (busack_cycle > context->current_cycle) { | 332 if (busack_cycle > context->current_cycle) { |
333 busack = new_busack; | 333 busack = new_busack; |
334 busack_cycle = CYCLE_NEVER; | 334 busack_cycle = CYCLE_NEVER; |
335 } | 335 } |
395 if (busack_cycle > context->current_cycle) { | 395 if (busack_cycle > context->current_cycle) { |
396 busack = new_busack; | 396 busack = new_busack; |
397 busack_cycle = CYCLE_NEVER; | 397 busack_cycle = CYCLE_NEVER; |
398 } | 398 } |
399 context->value = reset || busack; | 399 context->value = reset || busack; |
400 printf("Byte read of BUSREQ returned %d @ %d (reset: %d, busack: %d)\n", context->value, context->current_cycle, reset, busack); | 400 //printf("Byte read of BUSREQ returned %d @ %d (reset: %d, busack: %d)\n", context->value, context->current_cycle, reset, busack); |
401 } else if (location == 0x1200) { | 401 } else if (location == 0x1200) { |
402 context->value = !reset; | 402 context->value = !reset; |
403 } else { | 403 } else { |
404 printf("Byte read of unknown IO location: %X\n", location); | 404 printf("Byte read of unknown IO location: %X\n", location); |
405 } | 405 } |
443 if (busack_cycle > context->current_cycle) { | 443 if (busack_cycle > context->current_cycle) { |
444 busack = new_busack; | 444 busack = new_busack; |
445 busack_cycle = CYCLE_NEVER; | 445 busack_cycle = CYCLE_NEVER; |
446 } | 446 } |
447 context->value = (reset || busack) << 8; | 447 context->value = (reset || busack) << 8; |
448 printf("Word read of BUSREQ returned %d\n", context->value); | 448 //printf("Word read of BUSREQ returned %d\n", context->value); |
449 } else if (location == 0x1200) { | 449 } else if (location == 0x1200) { |
450 context->value = (!reset) << 8; | 450 context->value = (!reset) << 8; |
451 } else { | 451 } else { |
452 printf("Word read of unknown IO location: %X\n", location); | 452 printf("Word read of unknown IO location: %X\n", location); |
453 } | 453 } |