1
0
mirror of https://github.com/DoctorWkt/unix-jun72.git synced 2026-02-13 03:24:42 +00:00
Commit Graph

255 Commits

Author SHA1 Message Date
warren.toomey
6b0ffc7fb3 And here is the ed tutorial from 6th Edition UNIX. 2008-05-18 00:22:06 +00:00
warren.toomey
1692be8f17 Added chdir and ed to the top-level Readme, to assist new users. 2008-05-18 00:21:15 +00:00
tim.newsham
7292bc1611 - proper syntax for depositing into SR. 2008-05-17 23:50:10 +00:00
tim.newsham
e99c4a3430 - Prefer Bob Supnik's pdp11_ke.c since it will be the official one.
had to move "d sr" to before "set ke enable" because of conflict with
  ke's "sr".  Notified Bob, hopefully this will go away.
2008-05-17 20:20:01 +00:00
tim.newsham
3d137ac204 - remove origin hack when installing sh.s and init.s
- build sh.s in src/cmd/mak
2008-05-17 17:53:41 +00:00
warren.toomey
b35ecb7838 Added Doug Merritt. 2008-05-17 07:57:06 +00:00
warren.toomey
0a1bda9a62 We can now create directories recursively. Not tested fully yet, but
seems to work.
2008-05-17 07:39:16 +00:00
tim.newsham
143fa275d3 - build is installing sources now. 2008-05-17 03:18:05 +00:00
warren.toomey
c014639d94 Patches from Sergey Poznyakoff, way back in 2001. powf() function may not be
present. struct termios may lack c_ispeed, c_ospeed members.
2008-05-17 02:37:44 +00:00
warren.toomey
1e6913550f This changes the number of swap blocks allocated per process from 17 to 33.
This should allow the kernel to swap out up to 16K per process, which goes
along with the increased address space size. There may be some other tweaks
to get a 16K address space working fully.
2008-05-17 02:35:41 +00:00
warren.toomey
27f2a0aa1f Added definitions for NPROC and SWPSIZ, so that we can tweak the number
of blocks reserved for swap at the end of the RF11. This goes with the
change to the ecore.patch, so that we can swap up to 16K of process
address space out to disk.
2008-05-17 02:31:35 +00:00
tim.newsham
5a17ecb231 - use the shell we build instead of the binary from s2. 2008-05-17 01:59:58 +00:00
tim.newsham
ff378c41df - added a patch to make shell functional, but not completely like the
s2 shell.
2008-05-17 01:58:53 +00:00
warren.toomey
53338838e9 I found the source to the C library buried on the last1120c-bits tape! 2008-05-15 04:19:02 +00:00
warren.toomey
66655be6e2 I added the APOUT_UNIX_VERSION variable, so we can recompile/reassemble
V2 source code and then run it, without having to muck with the magic.c.
2008-05-15 03:21:46 +00:00
warren.toomey
eab480f677 Yes, we can rebuild dc and form with the new assembler, but not fed. 2008-05-15 03:08:23 +00:00
warren.toomey
83266f0335 I missed fed out. 2008-05-15 02:38:29 +00:00
warren.toomey
84bec80a52 as21.s still had some cruft on the end. We can now assemble most of the
source. C files are out, they need a later language than the last1120c
compiler. We are missing some files for bas. The dc and form source uses
"new" instructions like mul and ashc, which the existing V1 "as" binary
does not understand, but the assembler in source code here does understand,
so these may still be assembled.
2008-05-15 02:30:58 +00:00
warren.toomey
547fef522b Doug Merritt has provided all of his reconstructed files, and Warren has
compared them to his set. Both sets had errors, and having the two was
immensely helpful. This commit checks in the new files and the ones from
Warren's set which needed to be modified to fix mistakes.
2008-05-15 01:41:16 +00:00
warren.toomey
45ebdd66d8 Warren and Doug Merritt have worked on rebuilding the code fragments from
the s1-bits tape. Doug has provided as11.s as12.s as13.s as14.s as15.s as16.s
as17.s as18.s as19.s as21.s as22.s as23.s as24.s as25.s as26.s as27.s as28.s
as29.s, and Warren has compared against his production, and against V5 (to
determine the correct trailing blank line). These files can be considered
authentic. The other file's are Warren's production only, so we need to
compare against Doug's versions to ensure correctness.
2008-05-15 00:59:49 +00:00
warren.toomey
98dab3fc19 A few changes to bring it into line with the new build structure. 2008-05-12 03:56:24 +00:00
tim.newsham
161b1b66a3 - mktape is kind of loud. tone it down a little. 2008-05-11 23:45:37 +00:00
tim.newsham
c05c8c0fb7 - oops, extra echo for debugging removed. 2008-05-11 23:41:39 +00:00
tim.newsham
04b6e66c29 - move usr/boot to fs/new. 2008-05-11 23:29:18 +00:00
tim.newsham
f72a89e9b8 - ml takes optional command line arguments. 2008-05-11 23:19:58 +00:00
tim.newsham
be64e87627 - Building the boot "bos" and "unix" into the rf0.dsk disk image now.
- update the simh.cfg to boot the real way.
- loadfile is no longer used.  we can think about getting rid of ml.c
  eventually.
