jonathan-markland/Jynx

Z80 emulation issues

Closed this issue · 1 comments

Model checking on the Z80 lead to some issues.
The following are suspected of not setting flags correctly: INC/8 DEC/8 CCF
Investigate if EX (SP),HL/IX/IY is correct, and also, does the order of bus transactions matter?
8-bit conditional relative branch instructions (including DJNZ) fetch the displacement, even if the branch isn't going to be taken.

Original bug Symptom - Type in "10 PRINT CHR$(125)". There should be no syntax error, but there is!

(Fixed in another branch - must merge and check in).