If enabling CSM in your BIOS isn't an option or isn't enough for FreeDOS, there is a translation layer that can get it to run on UEFI hardware: https://github.com/FlyGoat/CSMWrap
Another big problem for FreeDOS is the lack of sound card support. I do not know if anyone has solved that yet.