nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: nanoX for ELKS
From: Alistair Riddoch
Date: Wed, 19 May 1999 22:24:59 +0100 (BST)

Greg Haerr writes:
> 
> Al,
> 	I have completed running the nanox source thru bcc in 16 bit mode,
> and I've got the whole thing to compile.  (I'm using my new version of bcc that
> compiles ansi c with no preprocessing...)
> 
> 	In addition, I'm using a newly written ega/vga driver, written in C only,
> that also compiles.  (It runs on DOS, I haven't got an EGA card in my elks box yet)
> I'm also using the std kbd driver, which uses termios.  The mouse driver is still
not
> implemented, but I'm working on one, and it should work.
> 
> 	I have a few pertinant questions, and I'll be able to ship you a nano-X
> tree that will completely compile, and hopefully run on ELKS!
> 
> 	1. Does ELKS support select()?  We need select() for the mouse_fd and
> keyboard fd, (serial and console tty) -OR- we can write a polling driver entry
> point...

The current version inCVS does, which will be released soon. The last
release does not.

> 
> 	2. Does ELKS support the various termios modes?  Of course, no echo
> and ~ICANON are required.

Yes to some extent. I am working on this code at the moment.

> 
> BTW, the nano-X executable on ELKS is 35k text and 6k data for a grand total of 41k!!

Cool, about what I would expect. Not prohibitively big. How much more
functionality will be added to nano-X aftet this release? Will it get much
bigger?

I have become very adept at hand optimising code for elks so i can probably
get a much smaller binary sorted eventually.

Al

nanogui@linuxhacker.org