X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2Fconfig.h;fp=cpu%2FCyclone%2Fconfig.h;h=d73b5b572b694c36999ae7dd3e27f37f78adbc5c;hb=fc1874de8af2fb53449bcfa931e025071f188b3e;hp=e180490e5e4243faaca8fa0d43dcedd888ee7bde;hpb=5d572e52280d099f55f683b343a4c18a521a692a;p=picodrive.git diff --git a/cpu/Cyclone/config.h b/cpu/Cyclone/config.h index e180490..d73b5b5 100644 --- a/cpu/Cyclone/config.h +++ b/cpu/Cyclone/config.h @@ -65,6 +65,17 @@ #define MEMHANDLERS_CHANGE_FLAGS 0 #define MEMHANDLERS_CHANGE_CYCLES 0 +/* + * If the following macro is defined, Cyclone no longer calls read*, write*, + * fetch* and checkpc from it's context, it calls these functions directly + * instead, prefixed with prefix selected below. For example, if + * MEMHANDLERS_DIRECT_PREFIX is set to cyclone_, it will call cyclone_read8 + * on byte reads. + * This is to avoid indirect jumps, which are slower. It also saves one ARM + * instruction. + */ +/* MEMHANDLERS_DIRECT_PREFIX "cyclone_" */ + /* * If enabled, Cyclone will call .IrqCallback routine from it's context whenever it * acknowledges an IRQ. IRQ level (.irq) is not cleared automatically, do this in your