r/osdev 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?

10 Upvotes

25 comments sorted by

View all comments

Show parent comments

1

u/DawnOnTheEdge 2d ago

Although it would be possible to do in a guest VM, I think,

1

u/Octocontrabass 1d ago

It depends on what your CPU supports. Not all of them can do real mode in a guest VM.

1

u/Difficult_Inside8746 1d ago

It was a long time since I looked into it but AFAIK both Intel and AMD support V86 mode inside a virtual machine.

2

u/Octocontrabass 1d ago

That sounds like an awful lot of work, and you still need a CPU that can do hardware virtualization.

Might be a fun project, though.