delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/14/11:03:01

Message-ID: <19971114160149.10091.qmail@hotmail.com>
From: "John Patton" <gimli21 AT hotmail DOT com>
To: djgpp AT delorie DOT com
Cc: michaelm AT dataplusnet DOT com
Subject: Re: Boot Code / OS
Date: Fri, 14 Nov 1997 08:01:49 PST

>I am thinking about programming a VERY primitive operating system.  I 
don't
>really have any goals for it, I just want to learn more about 
computers,
>operating systems, and C.  For now, I want to be able to put it on a 
disk
>some how so when I start the computer, it boots from the floppy.  I 
have
>heard from people on IRC about writing to the bootsector or firstsector 
on
>the floppy, but I can't find any info on the internet about how to
>accompilish this.  Could someone post some code and/or internet 
resources
>related to this topic (C code or well commented ASM).  What format do I 
use
>to write, what utilities do I use to do the writing?  (If it helps, I
>program on a computer running Windows 95/98.)
>
>Also, could you post some good OS programming pages.  Most of the ones 
I
>find with search engines are either just describing OS's or have links 
to
>pages that have links to pages that have links...
>
>Right now I know C pretty well.  Hopefully, this little 'project' of 
mine
>will help me learn more of the lower-level functions.  And, since I 
don't
>know much about ASM, I will probably learn lots about ASM too.  You are
>probably thinking how I am going to do this since I don't know ASM, but 
I
>started to program my first game when I knew very little about C...but
>that's another story.  :)
>
>Well, anyway, thanks for everything,
>Mike

Bill Currie posted this earlier.  I have looked at the sources and 
they're not bad.  This should help you out dramatically:

You're in luck.  Check out my kernel sources available from 
http://www.abwillms.demon.co.uk/prog/kernel2.zip (look at 
http://www.abwillms.demon.co.uk/prog/index.htm at the bottom for 
more info).

I hope this helps,

Johnny P.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- Raw text -


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