Page 1 of 1

I have 3 questions

Posted: Sat Apr 19, 2014 6:35 am
by Cpcdos
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

Re: I have 3 questions

Posted: Sat Apr 19, 2014 7:07 am
by Gigasoft
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

Posted: Sat Apr 19, 2014 10:18 pm
by Brendan
Hi,
Gigasoft wrote:You will probably need to emulate the PIT and the keyboard, as many programs require it. Some programs will require DPMI.
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.


Cheers,

Brendan