-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable 'hooks' for out and in instructions #56
Comments
Hi Morten, for input there's Alternatively, if you disassemble instructions (like in #55), you could just catch |
Hey, |
Just one comment. Yes it would be very useful to have a set_output_callback as it would allow me to emulate IO devices! I've already had to do some hacking in order to capture data written to the display:
But as mentioned I am very happy with the project as it helps me move forward with bringing an old and forgotten computer to life.. |
27af8c1 adds the support for |
Just a quick comment. However I do get a segmentation fault (on macos) if I run the emulator without registering the output callback. |
Oops. Fixed in 99ef518. |
Hey
I am using this emulator to help revive an old Z80 based minicomputer (Q1 Lite).
I have modified the single_stepping.py example to created a disassembler and also a use it to run the code (have 8 ROM images that I can load).
Now it seems like I am likely to get stuck on the out and in instructions.
Do you have a hint on how I could emulate an IO device. For example by having a python function called
on every in and out instruction?
Thanks for the project
Morten
The text was updated successfully, but these errors were encountered: