Mercurial > repos > blastem
comparison m68k_core.c @ 2063:d59ace2d7a6a segacd
Update commented out CPU logging to differentiate between main and sub 68k
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 28 Jan 2022 22:47:51 -0800 |
parents | 8ee7ecbf3f21 |
children | 8554751f17b5 |
comparison
equal
deleted
inserted
replaced
2062:07ed42bd7b4c | 2063:d59ace2d7a6a |
---|---|
962 m68k_debug_handler bp; | 962 m68k_debug_handler bp; |
963 if ((bp = find_breakpoint(context, inst->address))) { | 963 if ((bp = find_breakpoint(context, inst->address))) { |
964 m68k_breakpoint_patch(context, inst->address, bp, start); | 964 m68k_breakpoint_patch(context, inst->address, bp, start); |
965 } | 965 } |
966 | 966 |
967 //log_address(&opts->gen, inst->address, "M68K: %X @ %d\n"); | 967 //log_address(&opts->gen, inst->address, opts->gen.clock_divider == 4 ? "Sub M68k: %X @ %d\n" : "Main M68K: %X @ %d\n"); |
968 if ( | 968 if ( |
969 (inst->src.addr_mode > MODE_AREG && inst->src.addr_mode < MODE_IMMEDIATE) | 969 (inst->src.addr_mode > MODE_AREG && inst->src.addr_mode < MODE_IMMEDIATE) |
970 || (inst->dst.addr_mode > MODE_AREG && inst->dst.addr_mode < MODE_IMMEDIATE) | 970 || (inst->dst.addr_mode > MODE_AREG && inst->dst.addr_mode < MODE_IMMEDIATE) |
971 || (inst->op == M68K_BCC && (inst->src.params.immed & 1)) | 971 || (inst->op == M68K_BCC && (inst->src.params.immed & 1)) |
972 ) { | 972 ) { |