First post, by merser
Hi,
I am working through Peter Nortons Assembly language book for the IBM and there is a project that is built as you proceed called dskpatch which allows inspecting sectors of a disk and editing them.
I have been using dosbox to test as I don't have original hardware that this book was written for(8088/86). What I am having trouble with is the program assembles and links ok. This I have verified in hexedit. But it fails to run correctly because dosbox loads it into memory 100h higher than is required. This affects memory holding variables and any LEA instruction.
I have been using hexedit to correct the com file addresses but as the project has grown it has become tedious.
Could anyone suggest why the com is loaded at 0200h offset instead of 0100h offset which I believe is the normal loading address for dos binary executables?
Or any workaround that doesn't involve me changing contents of a multitude of memory addresses after each incremental change?