rendered paste bodyIndex: cpu/execute.asm
===================================================================
--- cpu/execute.asm (revision 4836)
+++ cpu/execute.asm (working copy)
@@ -1452,10 +1452,10 @@
inc esi
jmp execloop.startagain
.overy
- add dword[spc_scantime], 33
- push dword[spc_scantime]
- pop dword[spc_time]
- call catchup
+ add dword[spc_scantime], 32
+ ; push dword[spc_scantime]
+ ; pop dword[spc_time]
+; call catchup
pushad
call dsp_run_wrap
popad
@@ -1896,7 +1896,7 @@
test byte[curexecstate],2
jz .nosoundb
- catchupspc
+; catchupspc
.skipallspc
.nosoundb
Index: cpu/spc700.asm
===================================================================
--- cpu/spc700.asm (revision 4836)
+++ cpu/spc700.asm (working copy)
@@ -545,7 +545,6 @@
cmp byte[SPCRAM+0FDh],1
jne .noin0
reenablespc
- mov dword[cycpbl],0
.noin0
test byte[timeron],2
jz .noin1
@@ -556,8 +555,7 @@
mov [timinl1],al
cmp byte[SPCRAM+0FEh],1
jne .noin1
- add dword[spc_scantime],1
- reenablespc
+
.noin1
.notimer
test byte[timeron],4
@@ -569,9 +567,6 @@
mov [timinl2],al
cmp byte[SPCRAM+0FFh],1
jne .noin2
- add dword[spc_scantime],1
- reenablespc
- mov dword[cycpbl],0
.noin2
dec byte[timinl2]
jnz .noin2b
@@ -580,9 +575,6 @@
mov [timinl2],al
cmp byte[SPCRAM+0FFh],1
jne .noin2b
- reenablespc
- add dword[spc_scantime],1
- mov dword[cycpbl],0
.noin2b
dec byte[timinl2]
jnz .noin2c
@@ -591,8 +583,6 @@
mov [timinl2],al
cmp byte[SPCRAM+0FFh],1
jne .noin2c
- add dword[spc_scantime],1
- reenablespc
.noin2c
dec byte[timinl2]
jnz .noin2d
@@ -601,8 +591,6 @@
mov [timinl2],al
cmp byte[SPCRAM+0FFh],1
jne .noin2d
- add dword[spc_scantime],1
- reenablespc
.noin2d
.noin2d2
; inc dword[timer2upd]
@@ -621,10 +609,10 @@
xor byte[altscanline],1
cmp byte[altscanline],1
je .noaltscanline
- add dword[spc_scantime],65;61
+ add dword[spc_scantime],64;61
jmp .continue
.noaltscanline
- add dword[spc_scantime],67
+ add dword[spc_scantime],66
.continue
mov eax,[spc_scantime]
mov [spc_time],eax
Index: debugger.c
===================================================================
--- debugger.c (revision 4836)
+++ debugger.c (working copy)
@@ -507,7 +507,7 @@
}
e:
-
+
skipdebugsa1 = 0;
asm_call(execnextop);
skipdebugsa1 = 1;