Ivan Kosarev

Results 16 comments of Ivan Kosarev

Hi Temmie, sorry for answering late. Yes, the Python version seems to be in Python 2. Just filed #3 to provide a Python 3 implementation. As to the second question,...

It depends on what you are going to achieve. The two likely most common tasks about Unicode are making a given sequence to be string-safe by removing the quote characters...

Yes, comparing to these Unicode-specific encodings mentioned, escapeless is a different animal. It is most efficient when you need to strip certain characters/bytes from a stream by the cost of...

If I take the idea right, sure, there should be no problem to use escapeless in the middle of a chain of Unicode-specific encodings. As to representation of binary data,...

Yes, given by `Unicode or JSON compatible string` you mean Unicode-safe binary-to-text and text-to-binary encodings, and not just emitting raw binary data to strings.

Well, escapeless wouldn't allow you to exclude those special characters, if that's what you mean, because it has to be in the middle of the encoding chain, that is, it...

It can strip off even more characters, it just won't be efficient comparing to other approaches. Answering your question, the thing is that removing certain characters in binary data doesn't...

What a nice catch! I'm playing with our new shiny transistor-level simulator, https://github.com/kosarev/z80/blob/c6ad460108c514df05f47e568b1ca0ea77e12705/tests/z80sim/z80sim.py, trying to understand what is supposed to happen in silicon on `HALT`. Clearly the address bus freezes,...

(This was originally discussed in a private email thread; I replicate the response here for visibility.) Hi Morten, If you just want to verbalise the instruction that is about to...

Right, `on_set_pc()` does not look to be the best handler to catch breakpoints. And I have doubts about `on_fetch_cycle()` and even `on_m1_fetch_cycle()`. `on_step()` maybe? But it won't stop at 40150...