X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fmusashi%2Fm68kconf.h;h=00798719d6c5837f6e13033914e1076a4e38506b;hb=10d84cb2757db05bf7d66ef33575c52ed4b22053;hp=ced542df5fa6c83f02984b8bfe0d8bfc27133641;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/cpu/musashi/m68kconf.h b/cpu/musashi/m68kconf.h index ced542d..0079871 100644 --- a/cpu/musashi/m68kconf.h +++ b/cpu/musashi/m68kconf.h @@ -102,7 +102,7 @@ /* If ON, the CPU will monitor the trace flags and take trace exceptions */ -#define M68K_EMULATE_TRACE OPT_OFF +#define M68K_EMULATE_TRACE OPT_ON /* If ON, CPU will call the output reset callback when it encounters a reset @@ -126,6 +126,13 @@ #define M68K_RTE_CALLBACK() your_rte_handler_function() +/* If ON, CPU will call the callback when it encounters a tas + * instruction. + */ +#define M68K_TAS_HAS_CALLBACK OPT_ON +#define M68K_TAS_CALLBACK() your_tas_handler_function() + + /* If ON, CPU will call the set fc callback on every memory access to * differentiate between user/supervisor, program/data access like a real * 68000 would. This should be enabled and the callback should be set if you