First post, by sabby
Hi all,
I would like to patch DosBox, but I don't really know where to start.
The goal is to code some kind of hook, that patches the executable (running in the DosBox-environment)
under certain circumstances on the fly.
For instance: Alter a JNE into a JMP when AX==0 or something like this.
I can't find the place in the DosBox - sources where the next CPU instruction is interpreted and then carried out.
(DosBox compiled with heavy-debug provides logging every CPU instruction of the executable, this lets me I hope that an 'on the fly patching' shouldn't be too hard.)
Can anyone please give me a hint where to look in the DosBox sources in order to add this feature ?
Greetings
sabby