comparison blastem.c @ 446:1e828ed04a7c

Implement 68K stop instruction
author Mike Pavone <pavone@retrodev.com>
date Fri, 19 Jul 2013 22:44:00 -0700
parents cc754a309ead
children e730fc040169
comparison
equal deleted inserted replaced
445:80a9527c812c 446:1e828ed04a7c
256 if (context->int_ack) { 256 if (context->int_ack) {
257 vdp_int_ack(v_context, context->int_ack); 257 vdp_int_ack(v_context, context->int_ack);
258 context->int_ack = 0; 258 context->int_ack = 0;
259 } 259 }
260 adjust_int_cycle(context, v_context); 260 adjust_int_cycle(context, v_context);
261 if (context->current_cycle <= context->sync_cycle) {
262 context->sync_cycle = context->current_cycle + 4;
263 if (context->sync_cycle < context->int_cycle) {
264 context->target_cycle = context->sync_cycle;
265 }
266 }
261 if (break_on_sync && address) { 267 if (break_on_sync && address) {
262 break_on_sync = 0; 268 break_on_sync = 0;
263 debugger(context, address); 269 debugger(context, address);
264 } 270 }
265 return context; 271 return context;