请问FCEUX 2.22怎么下条件断点?我只知道读写断点 - -
请问FCEUX 2.22怎么下条件断点?比例,某地址=XX就中断,,,某地址被读写且=XX就中断之类的最好能把所有条件断点都说下???我还以为只有读 写 断点呢 - -
万分感谢!!! 丿粉墨登场 发表于 2014-1-24 20:07
洋拼音看不懂啊,亲 - -
求翻译 - -
懒着翻译,用GOOGLE或百度的在线翻译吧。
为什么不学点英语?不是很多资料都有中文。http://bbs.emu618.com/data/attachment/album/201401/24/202752xqwwenwhwrhhse8c.jpg 在添加断点Condition里写$xxxx==#xx
$xxxx是地址
#xx是数值,数值必须用16进制表示 疾风之狼 发表于 2014-1-24 00:05
在添加断点Condition里写$xxxx==#xx
$xxxx是地址
非常感谢,,,请问关于断电还有其他的方法和技巧吗{:4_92:} 不明觉厉! 回3楼:其他条件断点
Conditional Breakpoints
Breakpoints may also have a conditional statement that causes them to execute only if that statement evaluates to true. The conditional breakpoint grammar has this form:
Connect -> Compare { ('||' | '&&') Compare }
Compare -> Sum { ('==' | '!=' | '<=' | '>=' | '<' | '>') Sum }
Sum -> Product { ('+' | '-') Product }
Product -> Primitive { ('*' | '/') Primitive }
Primitive -> Number | Address | Register | Flag | PC Bank | Data Bank | '(' Connect ')'
Number -> '#' *
Address -> '$' * | '$' '[' Connect ']'
Register-> 'A' | 'X' | 'Y' | 'P'
Flag -> 'N' | 'C' | 'Z' | 'I' | 'B' | 'V'
PC Bank -> 'K'
Data Bank -> 'T'
The parser is very strict. All numbers are hexadecimal. Always prefix a number with # for an immediate value, or $ for a memory address. If a memory address needs to be calculated use $[] with the calculation inside the brackets.
Registers A/X/Y are 8-bit unsigned values. Register P is the 16-bit program counter.
Flags evaluate to 1 if set, 0 if clear.
Connecting operators || or && combine boolean terms. Parentheses dictate order of operations.
Example conditions:
Break only if register A is less than value at memory address $0005:
A < $0005
Break only if the value at the indirect address is not equal to FF:
#FF != $[$10+($11*#100)]
Break only if flag N is clear or A is not equal to 00:
(N==#0 || A!=#0)
Break only when accessing a data from bank 2 (the condiition is relevant when using with Read/Write-type breakpoints):
T==#2
以上内容来自fceux自带的帮助文档说明 疾风之狼 发表于 2014-1-24 16:59
回3楼:其他条件断点
洋拼音看不懂啊,亲 - -
求翻译 - - 疾风之狼 发表于 2014-1-24 20:33
懒着翻译,用GOOGLE或百度的在线翻译吧。
为什么不学点英语?不是很多资料都有中文。
非常感谢。。。但是这东西用百度翻译过来还是看不懂。。。
所以只能再次伸手了。
请问这种断点怎么设置。就是将寄存器A的数据写入地址0000且此时寄存器A=05 丿粉墨登场 发表于 2014-3-30 12:04
非常感谢。。。但是这东西用百度翻译过来还是看不懂。。。
所以只能再次伸手了。
请问这种断点怎么设置 ...
如图........
Address写0000,condition写A==#05,Write选项打勾 疾风之狼 发表于 2014-3-30 17:21
如图........
Address写0000,condition写A==#05,Write选项打勾
感谢,,,原来也是这个格式。。。(^_^)
页:
[1]