Re: C 16 bit compiler

ArarghMail009@Arargh.com
Thu, 30 Sep 2010 03:42:04 -0500

          From comp.compilers

Related articles
C 16 bit compiler ilikequoting@katamail.com (Jack Smith) (2010-09-27)
Re: C 16 bit compiler efutch@gmail.com (Egdares Futch) (2010-09-28)
Re: C 16 bit compiler nmh@t3x.org (Nils M Holm) (2010-09-29)
Re: C 16 bit compiler cr88192@hotmail.com (BGB / cr88192) (2010-09-28)
Re: C 16 bit compiler gneuner2@comcast.net (George Neuner) (2010-09-29)
Re: C 16 bit compiler ArarghMail009@Arargh.com (2010-09-30)
Re: C 16 bit compiler ilikequoting@katamail.com (Jack Smith) (2010-10-01)
Re: C 16 bit compiler gneuner2@comcast.net (George Neuner) (2010-10-01)
Re: C 16 bit compiler gneuner2@comcast.net (George Neuner) (2010-10-03)
Re: C 16 bit compiler cr88192@hotmail.com (BGB / cr88192) (2010-10-06)
Re: C 16 bit compiler newshound1@digitalmars.com (Walter Bright) (2010-11-11)
Re: C 16 bit compiler prenom_nomus@yahoo.com (Marco) (2010-11-20)
| List of all articles for this month |
From: ArarghMail009@Arargh.com
Newsgroups: comp.compilers
Date: Thu, 30 Sep 2010 03:42:04 -0500
Organization: Ripco Communications Inc.
References: 10-09-027 10-09-033
Keywords: C, code
Posted-Date: 02 Oct 2010 12:52:27 EDT

On Wed, 29 Sep 2010 16:31:09 -0400, George Neuner
<gneuner2@comcast.net> wrote:


<snip>
>A first stage boot loader can only be up to one device block long.
Not really. While the BIOS or partition table loader will only load 1
block (of usually 512 bytes), there is absolutely no reason that the
first block can't just go and load as many more blocks as it wants to.
I have done that, usually in the partition table loader.


And, take a look at the boot sector for MS DOS 7.1 (The version that
hides under W98.)


>Because of this it would usually be written in assembler. It's
>possible to write one in C, but you have to be *EXTREMELY* careful
>about using any library functions. Still it would be difficult to get
>a useful C program to fit into a 512 byte floppy sector.
Very true. :-)


<snip>
--
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.