Thanks Tom. I have developed several DOS device drivers in 1990 decade and a ROM BIOS written in C. All that you say its true, the BIOS and it services you mentioned (INTxx) are used by DOS in a similar way that a paravirtulized OS does. This fact simplifies the migration of DOS to other platform. But, what happen with devices not supported by the BIOS, such as network interface cards? A device driver must be loaded by DOS to suppport it. Most Unikernels can run a single process in kernel-mode o privileged mode. A unikernel based on FreeDOS could have these same properties, but networking support is an unavoidable requirement. Regards. PAP
________________________________ De: tom ehlert <t...@drivesnapshot.de> Enviado: martes, 2 de marzo de 2021 19:01 Para: Technical discussion and questions for FreeDOS developers. <freedos-devel@lists.sourceforge.net> Asunto: Re: [Freedos-devel] FreeDOS as a unikernel? > Hi Guys. I am working on several unikernels on Linux (not over > QEMU, KVM, XEN or any other emulator/hypervisor) using Linux > system calls and the virtualization facilities offered by the > Linux kernel. Would there be any interest in modifying freedos > so that it can run on Linux and its virtual devices instead > of running on real hardware (as User Mode Linux does) ? it looks like you have not much of a clue what DOS does. it's not DOS that's making problems to your emulation, because DOS does so little. DOS doesn't run on 'real hardware'. It runs on anything that provides some - well documented - services behind INT13 (disk IO), INT10 (video), and INT15 for memory management (and some few more). beyond that, it provides very little support for anything. and all of it is only basic functionality; in particular of all the interesting things in INT10, only 'position cursor', 'print character at cusor' and 'print string at cursor' are used. so each application had to code it's own interrupt handler for serial communication memory management beyond 640k many more stuff I/O port stuff which are beyond kernels reach Soundblaster ! good luck with emulating that Tom _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel