notaz.gp2x.de
/
cyclone68000.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't run when 0 cycles are left
[cyclone68000.git]
/
Main.cpp
diff --git
a/Main.cpp
b/Main.cpp
index
1f532a0
..
1637047
100644
(file)
--- a/
Main.cpp
+++ b/
Main.cpp
@@
-630,7
+630,7
@@
static void PrintFramework()
ot(" ldr r6,[r7,#0x54]\n");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" subs r5,r5,#44 ;@ Subtract cycles\n");
\r
ot(" ldr r6,[r7,#0x54]\n");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" subs r5,r5,#44 ;@ Subtract cycles\n");
\r
- ot(" ldrg
e
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
+ ot(" ldrg
t
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
\r
@@
-842,7
+842,7
@@
static void PrintFramework()
ot(" ldr r6,[r7,#0x54]\n");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" subs r5,r5,#50 ;@ Subtract cycles\n");
\r
ot(" ldr r6,[r7,#0x54]\n");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" subs r5,r5,#50 ;@ Subtract cycles\n");
\r
- ot(" ldrg
e
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
+ ot(" ldrg
t
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
#endif
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
#endif
\r
@@
-855,7
+855,7
@@
static void PrintFramework()
ot(" cmp r5,#0\n");
\r
ot(" orr r0,r0,#2 ;@ go to trace mode\n");
\r
ot(" str r0,[r7,#0x58]\n");
\r
ot(" cmp r5,#0\n");
\r
ot(" orr r0,r0,#2 ;@ go to trace mode\n");
\r
ot(" str r0,[r7,#0x58]\n");
\r
- ot(" bl
t
CycloneEnd\n"); // should take care of situation where we come here when already tracing
\r
+ ot(" bl
e
CycloneEnd\n"); // should take care of situation where we come here when already tracing
\r
ot(";@ CheckInterrupt:\n");
\r
ot(" movs r0,r1,lsr #24 ;@ Get IRQ level\n");
\r
ot(" beq CycloneDoTrace\n");
\r
ot(";@ CheckInterrupt:\n");
\r
ot(" movs r0,r1,lsr #24 ;@ Get IRQ level\n");
\r
ot(" beq CycloneDoTrace\n");
\r
@@
-898,13
+898,13
@@
static void PrintFramework()
ot(" bl Exception\n");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" subs r5,r5,#34 ;@ Subtract cycles\n");
\r
ot(" bl Exception\n");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" subs r5,r5,#34 ;@ Subtract cycles\n");
\r
- ot(" ldrg
e
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
+ ot(" ldrg
t
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
ot("TraceDisabled%s\n", ms?"":":");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" cmp r5,#0\n");
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
ot("TraceDisabled%s\n", ms?"":":");
\r
ot(" ldrh r8,[r4],#2 ;@ Fetch next opcode\n");
\r
ot(" cmp r5,#0\n");
\r
- ot(" ldrg
e
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
+ ot(" ldrg
t
pc,[r6,r8,asl #2] ;@ Jump to opcode handler\n");
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
#endif
\r
ot(" b CycloneEnd\n");
\r
ot("\n");
\r
#endif
\r