Dump IO poort in BlueMSX

Page 2/2
1 |

Par M2X_E1

Rookie (26)

Portrait de M2X_E1

31-08-2018, 12:52

Manuel wrote:

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

Par Grauw

Ascended (10679)

Portrait de Grauw

31-08-2018, 15:29

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.

Par Manuel

Ascended (19219)

Portrait de Manuel

31-08-2018, 21:50

Example of I/O watchpoint taken from the manual:

Quote:

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}

Par Vampier

Prophet (2405)

Portrait de Vampier

01-09-2018, 06:37

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.

Par Manuel

Ascended (19219)

Portrait de Manuel

01-09-2018, 09:22

Better make one on the topic of I/O watchpoints then! Tongue

Par edoz

Prophet (2458)

Portrait de edoz

01-09-2018, 11:30

Thanks! i will try to have a deeper look into the I/O watch-points. Maybe that would be helpfully for me.

Par Vampier

Prophet (2405)

Portrait de Vampier

01-09-2018, 20:30

good idea Smile I'm collecting ideas... requests are welcome

Page 2/2
1 |