Since DOSBox commit 4196, DOSBox has added support for a volume system called overlay. This is similar to Boxer's shadowing system. Perhaps migrating the current shadowing system to DOSBox's overlay might trim down on some code from Boxer.