delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/27/15:17:10

Message-ID: <004401bc533f$3d529a80$cef9c6c3@johans-dator>
From: "Johan Henriksson" <johan DOT he AT telia DOT com>
To: <djgpp AT delorie DOT com>
Subject: Re: Writing an OS
Date: Sun, 27 Apr 1997 21:13:56 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

from Johan Henriksson, Sweden    HTTP://come.to/jhewok  |
Primary mail: johan DOT he AT telia DOT com                  #UIN 12035895
Second: jhe75 AT hotmail DOT com    Third: johan_he AT yahoo DOT com
Leadprogrammer and FX-specialist at Real software
http://come.to/real_software
*************************************************************************
-----Original Message-----
From: arh14 AT cornell DOT edu <arh14 AT cornell DOT edu>
To: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: Tuesday, April 27, 1999 8:21 PM
Subject: Writing an OS


>Thomas Hruska said:
>
>> 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?  Build it on another computer, or just write in assembly and
>link in the stdlib, right?  Then just jump to it...what's so hard about
>that?  Now if you're writing an OS for a totally *foreign* computer with
>different instruction set, yes, you will be up a creek...

hahaha! Don't you forget about something here? Your new OS doesn't have to
work with interrupt and calls like DOS. If you would call DOS-commands
during Linux, what do you think would happen!? But you're right: Without any
DOS-calls, it would be possible. Sadly, printf() use them...

>
>> On top of this, you have to write disk drive controller code, HD
controller
>> code, figure out where everything will go in memory, etc.
>
>That's the yucky part...
>
>I have taken a look at the FreeDOS source and started hacking a bit at
>it, although I don't have much time to do so.  The "Gaz" site looks
>interesting...thanks for the links.
>
>Aaron
>

- Raw text -


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