Thread overview
DMC for OS stuff?
Jan 10, 2004
Robert M. Münch
Jan 10, 2004
Walter
Jan 11, 2004
Robert M. Münch
Jan 11, 2004
Walter
January 10, 2004
Hi, I think I asked it once but couldn't find my old post:

Is it possible to use DMC to generate flat binary files with no relocations, headers or any other information? I want to be able to write a "simple kernel" that can be loaded by GRUP.

If someone has an example please let me have a look :-)) Thanks.

-- 
Robert M. Münch
Management & IT Freelancer
http://www.robertmuench.de
January 10, 2004
"Robert M. Münch" <robert.muench@robertmuench.de> wrote in message news:opr1jyf3lyum5vd8@news.digitalmars.com...
> Hi, I think I asked it once but couldn't find my old post:
>
> Is it possible to use DMC to generate flat binary files with no relocations, headers or any other information? I want to be able to write a "simple kernel" that can be loaded by GRUP.

Those are generated by the linker. The linker can do it for 16 bit files, they're called "COM" files.


January 11, 2004
On Sat, 10 Jan 2004 11:55:31 -0800, Walter <walter@digitalmars.com> wrote:

> Those are generated by the linker.

Hi, yes of course. Sorry.

> The linker can do it for 16 bit files, they're called "COM" files.

Ok, so no 32 bit support?

Can someone enlight me a bit about a tool chain that uses DM tools for OS stuff? I want to play around and test some implementation things.

-- 
Robert M. Münch
Management & IT Freelancer
http://www.robertmuench.de
January 11, 2004
"Robert M. Münch" <robert.muench@robertmuench.de> wrote in message news:opr1lxanb9um5vd8@news.digitalmars.com...
> On Sat, 10 Jan 2004 11:55:31 -0800, Walter <walter@digitalmars.com> wrote:
>
> > Those are generated by the linker.
>
> Hi, yes of course. Sorry.
>
> > The linker can do it for 16 bit files, they're called "COM" files.
>
> Ok, so no 32 bit support?
>
> Can someone enlight me a bit about a tool chain that uses DM tools for OS stuff? I want to play around and test some implementation things.

It wouldn't be hard to write a program to map a PE onto a flat file. Use dumpexe to see the layout.