Detecting DOSBox from within the Box

Look forward to the movie adaptation of this post, which is just three hours of me reading DOSBox and DOSBox-X source code.

Read in full here: