mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -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
|
@ -5,10 +5,14 @@
|
|||
static void CheckPc(void)
|
||||
{
|
||||
#if USE_CHECKPC_CALLBACK
|
||||
#ifdef MEMHANDLERS_DIRECT_PREFIX
|
||||
ot(" bl %scheckpc ;@ Call checkpc()\n", MEMHANDLERS_DIRECT_PREFIX);
|
||||
#else
|
||||
ot(";@ Check Memory Base+pc\n");
|
||||
ot(" mov lr,pc\n");
|
||||
ot(" ldr pc,[r7,#0x64] ;@ Call checkpc()\n");
|
||||
ot("\n");
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue