Better use I/O watchpoints for that...
I can't see these in openmsx or bluemsx. are they add-ins?
I could be mistaken, but would the emulators have a 256 byte array to hold the current value of the port (where it was written by the cpu or by an emulated connected device)? If we could access the 256 byte array/buffer at various intervals then it might prove to be quite useful.
Regards
You should read the openmsx manual and the debug command reference. What you need is already there. Using the console commands and TCL scripts for more advanced behaviours.
Example of I/O watchpoint taken from the manual:
break after a write was done to I/O port 0x99, but only when Z80 register A has a value of 0x81:
debug set_watchpoint write_io 0x99 {[reg A] == 0x81}
https://www.youtube.com/watch?v=6MvhuTiLJqc
Hi Manuel I don't make these tutorials to be ignored :P easier than reading and figuring out yourself.
Better make one on the topic of I/O watchpoints then!
Thanks! i will try to have a deeper look into the I/O watch-points. Maybe that would be helpfully for me.
good idea I'm collecting ideas... requests are welcome