ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/21/13:15:22

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Loading boot sector to memory
Date: 21 Apr 2002 17:11:05 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 13
Message-ID: <a9urr9$6qn$1@nets3.rz.RWTH-Aachen.DE>
References: <a9umfc$rgq3 AT imsp212 DOT netvigator DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1019409065 6999 (21 Apr 2002 17:11:05 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 21 Apr 2002 17:11:05 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jacky Luk <luckie AT netvigator DOT com> wrote:

> According to the above, how do you setup the registers for loading boot
> sector to memory (GAS or GCC)?

In DJGPP, you shouldn't usually do that at all, but rather call the
biosdisk() or _bios_disk() function which does it for you.

Or, if you really want to do it yourself, consult how _bios_disk()
itself is implemented (look into the DJGPP libc sources).
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