Example: Hardware breakpoint with OllyDbg v1.10
Determine the Host(win32) address for the memory value of intrest
and add the bHardware_Breakpoint stuff to the DEBUG_HeavyIsBreakpoint() function
Open DOSBox.exe in Olly.
Symbols (dosbox.pdb) should load automatically, if in the same directory.
Set a "hardware breakpoint on read/write" at "host" address With Olly.
When the hardware breakpoint triggers, set bHardware_Breakpoint to 01 with OllyDbg, using the "Memory" Window.
(If the dosbox.pdb file is loaded Olly will know the address of the label bHardware_Breakpoint )
Disable the hardware breakpoint and resume execution of dosbox
The dosbox debugger should now be one instruction beyond the code that accessed the memory location.
Glad you liked it Qbix
I wrote it specifically to anwser the break on memory read question
IMO it contains info that people need to know to use a hardware breakpoint