On Sun, Sep 07, 2008 at 02:22:57PM +0200, phcoder wrote:
> 4) DOS/Win9x and freedos. Especially the second one. They use extended
> chainloader functionality found in grub4dos. With rmkern loading freedos
> kernel should be really easy.
Since FreeDOS is free software, we could fix it to use Multib
Vesa Jääskeläinen wrote:
> It is true that code is withing grub's i386 kernel. But other than that
> same mechanism can be used to load kernel. After all kernel will take
> over the computer after it has started and it is not returning back
> anymore (eg. stack is not anymore there to be restored)
phcoder wrote:
> Well sometimes it's similar but most of the time isn't because your code
> runs a code in RM but with hope returning back to PM and normal grub
> operation. And it also loads to quite fixed place. My code would load a
> kernel, that means that it will not return and so code can be
Well sometimes it's similar but most of the time isn't because your code
runs a code in RM but with hope returning back to PM and normal grub
operation. And it also loads to quite fixed place. My code would load a
kernel, that means that it will not return and so code can be loaded to
any place not
phcoder wrote:
> I checked the archive found the thread "Idea: Move kernel to upper
> memory". But what is discussed there is much more general about general
> memory layout. Here I wanted to speak about just one function.
> Vladimir 'phcoder' Serbinenko
Try: [PATCH] Move assembly code out of the
I checked the archive found the thread "Idea: Move kernel to upper
memory". But what is discussed there is much more general about general
memory layout. Here I wanted to speak about just one function.
Vladimir 'phcoder' Serbinenko
Robert Millan wrote:
> On Fri, Sep 05, 2008 at 07:27:51PM +0200, ph
On Fri, Sep 05, 2008 at 07:27:51PM +0200, phcoder wrote:
> Hello. A long time ago I written a C+asm code which loads any given code
> at any real-mode location, then puts machine in correct state and then
> launches the kernel. I can modify this code to suit GRUB2. Then loading
> realmode kernel wo
BTW. This helper would allow easy addition of many different kernels
(freedos, haiku, ntldr, ...)
Vladimir 'phcoder' Serbinenko
phcoder wrote:
> Hello. A long time ago I written a C+asm code which loads any given code
> at any real-mode location, then puts machine in correct state and then
> launch