@Carlo Bramini have you had time to look at it? As said, just having a couple project files would be super helpful already (but being able to build all emus with SDL and GTK is kindof important...)
nice to see that you found the problem and fixed it!
sorry for delay, i was distracted by r46087 :) So, found some time to look at the new patch, a bit closer... Let me say first that i like the effort and it goes into the right direction - but there are still some rough corners :) NEWS should not be patched like this (just leave it out, we will generate NEWS from svn log when needed) the added documentation in vice.texi should be more generic (see below) A lot (all?) of the bank registering code seems to be duplicated per emulator - is that really...
add a simple script that extracts the snapshot tables from the source and converts them to texinfo. (3/3 this may need testing on various setups/OSs)
Try to use unique names for snapshot modules (2/3, this renames some snapshot modules)
add/fix a bunch of snapshot tables (1/3, this commit changes only comments)
use unique name for the snapshot module :)
the second example at least doesn't seem unexpected to me. Note that any registers used in the condition are "live" - the condition triggers when the expression becomes true. So when an instruction changes/updates PC (like JSR) that will cause this condition to become true mid-instruction (indeed after fetching the 3rd byte) the first case is a bit odd, it looks like a similar thing, but i wouldn't expect it to be this stable (is it really?) perhaps (i dont know if this is realistic) some special...