Dump IO poort in BlueMSX

Página 2/2
1 |

Por M2X_E1

Rookie (26)

Imagen del 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

Por Grauw

Ascended (10623)

Imagen del 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.

Por Manuel

Ascended (18961)

Imagen del 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}

Por Vampier

Prophet (2397)

Imagen del 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.

Por Manuel

Ascended (18961)

Imagen del Manuel

01-09-2018, 09:22

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

Por edoz

Prophet (2445)

Imagen del 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.

Por Vampier

Prophet (2397)

Imagen del Vampier

01-09-2018, 20:30

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

Página 2/2
1 |