www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/06/15:54:45

Date: Fri, 07 Feb 1997 09:37:43 +0000
From: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Subject: Re: Any one writing OS in DJGPP? (reply, NightTiger...)
To: Fabian Nunez <faybs AT iafrica DOT com>
Cc: djgpp AT delorie DOT com
Reply-to: billc AT blackmagic DOT tait DOT co DOT nz
Message-id: <32FAF7E7.FE0@blackmagic.tait.co.nz>
Organization: Tait Electronics NZ
MIME-version: 1.0
References: <32E14858 DOT 4CF6 AT concentric DOT net> <32E50EE7 DOT 3F54 AT CS DOT ColoState DOT edu>
<32EA9DBA DOT AF0 AT cam DOT org> <5cphom$73u$9 AT celebrian DOT otago DOT ac DOT nz>
<5ctmm7$hkt$1 AT proxy01 DOT iafrica DOT com>

Fabian Nunez wrote:
> How to do it? quite simple actually.  I downloaded Bill Currie's boot loader
> (unfortunately I can't remember where from, but I think I got the address from
> this list, so it should be in the searchable archive at delorie.com).  This

Poke around http://www.abwillms.demon.co.uk/ it's there somewhere (one
or two levels).

> has a makefile that invokes the linker directly so all the standard libraries
> (these are the bits that need DOS) are ignored. Of course, this means that
> you'll have to write EVERYTHING yourself.  But then again, you *are* writing an
> OS, right? :) Beware though, the program copyboot has a bug in it, namely the
> biosdisk() call has two parameters switched around.  It doesn't show up with
> the teeny demo program, but it had me tearing out my hair when triple faults
> kept on resetting my system, seemingly at random...

That one had me stumped for a day or two.  All my code fit on the first
track, 
but the data went into lulu land and caused all sorts of weirdies to
occure (my 
system tables were built at compile time).

I will soon be posting my updated code to Alaric (maybe even today,
depends on my
modified djasm).  It has the above bug fixed and a much better demo
program.

Bill
-- 
Leave others their otherness.

- Raw text -


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