comparison debug.c @ 1149:6b0da6021544

Don't lock up CPU if performing a read with writes configured when in PBC mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
author Michael Pavone <pavone@retrodev.com>
date Wed, 04 Jan 2017 20:43:22 -0800
parents 8f14767661fa
children de742a7bd9f7
comparison
equal deleted inserted replaced
1148:80ef49539550 1149:6b0da6021544
521 fputs("Failed to find a RAM memory chunk\n", stderr); 521 fputs("Failed to find a RAM memory chunk\n", stderr);
522 } 522 }
523 break; 523 break;
524 } 524 }
525 default: 525 default:
526 fprintf(stderr, "Unrecognized debugger command %s\n", input_buf); 526 if (
527 !context->options->gen.debug_cmd_handler
528 || !context->options->gen.debug_cmd_handler(&system->header, input_buf)
529 ) {
530 fprintf(stderr, "Unrecognized debugger command %s\n", input_buf);
531 }
527 break; 532 break;
528 } 533 }
529 } 534 }
530 return context; 535 return context;
531 } 536 }