All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: We have a whole new ton of goodies to investigate...
@ 2015-04-26 21:22 u-vpoa
  2015-04-26 23:31 ` Alan Cox
  0 siblings, 1 reply; 14+ messages in thread
From: u-vpoa @ 2015-04-26 21:22 UTC (permalink / raw)
  To: linux-8086

[reading the list archive, that's why this is not a proper thread reply]

Alan Cox wrote 16 Apr 13:49 2015
> > Thanks for the interesting info about various toolchains for Fuzix. I 
> > wonder why you include x86_16 target in the Fuzix challenge, as ELKS is 
> > already playing on that ground, but that is your baby, so...
> 
> I built the core that way mostly to check it compiled. Just portability
> testing.

I wonder, if Fuzix is sufficiently portable to run on 8086, could it
happen to offer a possibly even more suitable foundation for a usable
system, than the linux-derived code in ELKS?

I did not follow ELKS development over the years but it seems to be
a "from scratch" effort.

To compare, I saw once a fully functional BSD 2.9 kernel ported to 8086,
compatible with Venix/86 userspace and toolchain, which might have been
a more efficient (?) starting point too. Too bad, I think the port
is lost.

In other words, starting from a more limited (8-bit) or similar (16-bit)
platform might work better than "scaling down" from a 32-bit system.

The availability of the sources changed radically since the time when
ELKS was started. Now we have got even some pieces of Coherent/86.

> There certainly was
> plenty of stuff in ELKS that was taken from 386 Linux and is perhaps
> somewhat over-engineered for the job (buffer cache is perhaps one bit
> still)

I guess so. Sigh. The original V7's or even V6's quite basic design might
possibly suit 8086 better (I did not look at the ELKS kernel but I saw
V6/7 sources and also pieces of Venix/86 kernel which were apparently
build from literally the same C code, this seemed to work well).

> Going to multiple-segments for code isn't too difficult providing you
> don't follow every detail of pointers to function, but just stick to
> arrays of function pointers or function pointers within segment, but
> always seems to me like admitting defeat 8)

:)
The possiblity to use larger code makes life so much easier, without any
extra complexity in the compiler. Unfortunately there still are limits,
the total number of trampolines which are to fit in every code segment
and the size of a single function. Nevertheless it is very handy!

Rl


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: We have a whole new ton of goodies to investigate...
@ 2015-04-16 11:14 LM
  2015-04-16 11:39 ` Alan Cox
  0 siblings, 1 reply; 14+ messages in thread
From: LM @ 2015-04-16 11:14 UTC (permalink / raw)
  To: Linux-8086

Has anyone looked into using OpenWatcom with Elks?

http://www.openwatcom.org/index.php/Main_Page

http://sourceforge.net/projects/openwatcom/

I've used Watcom before it was Open Source as my compiler of choice
and I still find occasion to work with it even now.  It supports C,
C++ and Fortran on a variety of platforms.  It's the only decent 16
bit C++ compiler I've been able to find.  The Open Source version
added a program/front end so one could use a command line similar to
the gnu compiler and more gnu autotools/make scripts would work with
it without needing major modifications.

^ permalink raw reply	[flat|nested] 14+ messages in thread
* We have a whole new ton of goodies to investigate...
@ 2015-04-03 20:40 Alan Cox
  2015-04-15 17:10 ` MFLD
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Cox @ 2015-04-03 20:40 UTC (permalink / raw)
  To: ELKS

http://www.nesssoftware.com/home/mwc/source.php

And in the Coherent tree there isn't just the 386 release but the 286
release and all the compiler and tool chain pieces plus all the
utilities, manuals, etc. The dump seems to include 8086, 286 and 386
compilers and assemblers but not an 8086/286 linker.

Alan

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-04-27 14:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-26 21:22 We have a whole new ton of goodies to investigate u-vpoa
2015-04-26 23:31 ` Alan Cox
2015-04-27  7:06   ` u-vpoa
2015-04-27 10:53     ` Alan Cox
2015-04-27 12:30       ` u-vpoa
2015-04-27 13:35         ` Alan Cox
2015-04-27 14:44           ` u-vpoa
  -- strict thread matches above, loose matches on Subject: below --
2015-04-16 11:14 LM
2015-04-16 11:39 ` Alan Cox
2015-04-03 20:40 Alan Cox
2015-04-15 17:10 ` MFLD
2015-04-15 21:41   ` Alan Cox
2015-04-16  7:35     ` MFLD
2015-04-16 11:49       ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.