mirror of https://github.com/stella-emu/stella.git
073ae410ad
and become the "mini-language" for conditional breaks/traps. The current lexer/parser combo benchmarks at 1/2 million parses/sec on my Athlon 2100. By comparison, Pitfall runs approx. 360,000 instructions/sec. We need to be able to check for a conditional break once per instruction, so on my box, I'll probably be able to run the emulator at full speed with one breakcond set, using all the CPU. Am still working on a way to speed things up: there's no reason we should have to fully lex and parse an expression every time we want to evaluate it. For now, the only place the new parser hooks into Stella is with an undocumented "expr" command. Try "expr 2+2" at the prompt. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@585 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba |
||
---|---|---|
CVSROOT | ||
stella |