www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/30/14:00:43

From: "John Owens" <Unknown AT primary DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SOL DOT 3 DOT 91 DOT 990427134359 DOT 3388A AT travelers DOT mail DOT cornell DOT edu> <372637F4 DOT 921 AT erols DOT com>
Subject: Re: Writing an OS
Date: Fri, 30 Apr 1999 02:22:34 -0500
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: 209.223.93.169
Message-ID: <37295d73.0@news.primary.net>
X-Trace: 30 Apr 1999 02:36:19 -0600, 209.223.93.169
Organization: Primary Network. http://www.primary.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well i seen this book and i think it use djgpp and a 32bit asm. It comes
with the book.. The book is out of print, but should be easy to find on net.
Look for Developing Your Own 32-Bit Operating System. I heard alot of good
things about this book..

John S. Fine <johnfine AT erols DOT com> wrote in message
news:372637F4 DOT 921 AT erols DOT com...
> arh14 AT cornell DOT edu wrote:
>
> > > I also hate to burst your bubble, but you can't use the
> > > printf() statement in an OS unless you write your own low level
version.
> >
> > Bah!  If you are writing for an x86 system and have x86 code, why can't
> > you use it?
>
>   It depends what you mean by "use it".  I just read both extremes
> on this question and I think the answer lies somewhere in between.
> I am sure you can use DJGPP's printf in your own OS (technical
> opinion, not legal opinion).  The problem is that if you simply
> call DJGPP's printf other routines in DJGPP's stdlib will get
> called directly or indirectly.  Some of those routines can't
> run in your new OS (unless you build in a lot of int21h support
> in your OS).
>
>   Using printf and many other routines from DJGPP's stdlib may be
> the easiest way to get such routines into your OS, but you do
> need to figure out which low level routines you must replace
> (the free source code makes that pretty easy).  Replacing those
> low level routines isn't trivial, but it is probably easier than
> writing from scratch printf and many of the other parts of stdlib
> that you may want to use.
> --
> http://www.erols.com/johnfine/
> http://www.geocities.com/SiliconValley/Peaks/8600/


- Raw text -


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