After having created an executable with qb45, I would like
to be able to compare the new executable with an older one
made sometime before(code verification). I attempted this
by using the dos file compare (fc) command. I used a hex
editor to compare the two executables. On nearly each subsequent
run I found that there were individual byte differences occurring.
Sometimes, it would be only a couple bit differences in several
different bytes. I already determined that the date-time stamp
is not at issue, as I compiled, then recompiled another day with
the exact same results.
My goal is to compare the newly compiled executable qb45 file, with
the 'known good' pre-existing executable.
So, with the forementioned information, my questions:
Why are the executables different? Is this due to different versions
of DOS environments with their associated macros in which the original
compile and subsequent compiles were performed?
Also, since the executables are different, is there some precompile
operations that can be performed like a RAM block fill or something
to properly initialize memory space?
I have thought of doing a running histogram by comparing byte by byte
the differences that occur between the old and new compiled files.
This would at least give me some information as to the nature of what's
really going on. But if someone out there knows the qb45 compile and
link environment, knows the answers to these questions, I would like
to know about it.
thank you for your time.