# HG changeset patch # User Mike Pavone # Date 1358121343 28800 # Node ID b204fbed4efef81bbdcd4eb28c370dccc9876179 # Parent ebcbdd1c4cc8cfc9285bf36f4ad21c1f8510e8e1 Add ability to print out current 68K cycle in debugger diff -r ebcbdd1c4cc8 -r b204fbed4efe blastem.c --- a/blastem.c Sun Jan 13 13:01:13 2013 -0800 +++ b/blastem.c Sun Jan 13 15:55:43 2013 -0800 @@ -775,6 +775,8 @@ for (int flag = 0; flag < 5; flag++) { value |= context->flags[flag] << (4-flag); } + } else if(param[0] == 'c') { + value = context->current_cycle; } else if (param[0] == '0' && param[1] == 'x') { uint32_t p_addr = strtol(param+2, NULL, 16); value = read_dma_value(p_addr/2);