emm386 in C?
Imre Leber <[email protected]>
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
Recently i did some investigation to add VCPI support to emm386. So i
searched on google in order to learn enough of protected mode to add the
missing support.
In one of the site i found were some very interesting tutorials by Alexei A.
Frounze. You can find it at:
http://members.tripod.com/protected_mode/alexfru/pmtuts.html
All of this stuff is written in C with VERY litle assembly.
One of them (tutorial 15) is especially very interesting because it puts the
computer in V86 mode and lets you run all your real mode programs. I tried
it, it works.
This proves that you can write an emm386 almost completely in C, and i think
that is what we should do also. This would make it a lot easier for people
to contribute to, and it does not even mean that it will be that more slower
(look at the FreeDOS kernel).
Anyway all his stuff is released under the GNU GPL and is all written in
turbo c 2.01 and NASM.
Imre