First post, by markot
I got some old computer programs I need to patch and I would like to do it using the DEBUG program which ships with MS-DOS. I know the bytes which to change in EXE files and have tested it using HEX editor. Now I need to make a BAT file that patches the EXE file, but I can't find any examples on the web how to do it.
So I would need an example how to make a BAT file that starts DEBUG which loads EXE into memory, patches the bytes at certain locations and writes the changes to disk.