X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2Fconfig.h;h=d73b5b572b694c36999ae7dd3e27f37f78adbc5c;hb=4b315c210a92a7ba0453933f22418584d4e6c2ab;hp=6ec08f8936c3fab50dc1c515ff319609ac37f166;hpb=0e11c502b05a9ccd67d34d1f0975852d8c3d4232;p=picodrive.git diff --git a/cpu/Cyclone/config.h b/cpu/Cyclone/config.h index 6ec08f8..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 @@ -133,8 +143,8 @@ /* * When this option is enabled Cyclone will do two word writes instead of one - * long write when handling MOVE.L with pre-decrementing destination, as described in - * Bart Trzynadlowski's doc (http://www.trzy.org/files/68knotes.txt). + * long write when handling MOVE.L or MOVEM.L with pre-decrementing destination, + * as described in Bart Trzynadlowski's doc (http://www.trzy.org/files/68knotes.txt). * Enable this if you are emulating a 16 bit system. */ #define SPLIT_MOVEL_PD 1