Just an idea: have you already granted sd card r/w permissions from Global Settings? From the main menu, tap the cogwheel, then Global Settings, then Request permissions. You can select your external sd from the Android file dialogue, and give write permission to Magic Dosbox.
That’s a security feature Google introduced a while ago. Without it, games that want to write stuff to disk will act weird.