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, 09.04.2025, 11:19
(edited by RayeR on 09.04.2025, 11:32)

> It's restricted to what the hardware supports. And the hardware allows
> "ranges" of 1,2 or 4 (+8 in x64 mode) only.

OK, I understand, 4 HW breakpoints only. I guess if it could use some wider IO bitmap like for port trapping e.g. in VSBHDA...
So best I can do is to check range of 16 IO ports at one time, it would require run more times...

BTW when an IO watchpoint is hit debugxv displays code of next instruction after in/out - did it already executed it or it stop before in/out is performed? It would be nice, if possible, to stop before in/out is done and display the code starting with this instruction so I could see it without using unassemble command and skip it if needed.

> > And please could you to extend r command to be able.directly R/W CRx
> regs?
>
> That may be added to the DebugR variants ...

Or at least some command or commandline switch to enable DE bit in CR4 or set it automatically when someone define an IO watchpoint, I had to write my own tiny COM program to do it and run before starting debugx so better to have it in one tool...

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

 

Complete thread:

Back to the forum
Board view  Mix view
22477 Postings in 2087 Threads, 400 registered users, 116 users online (0 registered, 116 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum