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 Japheth Homepage, Germany (South), 12.04.2025, 16:58

> Now I'd like to know how to patch (skip) this IO access at runtime by some
> TSR or loader as I cannot patch the EXE coz it's encrypted or packed by
> unknown exe packer... Speedsys checks for V86 mode and complains about it
> (can run but very limitest tests available)

That's tricky in real-mode. You could perhaps use normal "execute" hw breakpoints? You have to find out the offset of the "OUT 22,al" instruction (relative to PSP:0), and a TSR might then set such a bp before the program starts. When the bp is triggered, to be safe, checking the 2 bytes at CS:IP might be a good idea...

---
MS-DOS forever!

 

Complete thread:

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