Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build kernel 3.2.0 from sources

61 views
Skip to first unread message

Udo Munk

unread,
Nov 8, 2018, 6:08:20 PM11/8/18
to
I've build a 3.2.0 system with kernel sources and build a bootable kernel.
The disk image with the PCem VM is available here:

https://www.autometer.de/unix4fun/coherent/ftp/vms/

If you want to modify/build your own kernel reading of the DDK 1.2
manual is suggested. The manual is available here:

https://www.autometer.de/unix4fun/coherent/ftp/manuals/

I have not seen anyone using the sources and building it, might be a bit
difficult to figuring everything out from the MWC source dump. Now the
grunt work is done, so that anyone interested can work on the kernel
with a working development system already setup.

Is quite interesting to figure out all this features COHERENT 'doesn't have',
like swapping, shared code segments, etc. and that even on the Intel 286 ;-)

Enjoy,
Udo

Udo Munk

unread,
Nov 16, 2018, 3:11:08 PM11/16/18
to
I have added enough from the 3.2.1 COHERENT sources to the 3.2.0 development
disk, that a COHERENT system can be build from the sources on a second hard disk,
so that the build hard disk boots in single and multiuser mode.

So far kernel, drivers, and most /conf and /etc stuff is build, just enough /bin
user commands so the system build from 3.2.1 sources boots. I have used
the newer 3-stage boot code using 4byte block numbers, so that it can boot
8086 binaries, 286 l.out kernels as well as 386 COFF kernels from anywhere
on a 500MB disk, same as the 4.x systems.

The plan of course is to add the whole 3.2.1 sources, so that the complete
COHERENT 3.2.1 system can be build. The filesystem layout is the same as
with a 3.x DDK, the build scripts are under /usr/sys and all MWC COHERENT
sources are under /usr/src/sys. So a DDK manual can be used, but instead
of a DDK only we will have the complete source kit.

Udo Munk

unread,
Nov 27, 2018, 4:37:22 PM11/27/18
to
I have updated the 3.2.0 development disk, it includes almost all /bin and /usr/bin
sources now too, including the development tools. The 3.2.1 disk build from this
it self can be used now as development system, at least it builds /usr/games stuff.

The RCS repositories for the sources are included as well as rcs binaries, so that
one can read the release history with rlog, or checkout other revisions with co
etc.

frasc

unread,
Nov 28, 2018, 2:45:17 PM11/28/18
to
Thanks so much! Your work is very much appreciated.

Udo Munk

unread,
Nov 28, 2018, 5:22:20 PM11/28/18
to
On Wednesday, November 28, 2018 at 8:45:17 PM UTC+1, frasc wrote:
> Thanks so much! Your work is very much appreciated.

You are welcome, is quite interesting and fun for me to get the old bits
into working state again.

BTW, the 3.2.0 disk image also boots with Qemu 3.0.0 under OSX and Linux,
Windows probably too.
Additional to the VGA console it has a vt100 terminal emulation connected
to com1, which can be enabled for another terminal.

Udo Munk

unread,
Dec 5, 2018, 3:40:13 PM12/5/18
to
I've uploaded a new 3.2 development disk image. Had to move /usr/src/sys with the MWC sources
to an own partition to have enough disk space for the build system.

Added more sources for /bin and /usr/bin, should be very complete now other than
uucp and some other less essential stuff.

Added sources for the system libraries and build whole system with the v321 headers/libraries
in place, looks good.

This is a pretty complete 16bit UNIX V7 compatible system with all sources included, which
can build it self.

Have fun messing with the system,
Udo

Udo Munk

unread,
Dec 10, 2018, 5:54:52 AM12/10/18
to
I've uploaded a new disk image that includes all 321 sources, the whole system can be build now.
One exception is the old HDB uucp, some of the library sources weren't released, so this can't be
build.

I've also added a few commands like nohup, id and the like from the transition to 386 COHERENT,
these also build on the 286 system.

Then I added a few of the ported games to /usr/local, so that one can test compiler, roff and so
on with some software on the build target system.

Enjoy,
Udo

Udo Munk

unread,
Feb 1, 2019, 4:42:44 AM2/1/19
to
I have uploaded a new disk image with the 321 sources with
many improvements.

All of the available device drivers can be build now, most
are for totally outdated hardware though. Still interesting
is the SCSI support, PCem does emulate an Adaptec 154x, which
can be used with the 3.2 release. I had to build an installation
floppy disk, the 3.0 distribution can only be installed on
systems with ST-506 harddisks.

Then /usr/local is populated with some more of the software I
enjoyed using a quarter century ago.

Enjoy,
Udo

Nils M Holm

unread,
Feb 1, 2019, 6:20:36 AM2/1/19
to
Thanks, Udo!

In enjoyed exploring the DEC-2018 version a lot and I look
forward to having a look at this one, too. I saw rogue, which
is great! I think I have a slightly improved version somewhere
which offers in-game help, an identify command, and other
goodies. It might compile under 3.x.

BTW, here's the URL to Udo's distributions, for those whose
feeds no longer carry the original post:

https://www.autometer.de/unix4fun/coherent/index.html
--
Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org

Udo Munk

unread,
Feb 1, 2019, 7:49:12 AM2/1/19
to
There are newer rogue versions, but these won't compile
on 16bit UNIX's within a 64KB code segment. I also left
a rogue highscore file so that you guys can beat me,
rogue -s to see how far I got ;-)

Nils M Holm

unread,
Feb 2, 2019, 8:02:02 AM2/2/19
to
Udo Munk <udo....@freenet.de> wrote:
> There are newer rogue versions, but these won't compile
> on 16bit UNIX's within a 64KB code segment.

Tried and my version does compile on Coherent 3.2! :)

I might put it on my homepage some day. And/or, if
you wish to include it in the distribution, I can
mail you a copy.

Anyway, it's really fun to do some hacking on Coherent
again. Programming in those days was so much simpler
and so much more fun!

> I also left
> a rogue highscore file so that you guys can beat me,
> rogue -s to see how far I got ;-)

Currently 10 levels away from beating you...

Udo Munk

unread,
Feb 2, 2019, 4:31:30 PM2/2/19
to
On Saturday, February 2, 2019 at 2:02:02 PM UTC+1, Nils M Holm wrote:

> Tried and my version does compile on Coherent 3.2! :)

Cool.

> I might put it on my homepage some day. And/or, if
> you wish to include it in the distribution, I can
> mail you a copy.

Please mail a copy. I also can put it into the repository if you
like, there is a section for new/revised software.

> Anyway, it's really fun to do some hacking on Coherent
> again. Programming in those days was so much simpler
> and so much more fun!

Yep, great fun to use the old bits again. Way back then I had no
time to exploit the 3.x release anymore when the 32bit stuff became
available.

Udo Munk

unread,
Feb 5, 2019, 12:55:32 PM2/5/19
to
On Saturday, February 2, 2019 at 10:31:30 PM UTC+1, Udo Munk wrote:
> On Saturday, February 2, 2019 at 2:02:02 PM UTC+1, Nils M Holm wrote:
>
> > Tried and my version does compile on Coherent 3.2! :)
>
> Cool.
>
> > I might put it on my homepage some day. And/or, if
> > you wish to include it in the distribution, I can
> > mail you a copy.

I have put a copy here for others to use:
https://www.autometer.de/unix4fun/coherent/ftp/new/3.2/

Nice to see something new done on the old systems.

Udo
0 new messages