Hello
i'm french, sorry for "the orthograph"
I will would create my new bootable kernel and i would it is able to launch .com and .exe programs (DOS) (i would make second ms-dos)
I have a big big big base (http://cpcdos.fr.nf/ see Photos) but i would re-write boot base..!!
I have 3 questions (with nasm or other) :
- How integrate all DOS functions[int21] (or emulation) with my simple bootable kernel (worked at home) ? a module ? include ? library ?
- If is possible to integrate DOS functions, how to read MZ headers DOS ?
- If is possible how to multitasking for execute this DOS programs independently (as DesqView!!!!!)
ps: i know freedos
FAVIER Sébastien
I have 3 questions
I have 3 questions
FAVIER Sébastien
Sorry for my bad bad English level, I'm young French studient ..
Sorry for my bad bad English level, I'm young French studient ..
Re: I have 3 questions
DOS MZ headers and DOS functions are well documented. For example, try MSDN or Ralph Brown's interrupt list. And if you already have a multitasking protected mode operating system, applying multitasking to DOS programs is straightforward. You will probably need to emulate the PIT and the keyboard, as many programs require it. Some programs will require DPMI.
Re: I have 3 questions
Hi,
Cheers,
Brendan
For 100% DOS compatibility, you'd need something a lot closer to whole system emulation. A large amount of DOS software (especially games) bypass DOS and mess with devices (video, sound, mouse, etc) directly.Gigasoft wrote:You will probably need to emulate the PIT and the keyboard, as many programs require it. Some programs will require DPMI.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.