Aley Keprt wrote: > Well, I have used another Z80 CPU emulator in my SAA1099 player. > It is not 100%, but it uses very efficient algo's for computing flags. > And it is platform independent. This may help.
Sounds good - I'd come across the look-up tables in another Z80 emulator and wondered about using the same thing - it'd be faster than the current comparing, ORing and shifting. Might be worth giving it a try, but making sure the table includes the weird undocumented flags that the current version does. Si