2008-05-11 23:09:46 +00:00
tim.newsham
c5bc1102dc - fixaout.py overwrites a.out now instead of writing b.out. 2008-05-11 22:48:25 +00:00
tim.newsham
e92ef99b75 - generalize the building of 0405 binaries in anticipation of making
more of them soon.
2008-05-11 22:46:17 +00:00
tim.newsham
656be7063b - Added the boot stuff from James.
We may want to move the location of the various files at some point,
  but I wanted to make sure it got into the svn.
2008-05-11 22:00:02 +00:00
tim.newsham
9005bfe4ea - added top level "clean" and "clobber" rules.
- clean doesnt clean out tools, just intermediate build files.
    We can change this if people disagree with this approach.
2008-05-11 20:50:00 +00:00
tim.newsham
a5833b0774 - oops, botched this. cleaned up now. 2008-05-11 20:47:30 +00:00
tim.newsham
acacd8a523 - add a patch to sh.s which encapsulates the difference between it and
the s2 /bin/sh.
2008-05-11 20:43:41 +00:00
tim.newsham
658c7a46d2 - oops, I had resolved this difference as a typo already. 2008-05-11 20:30:10 +00:00
tim.newsham
ca609eba9f - oops, get rid of silly comment 2008-05-11 20:27:44 +00:00
tim.newsham
1702913bf3 - some notes on the jun72 shell. 2008-05-11 20:20:56 +00:00
tim.newsham
308e55b7b5 - typo removed. 2008-05-11 20:01:35 +00:00
tim.newsham
1232d59102 - ok, sh.s still not ready for primetime. globbing isnt working.
will test more next time before adding it.
2008-05-11 02:03:12 +00:00
tim.newsham
fca66172e8 - fix a bug in the sh.s code that was garbled in the printout.
- now installing sh.s as /bin/sh in the rf0 image.
2008-05-11 02:00:34 +00:00
tim.newsham
a25247dea0 - oops! wasn't building usr properly. 2008-05-10 19:12:43 +00:00
tim.newsham
d16352349c - Switching over from old build system to new build system
- build directory has a Makefile which does the building instead
    of using various scripts in tools.
  - top level Makefile builds tools and the build subdirectory
  - images get installed in an images directory
  - simplified build instructions documented in Readme
  - tape image no longer needed in svn.  built by build.
  - simh now references files in the images directory.
2008-05-10 19:08:02 +00:00
tim.newsham
66f8d30226 - Switching over from old build system to new build system
- build directory has a Makefile which does the building instead
    of using various scripts in tools.
  - top level Makefile builds tools and the build subdirectory
  - images get installed in an images directory
  - simplified build instructions documented in Readme
  - tape image no longer needed in svn.  built by build.
  - simh now references files in the images directory.
2008-05-10 19:07:00 +00:00
tim.newsham
caccd2668e - Switching over from old build system to new build system
- build directory has a Makefile which does the building instead
    of using various scripts in tools.
  - top level Makefile builds tools and the build subdirectory
  - images get installed in an images directory
  - simplified build instructions documented in Readme
  - tape image no longer needed in svn.  built by build.
  - simh now references files in the images directory.
2008-05-10 19:06:48 +00:00
tim.newsham
059f19a2ec - part of build system reorg. 2008-05-10 19:05:58 +00:00
tim.newsham
3f32e844d0 - Switching over from old build system to new build system
- build directory has a Makefile which does the building instead
    of using various scripts in tools.
  - top level Makefile builds tools and the build subdirectory
  - images get installed in an images directory
  - simplified build instructions documented in Readme
  - tape image no longer needed in svn.  built by build.
  - simh now references files in the images directory.
2008-05-10 19:02:57 +00:00
tim.newsham
ff6472244d - newbuild has an install target
- top level makefile ties everything together.
2008-05-10 18:44:02 +00:00
tim.newsham
df671333ca - oops, wrong text size in fixaout.py. Needs to accomodate the
extra 12 bytes of the a.out header that werent part of the text
  size before.
2008-05-10 18:33:06 +00:00
warren.toomey
4d820ab2f3 Add __APPLE__ for OS X. Remove -static for OS X. 2008-05-09 14:05:29 +00:00
warren.toomey
2a8296053d Warren decided that he didn't want to write a proper DC-11 device for Simh.
Instead, he has taken Tim's patch, and modified the pdp11_dl.c code so that
the address and the carrier detect can be set at runtime to behave like a DC11.
Here are the simh.cfg lines you need to add once you apply the KL.diff patch
to Simh:

set ttix en				; Enable DC/DL-11 device
set ttix lines=8			; We want 8 serial ports
set ttix address=17774000		; Set the address to be a DC-11
set ttix carrier=dc			; Turn on the DC-11 carrier detect bit
set ttox 7b				; Set output to be 7-bit, lowercase
att ttix 5555				; Attach serial ports to telnet 5555
2008-05-09 13:15:26 +00:00
tim.newsham
b7a15bfef6 - sh.s builds from sources now, but doesnt work entirely from login yet.
right now it installs into /bin/xsh for testing.
2008-05-08 04:57:18 +00:00
tim.newsham
5c7be9ff81 - more fixes for sh. 2008-05-08 04:49:45 +00:00