Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

debugxv - how to use I/O watchpoint? (Users)

posted by RayeR Homepage, CZ, 08.04.2025, 10:44

I'd need to set a breakpoint ideally on any I/O port access (without specifying address of out instruction as I don't know all the locations in debugee) - can it be achieved with debugxv /v via v86 IO traps?
I tried to set BP at specific address with out instruction of type 02 - I/O watchpoint by command
BP xxxx:yyyy 02
BP confirmed it was set
then go
but program didn't stopped at breakpoint and run till the end.
I tried to add code to set CR4.3=1 (DE) as mentioned in readme but didn't help.
If I set BP with type 00 (code) it stops as expected at given address.
Debugee is now just a simple RM COM program with few byte outs for this test but I need to debug a PM program where I need to watch out port writes. Also I may need watch RD/WRMSR...
Or any else debugger capable do this (need to be run on real HW not inside VM)?

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22397 Postings in 2076 Threads, 400 registered users, 108 users online (2 registered, 106 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum