mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
Cyclone: direct memhandler calls option + reset function
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@778 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
5d572e5228
commit
fc1874de8a
5 changed files with 102 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue