www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/17/08:20:03

Message-ID: <37B90B11.1270C85A@home.com>
From: Mark & Candice White <mhewii AT home DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: OS/BIOS dependencies in libc
References: <7p5j2b$akj AT newsops DOT execpc DOT com>
Lines: 41
Date: Tue, 17 Aug 1999 07:11:14 GMT
NNTP-Posting-Host: 24.0.127.127
X-Complaints-To: abuse AT home DOT net
X-Trace: news.rdc1.mi.home.com 934873874 24.0.127.127 (Tue, 17 Aug 1999 00:11:14 PDT)
NNTP-Posting-Date: Tue, 17 Aug 1999 00:11:14 PDT
Organization: @Home Network
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Chris Giese wrote:

> I would like to find all DOS and BIOS dependencies in the libc. This
> is of interest to people writing their own OS or using GCC for
> embedded systems (no OS, maybe no BIOS).
>
> Is there a list of such functions already available? Failing that,
> what should I look for in the libc source? Maybe look for all
> occurences of "__dpmi_int"? Anything else?
>
> Thanks
>
> --
> geezer@    | Sales rushes in where
> execpc.com | Engineering fears to tread
> pmode tutorial: http://www.execpc.com/~geezer/os

This is to all who are looking into making OSs.

Though you might not find the answers to your questions,
you will find others working on similar projects at:
alt.os.assembly  and   alt.os.development

Your question also turns into a 'chicken and the egg' type
thing when you see that libc mostly boils down to OS calls.

Groman's response is right as far as my looking has went.
I use djgpp and nasm as my tools. I altered lib/djgpp.djl,
specs and wrote my own bootloader crt0 and a mostly empty
libc. This way I can compile my kernel or test apps as
'gcc kernel.c', then copy the output to my floppy and boot.

I don't have all the links I've found helpful, or any of my
code, up yet. I do have some good links on my home page
that you may find helpful.
--
Mark & Candice White
System programming hobbyists.
http://members.home.net/mhewii/welcome.htm


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019