Mercurial > repos > blastem
comparison blastem.c @ 368:c9d2a2371f5e
Make the n command in the Z80 debugger actually run the next instruction without needing a c command
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 31 May 2013 20:47:34 -0700 |
parents | 836585d389b8 |
children | 5dcf7551bb36 |
comparison
equal
deleted
inserted
replaced
367:f20562f2a570 | 368:c9d2a2371f5e |
---|---|
1103 debugging = 0; | 1103 debugging = 0; |
1104 break; | 1104 break; |
1105 case 'n': | 1105 case 'n': |
1106 //TODO: Handle branch instructions | 1106 //TODO: Handle branch instructions |
1107 zinsert_breakpoint(context, after, (uint8_t *)zdebugger); | 1107 zinsert_breakpoint(context, after, (uint8_t *)zdebugger); |
1108 debugging = 0; | |
1108 break; | 1109 break; |
1109 case 'p': | 1110 case 'p': |
1110 strcpy(format, "%s: %d\n"); | 1111 strcpy(format, "%s: %d\n"); |
1111 if (input_buf[1] == '/') { | 1112 if (input_buf[1] == '/') { |
1112 switch (input_buf[2]) | 1113 switch (input_buf[2]) |