Mercurial > repos > blastem
comparison m68k_core.c @ 2225:e22137f0aca4
Fix some 68K exception processing cycle times
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 05 Sep 2022 01:15:15 -0700 |
parents | d8b0244101c4 |
children | 31fc1186ffbb |
comparison
equal
deleted
inserted
replaced
2224:d8b0244101c4 | 2225:e22137f0aca4 |
---|---|
361 } | 361 } |
362 | 362 |
363 static void translate_m68k_illegal(m68k_options *opts, m68kinst *inst) | 363 static void translate_m68k_illegal(m68k_options *opts, m68kinst *inst) |
364 { | 364 { |
365 code_info *code = &opts->gen.code; | 365 code_info *code = &opts->gen.code; |
366 cycles(&opts->gen, BUS); | |
367 ldi_native(opts, VECTOR_ILLEGAL_INST, opts->gen.scratch2); | 366 ldi_native(opts, VECTOR_ILLEGAL_INST, opts->gen.scratch2); |
368 ldi_native(opts, inst->address, opts->gen.scratch1); | 367 ldi_native(opts, inst->address, opts->gen.scratch1); |
369 jmp(code, opts->trap); | 368 jmp(code, opts->trap); |
370 } | 369 } |
371 | 370 |