From: Eduardo Pereira Habkost <ehabkost@conectiva.com.br>
To: David Given <dg@cowlark.com>
Cc: linux-8086@vger.kernel.org
Subject: Re: Future of ELKS
Date: Fri, 21 May 2004 10:24:25 -0300 [thread overview]
Message-ID: <20040521132425.GP24490@duckman.distro.conectiva> (raw)
In-Reply-To: <40AD4286.1090801@cowlark.com>
[-- Attachment #1: Type: text/plain, Size: 4020 bytes --]
On Fri, May 21, 2004 at 12:43:02AM +0100, David Given wrote:
> Eduardo Pereira Habkost wrote:
> [...]
> >1. Create a good development environment that runs on elks (we don't
> > have it). This environment will have all limitations that the 8086
> > hardware will impose to us
> >2. Make elks build using it
> >
> >IMHO, this would be almost impossible.
>
> Well... no!
>
> People these days are used to very big computers. You don't realise just
> what's possible in a small amount of space. The granddaddy of Unix
> systems, the PDP11 [*], was a 64kB-64kB I/D system. Sound familiar?
> That's exactly the same as what's supported by ELKS.
>
> As for compilers... well, I have a full ANSI C compiler that runs on
> CP/M. It runs in 64kB of memory shared between code and data and it'll
> generate moderately decent Z80 code. If that's possible, then a
> self-hosted ANSI C compiler for ELKS is certainly possible.
>
> The problem is *finding* one... compilers are expensive technology, and
> there's only a few open-source compilers around. Most of them are pretty
> large. ELKS' current compiler, bcc, is a well-hacked version of Minix's
> compiler. It only supports K&R, with a nasty preprocessor that converts
> ANSI to K&R, but it will run self-hosted on Minix so it should run on
> ELKS, too.
>
Okay, that is not *really* impossible. Not technically impossible.
The question is: we have people that can do it?
What I mean is: do we want and have people that could do the work
of making or porting a good compiler work on the 8086?
As you said: compilers are expensive, or in other words: this require
lots of work. The question is: we have enough people that would do this
work? Technically, this *is* possible, you are right, but my question is:
the ELKS project is interested in spending efforts directed to creating a
good development environment (read: a good compiler, a 'make', linker,
and their friends, and that makes the work of creating and porting
applications not so expensive) that runs on ELKS? This environment could
be the better we can do for the 8086, but it could have limitations
that the "bloated" tools (*hint* GNU *hint*) don't have (yes, yes,
I know someone can make a "perfect" system that do wonderful things,
but we still don't have it). I would like to know if we want this.
> And a development environment is not that complicated. All you need is
> to be able to run make, the compiler front end, and the compiler back
> end, concurrently. Add in init and that makes four processes. If each
> one of these uses its maximum of 128kB of memory that means it'll need
> 512kB of memory. That's pushing it on a 640kB system, what with the
> kernel and system workspace in there, but manageable. On a 286 with a
> real MMU it's easy.
What I mean by "development environment", is what I said above: a good
compiler a 'make' or similar tool, a linker, and their friends. It is not
so complicated, but someone should code it. Do we have people that can
do this? If someone wants to do it, he is very welcome. But do we want
to spend efforts doing this? Will it be worth? I don't know. For me it
is not worth, just because I don't want to run a compiler on my 8086,
but someone could really want it, who knows?
Anyway, if we want to take this way, someone should work on that
development environment, or the project would stop again.
>
> If Minix can do it, with its slow and inefficient microkernel, ELKS can
> certainly do it.
>
> [...]
> >Hey, someone know if a 8086 is fast enough run emulators for those old
> >8-bit game consoles? 8)
>
> Nah. A 4.77MHz 8086 does not get a lot of work done. Say you want to
> emulate a 2MHz 6502, such as the BBC Micro... this means you have about
> two and a half cycles to emulate each 6502 cycle. Just not possible.
Ohh, sad. I should forget it.
>
>
> [*] Or maybe the PDP7. I always get the two confused.
>
--
Eduardo
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-05-21 13:24 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-19 20:55 Future of ELKS Miguel Bolanos
2004-05-20 3:39 ` I'm in Void
2004-05-20 14:47 ` Miguel Bolanos
2004-05-20 11:42 ` Javier Sedano
2004-05-20 15:15 ` Miguel Bolanos
2004-05-20 15:37 ` Eduardo Pereira Habkost
2004-05-20 16:06 ` Andrey Romanenko
2004-05-21 5:51 ` Dan Olson
2004-05-20 17:30 ` Javier Sedano
2004-05-21 8:32 ` Gábor Lénárt
2004-05-21 14:15 ` Jody
2004-05-24 9:29 ` Gábor Lénárt
2004-05-24 18:20 ` Alan Cox
2004-05-20 23:43 ` David Given
2004-05-21 1:04 ` Stefan de Konink
2004-05-21 3:39 ` Chad Page
2004-05-29 16:58 ` Gregg C Levine
2004-05-21 5:55 ` Dan Olson
2004-05-21 6:08 ` Jody
2004-05-21 13:24 ` Eduardo Pereira Habkost [this message]
2004-05-21 16:30 ` David Given
2004-05-21 16:59 ` Michael McConnell
2004-05-22 12:12 ` David Given
2004-05-22 17:29 ` Chad Page
2004-05-21 18:38 ` Jody
2004-05-22 8:53 ` jb1
2004-05-22 17:00 ` Chad Page
2004-05-24 9:42 ` Gábor Lénárt
2004-05-20 16:54 ` Javier Sedano
2004-05-21 5:50 ` Dan Olson
2004-05-21 9:08 ` Arnaldo Carvalho de Melo
2004-05-21 10:24 ` Alan Cox
2004-05-24 12:20 ` Gábor Lénárt
-- strict thread matches above, loose matches on Subject: below --
2004-05-20 13:40 Pat Gilliland
2004-05-21 17:53 ` Miguel Bolanos
2004-05-20 20:18 Tommy McCabe
2004-05-24 13:17 BODRATO Stefano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040521132425.GP24490@duckman.distro.conectiva \
--to=ehabkost@conectiva.com.br \
--cc=dg@cowlark.com \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox