delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/13/12:42:00

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: OS Loader
Date: 13 Dec 2000 17:32:44 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 16
Message-ID: <918brs$iri$1@nets3.rz.RWTH-Aachen.DE>
References: <917e4i$8in$1 AT serv1 DOT iunet DOT it>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 976728764 19314 137.226.32.75 (13 Dec 2000 17:32:44 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 13 Dec 2000 17:32:44 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

MarcoCorelli AT gtwparc DOT padova DOT ccr DOT it wrote:
> Hi All,

> I write an Operative System Loader for loading WinCE. I need to load 
> MS-DOS loading IO.SYS an launch it. 

That's not a very good plan, I suspect. What you really should do is
load a copy of the MS-DOS *boot* code (i.e. a harddrive or floppy boot
sector) to same the fixed address the BIOS would have putit (0x70:0000
IIRC), and execute that (it's entry point is right at the front).  It
will then find IO.SYS on the hard disk and it already knows how to
execute it, so you don't have to worry further.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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