211bsd.git
7 years agoFix a potential bug in lib/c1 where struct ftconst was not compatible with struct... master origin/master
Nick Downing [Wed, 22 Feb 2017 14:04:14 +0000 (01:04 +1100)]
Fix a potential bug in lib/c1 where struct ftconst was not compatible with struct tconst, symptom was in some cases short float constants were treated as zero

7 years agoFix minor type width stuff in lib/ccom, makes offsets signed in assembly output
Nick Downing [Fri, 10 Feb 2017 13:05:38 +0000 (00:05 +1100)]
Fix minor type width stuff in lib/ccom, makes offsets signed in assembly output

7 years agoFix compile warnings in lib/ccom
Nick Downing [Tue, 7 Feb 2017 13:31:27 +0000 (00:31 +1100)]
Fix compile warnings in lib/ccom

7 years agoRemove forgotten debugging statement in lib/ccom, reinstate n.sh build script
Nick Downing [Tue, 7 Feb 2017 12:50:30 +0000 (23:50 +1100)]
Remove forgotten debugging statement in lib/ccom, reinstate n.sh build script

7 years agoTidy up FP emulation in C compiler with nice front-end routines like fp_long_to_doubl...
Nick Downing [Tue, 7 Feb 2017 05:19:10 +0000 (16:19 +1100)]
Tidy up FP emulation in C compiler with nice front-end routines like fp_long_to_double() rather than register-level FP-11 emulation, although the register-level emulation is still used to some extent in the FP backend, also change the definition of _FLOAT and _DOUBLE in libcross, although it isn't used in compiler yet

7 years agoMake size, strip, checksys use libcross, move strip back to bin, back out changes...
Nick Downing [Wed, 11 Jan 2017 14:09:56 +0000 (01:09 +1100)]
Make size, strip, checksys use libcross, move strip back to bin, back out changes I had made to include and libc to partially provide the functions of libcross

7 years agoMake strcompact, symcompact, symdump, symorder use libcross, move back to ucb
Nick Downing [Wed, 11 Jan 2017 12:54:04 +0000 (23:54 +1100)]
Make strcompact, symcompact, symdump, symorder use libcross, move back to ucb

7 years agoMake ar, nm and ranlib use libcross
Nick Downing [Wed, 11 Jan 2017 11:39:02 +0000 (22:39 +1100)]
Make ar, nm and ranlib use libcross

7 years agoMake libcross read/write routines work properly, make ld.c use libcross
Nick Downing [Wed, 11 Jan 2017 10:21:53 +0000 (21:21 +1100)]
Make libcross read/write routines work properly, make ld.c use libcross

7 years agoImplement build-time zone info compilation, not tested yet, implement libcross which...
Nick Downing [Tue, 10 Jan 2017 16:04:13 +0000 (03:04 +1100)]
Implement build-time zone info compilation, not tested yet, implement libcross which defines a subset of the target's libc with everything prefixed by cross_

7 years agoFix further build issues, temporarily disabled build-time zone info compilation
Nick Downing [Sat, 7 Jan 2017 11:58:41 +0000 (22:58 +1100)]
Fix further build issues, temporarily disabled build-time zone info compilation

7 years agoFix further minor build issues
Nick Downing [Sat, 7 Jan 2017 10:47:36 +0000 (21:47 +1100)]
Fix further minor build issues

7 years agoGet kernel compile working again with a new script p.sh, now builds everything
Nick Downing [Sat, 7 Jan 2017 09:59:23 +0000 (20:59 +1100)]
Get kernel compile working again with a new script p.sh, now builds everything

7 years agoFix various Makefile/script issues to make everything build properly from clean
Nick Downing [Sat, 7 Jan 2017 09:32:04 +0000 (20:32 +1100)]
Fix various Makefile/script issues to make everything build properly from clean

7 years agoCan now build usr.bin
Nick Downing [Sat, 7 Jan 2017 06:54:39 +0000 (17:54 +1100)]
Can now build usr.bin

7 years agoCan now build everything up to and INCLUDING ucb
Nick Downing [Sat, 7 Jan 2017 06:04:34 +0000 (17:04 +1100)]
Can now build everything up to and INCLUDING ucb

7 years agoCan now build everything up to ucb
Nick Downing [Fri, 6 Jan 2017 13:28:47 +0000 (00:28 +1100)]
Can now build everything up to ucb

7 years agoMake depend work (mostly) for host compiler, make libraries compile for target
Nick Downing [Thu, 5 Jan 2017 15:59:57 +0000 (02:59 +1100)]
Make depend work (mostly) for host compiler, make libraries compile for target

7 years agoTidy up C compiler by introducing _(UNSIGNED_)(INT|LONG) types to handle host differe...
Nick Downing [Thu, 5 Jan 2017 11:06:33 +0000 (22:06 +1100)]
Tidy up C compiler by introducing _(UNSIGNED_)(INT|LONG) types to handle host differences similarly to how the a.out/nlist stuff works, fix minor bugs I introduced, make C compiler and some other tools compile properly under pdp11 define

7 years agoAdd o.sh for building just the target, get make depend working at top level
Nick Downing [Thu, 5 Jan 2017 08:53:36 +0000 (19:53 +1100)]
Add o.sh for building just the target, get make depend working at top level

7 years agoTidy up the manipulation of on-disk a.out, nlist and ranlib structures, getting rid...
Nick Downing [Thu, 5 Jan 2017 08:14:57 +0000 (19:14 +1100)]
Tidy up the manipulation of on-disk a.out, nlist and ranlib structures, getting rid of a lot of cruft and fixing a bug I introduced in the ld.c mget() function

7 years agoFirst release, added readme.txt
Nick Downing [Wed, 4 Jan 2017 05:33:25 +0000 (16:33 +1100)]
First release, added readme.txt

7 years agoFix minor linkage and symbol table issues, now generates identical kernel
Nick Downing [Wed, 4 Jan 2017 04:02:51 +0000 (15:02 +1100)]
Fix minor linkage and symbol table issues, now generates identical kernel

7 years agoCan now build kernel, not tested
Nick Downing [Wed, 4 Jan 2017 02:18:48 +0000 (13:18 +1100)]
Can now build kernel, not tested

7 years agoImproved system build script (and individual build scripts for development)
Nick Downing [Tue, 3 Jan 2017 07:18:38 +0000 (18:18 +1100)]
Improved system build script (and individual build scripts for development)

7 years agoFix ranlib and linking problems, add a hello world program for testing
Nick Downing [Tue, 3 Jan 2017 06:15:36 +0000 (17:15 +1100)]
Fix ranlib and linking problems, add a hello world program for testing

7 years agoFix various bugs, convert more Makefiles, can now build C library, not tested
Nick Downing [Tue, 3 Jan 2017 04:42:35 +0000 (15:42 +1100)]
Fix various bugs, convert more Makefiles, can now build C library, not tested

7 years agoAdded lorder and ranlib to cross toolchain, started on include and libc, it makes...
Nick Downing [Mon, 2 Jan 2017 15:20:35 +0000 (02:20 +1100)]
Added lorder and ranlib to cross toolchain, started on include and libc, it makes some progress with libc but bombs out due to what seems to be a linker bug

7 years agoFirst try at cross toolchain, compiles but not tested yet
Nick Downing [Mon, 2 Jan 2017 04:36:48 +0000 (15:36 +1100)]
First try at cross toolchain, compiles but not tested yet

7 years agoInitial commit of an unmodified 2.11BSD source tree taken from a boot tape.
Nick Downing [Sun, 1 Jan 2017 03:19:07 +0000 (14:19 +1100)]
Initial commit of an unmodified 2.11BSD source tree taken from a boot tape.

Unpacked from http://www.tuhs.org/Archive/PDP-11/Distributions/ucb/2.11BSD:
7263558ebfb676b4b9ddacc77da464c5  file7.tar.gz
77397e6d554361c127592b1fea2d776f  file8.tar.gz

The root of this repository is /usr/src on a running 2.11BSD system.
The boot tape file7.tar.gz provides /usr/src/include and /usr/src/sys.
The boot tape file8.tar.gz provides everything else in /usr/src.