X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fmusashi%2Fm68kconf.h;h=53e940fd22c65159ed243462b39e89192454bcc5;hb=c6a4c892866387e150ffcaa3af8b8c18d9ec6d58;hp=ced542df5fa6c83f02984b8bfe0d8bfc27133641;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/cpu/musashi/m68kconf.h b/cpu/musashi/m68kconf.h index ced542d..53e940f 100644 --- a/cpu/musashi/m68kconf.h +++ b/cpu/musashi/m68kconf.h @@ -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