X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2Fconfig.h;h=d73b5b572b694c36999ae7dd3e27f37f78adbc5c;hb=83ff19ec52ff47992b5d6ceda3900b914eda2123;hp=7736712bb52e3cca8a5ecf4ca3defa3eafa52b5f;hpb=e28a980fb7737edcf70fbce20c77b64fa14264a2;p=picodrive.git diff --git a/cpu/Cyclone/config.h b/cpu/Cyclone/config.h index 7736712..d73b5b5 100644 --- a/cpu/Cyclone/config.h +++ b/cpu/Cyclone/config.h @@ -16,7 +16,6 @@ * Mega Drive system. As VDP chip in these systems had control of the bus, * several instructions were acting differently, for example TAS did'n have * the write-back phase. That will be emulated, if this option is enabled. - * This option also alters timing slightly. */ #define CYCLONE_FOR_GENESIS 0 @@ -66,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