Ivan Kosarev

Results 47 comments of Ivan Kosarev

This bit: ``` error: [Errno 13] Permission denied: 'C:\Python311\Scripts\z80-script.py' ``` looks like a problem with the Python setup itself. Can you install any packages into that folder at all? Another...

Does running `pip install --upgrade setuptools wheel` before installing `z80` help?

> Installing collected packages: wheel, setuptools WARNING: Failed to write executable - trying to use .deleteme logic ERROR: Could not install packages due to an OSError: [WinError 2] The system...

Changing the code to update all nodes on every round leads to more failures on xf and yf even without round-level shuffling. Because updating rounds essentially quantify propagation of signals,...

After 912d1bf, it seems we now can formally prove that at least what concerns the A and F register values, Patrik and Woody were right. ``` $ ./z80sim.py ccf reg_f3...

Hmm, the simulation indicates that not all instructions updating flags cause the following `scf/ccf` to set flags 3 and 5 to A instead of (A | F), e.g., `cpl` and...

Simulation indicates that whether the corresponding bits of F participate in the values of flags 3 and 5 of `scf`/`ccf` depends on the opcode the instruction latch contains at the...

> This clearly needs some more looking into it. https://github.com/kosarev/z80/issues/51#issue-1410254943 may probably explain this.

I understand we currently implement the CMOS behaviour. For NMOS, yes, we may need to change the way we initiate interrupts by letting the emulator know when `~INT` is going...

That's what the emulator actually does; all the keyboard/tape handling is in Python. I guess it would be a good idea to add some documentation, examples and tests as well...