idle debug removed, vpath added to Makefiles

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@526 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-07-06 11:33:13 +00:00
parent c060a9ab9c
commit 8187ba84b7
6 changed files with 117 additions and 125 deletions

View file

@ -90,10 +90,10 @@ cfi_loop:
.macro inc_counter cond
ldr r0, =idle_hit_counter
ldr r1, [r0]
add r1, r1, #1
str\cond r1, [r0]
@ ldr r0, =idle_hit_counter
@ ldr r1, [r0]
@ add r1, r1, #1
@ str\cond r1, [r0]
.endm
idle_bra:

View file

@ -39962,6 +39962,15 @@ RET(14)
}
#ifdef PICODRIVE_HACK
#if 0
#define UPDATE_IDLE_COUNT { \
extern int idle_hit_counter; \
idle_hit_counter++; \
}
#else
#define UPDATE_IDLE_COUNT
#endif
// BRA
OPCODE(0x6001_idle)
{
@ -39974,10 +39983,7 @@ OPCODE(0x6001_idle)
#else
PC += ((s8)(Opcode & 0xFE)) >> 1;
#endif
{
extern int idle_hit_counter;
idle_hit_counter++;
}
UPDATE_IDLE_COUNT
m68kcontext.io_cycle_counter = 10;
RET(10)
}
@ -39987,8 +39993,7 @@ OPCODE(0x6601_idle)
{
if (flag_NotZ)
{
extern int idle_hit_counter;
idle_hit_counter++;
UPDATE_IDLE_COUNT
PC += ((s8)(Opcode & 0xFE)) >> 1;
m68kcontext.io_cycle_counter = 8;
}
@ -39999,8 +40004,7 @@ OPCODE(0x6701_idle)
{
if (!flag_NotZ)
{
extern int idle_hit_counter;
idle_hit_counter++;
UPDATE_IDLE_COUNT
PC += ((s8)(Opcode & 0xFE)) >> 1;
m68kcontext.io_cycle_counter = 8;
}