Curious. How exactly does one build embedded applications for FreeDOS? What languages/compiles can I use?

Check Open Watcom v2[1], which is still actively developed. Also the JWasm[2] - FOSS alternative to MASM.

[1] https://github.com/open-watcom/open-watcom-v2

[2] https://GitHub.com/JWasm/JWasm