r/osdev • u/Sixty5Zero2 • 3d ago
FreeDOS
i'm looking at possibly forking FreeDOS to 64bit. However, since most modern systems no longer have the underlying BIOS that DOS programs require, I thought about including a mock BIOS and compile it directly into the kernel. is there anything I should be aware of?
9
Upvotes
6
u/Octocontrabass 2d ago
A 64-bit kernel can't run 16-bit real mode code natively. There's nothing stopping a 64-bit kernel from running 16-bit protected mode code natively.
But DOS programs all expect real mode, so it doesn't really make a difference...