diff --git a/zsnes/src/cpu/execute.asm b/zsnes/src/cpu/execute.asm index 74757c48..64474113 100644 --- a/zsnes/src/cpu/execute.asm +++ b/zsnes/src/cpu/execute.asm @@ -115,7 +115,6 @@ EXTSYM SfxPBR,SCBRrel,SfxSCBR,SfxCOLR,hdmaearlstart,SFXCounter EXTSYM fxbit01,fxbit01pcal,fxbit23,fxbit23pcal,fxbit45,fxbit45pcal,fxbit67,fxbit67pcal EXTSYM SfxSFR,nosprincr EXTSYM cpucycle,debstop,switchtovirqdeb,debstop3,switchtonmideb -EXTSYM ReadSPC7110log,WriteSPC7110log EXTSYM NetPlayNoMore EXTSYM statefileloc @@ -1157,7 +1156,6 @@ reexecuteb2: call UpdateDPage call SA1UpdateDPage call Makemode7Table - call ReadSPC7110log cmp byte[SFXEnable],0 je .nosfxud call UpdateSFX @@ -1263,8 +1261,6 @@ reexecuteb2: call DeInitPostGame .skippostgame - call WriteSPC7110log - ; clear all keys call Check_Key cmp al,0 diff --git a/zsnes/src/cpu/memory.asm b/zsnes/src/cpu/memory.asm index 98096770..e510e991 100644 --- a/zsnes/src/cpu/memory.asm +++ b/zsnes/src/cpu/memory.asm @@ -4148,16 +4148,6 @@ NEWSYM membank0w16SA1 ;******************************************************* ; ROM Only Access Banks (40 - 6F) / (C0 - FF) ;******************************************************* -%macro TestSDD1 0 - cmp ebx,0DAh - jne %%nobank - cmp ecx,1C01h - jbe %%nobank - cmp ecx,[LatestBank] - ja %%nobank - mov [LatestBank],ecx -%%nobank -%endmacro NEWSYM memaccessspc7110r8 @@ -4220,14 +4210,12 @@ NEWSYM memaccessspc7110w16 ret NEWSYM memaccessbankr8 -; TestSDD1 mov ebx,[snesmmap+ebx*4] mov al,[ebx+ecx] xor ebx,ebx ret NEWSYM memaccessbankr16 -; TestSDD1 mov ebx,[snesmmap+ebx*4] mov ax,[ebx+ecx] xor ebx,ebx diff --git a/zsnes/src/dos/debug.asm b/zsnes/src/dos/debug.asm index 667c7f17..66d706f5 100644 --- a/zsnes/src/dos/debug.asm +++ b/zsnes/src/dos/debug.asm @@ -252,43 +252,6 @@ NEWSYM debstop3, db 0 NEWSYM debstop4, db 0 SECTION .text -NEWSYM WriteSPC7110log - cmp byte[SPC7110Enable],0 - je .nospc7110 - mov edx,SPC7110fn - call Create_File - mov bx,ax - mov ecx,8 - mov edx,DecompAPtr - call Write_File - mov edx,CurPtrVal - mov ecx,[DecompAPtr] - shl ecx,3 - add ecx,27 - call Write_File - call Close_File -.nospc7110 - ret -NEWSYM ReadSPC7110log - cmp byte[SPC7110Enable],0 - je .nospc7110 - mov edx,SPC7110fn - call Open_File - jc .nospc7110 - mov bx,ax - mov ecx,8 - mov edx,DecompAPtr - call Read_File - mov edx,CurPtrVal - mov ecx,[DecompAPtr] - shl ecx,3 - add ecx,27 - call Read_File - call Close_File -.nospc7110 - ret -SPC7110fn db 'SPC7110.dat',0 - NEWSYM loadtempstuff ; Load stuff mov edx,.spcfname