Even if the ram is quite slow, it should stil be faster to do 1 load than all the calculations for carry & overflow which are both pretty expensive.
I'm looking at the source now, theres just a few little things i personally would want to change;
in Z80_RDMEM,
the joypad is being polled for...