Dump IO poort in BlueMSX

Page 2/2
1 |

By M2X_E1

Rookie (21)

M2X_E1's picture

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

By Grauw

Ascended (8451)

Grauw's picture

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.

By Manuel

Ascended (15750)

Manuel's picture

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}

By Vampier

Prophet (2297)

Vampier's picture

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.

By Manuel

Ascended (15750)

Manuel's picture

01-09-2018, 09:22

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

By edoz

Prophet (2172)

edoz's picture

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.

By Vampier

Prophet (2297)

Vampier's picture

01-09-2018, 20:30

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

Page 2/2
1 |