📄 fxemu2b.mac
字号:
;Copyright (C) 1997-2007 ZSNES Team ( zsKnight, _Demo_, pagefault, Nach );;http://www.zsnes.com;http://sourceforge.net/projects/zsnes;https://zsnes.bountysource.com;;This program is free software; you can redistribute it and/or;modify it under the terms of the GNU General Public License;version 2 as published by the Free Software Foundation.;;This program is distributed in the hope that it will be useful,;but WITHOUT ANY WARRANTY; without even the implied warranty of;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the;GNU General Public License for more details.;;You should have received a copy of the GNU General Public License;along with this program; if not, write to the Free Software;Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.%macro TORNb 1 ; V FETCHPIPE test dword[SfxB],1 jnz .VersionB mov edi, SfxR0+%1*4 inc ebp ; Increase program counter mov eax,ebp sub eax,[SfxCPB] mov dword[withr15sk],1 mov [SfxR15],eax call [FxTableb+ecx*4] mov edi,SfxR0 ret.VersionB mov eax,[esi] ; Read Source mov dword[withr15sk],1 inc ebp ; Increase program counter mov [SfxR0+%1*4],eax ; Write CLRFLAGS ret%endmacro%macro FROMRNb 1 ; V FETCHPIPE test dword[SfxB],1 jnz .VersionB mov esi,SfxR0+%1*4 inc ebp ; Increase program counter call [FxTable+ecx*4] mov esi,SfxR0 ret.VersionB mov eax,[SfxR0+%1*4] ; Read inc ebp mov [edi],eax ; Write Destination mov [SfxSignZero],eax shr al,7 mov [SfxOverflow],al CLRFLAGS ret%endmacro%macro TORNc 1 ; V FETCHPIPE mov eax,[esi] ; Read Source inc ebp ; Increase program counter mov [SfxR0+%1*4],eax ; Write CLRFLAGS ret%endmacro%macro FROMRNc 1 ; V FETCHPIPE mov eax,[SfxR0+%1*4] ; Read inc ebp mov [edi],eax ; Write Destination mov [SfxSignZero],eax shr al,7 mov [SfxOverflow],al CLRFLAGS ret%endmacro
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -