1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-27 04:32:25 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Phil Budne
f707ff8815 db.s (debugger) fix typos that as7 complained about, add some comments 2016-03-22 22:32:36 -04:00
Phil Budne
7495163182 add a comment for ".NL" 2016-03-21 11:00:19 -04:00
Phil Budne
2d39e641df fix to allow assembly of dskres & dsksav 2016-03-21 11:00:19 -04:00
Phil Budne
eca41ba9dc fix init: was branching to absolute "1" after processing a message.
Top label is "l"!!
2016-03-21 11:00:19 -04:00
Warren Toomey
94fd5d49e0 I've restructured the alternative version of PDP-7 Unix so that the
source code is now in src/alt. All the files in src/sys and src/cmd
are only annotated versions of the files in scans/.
The build/Makefile has been updated so that it can build the
original PDP-7 Unix or the alternative version.
Phil has fixed the Graphics-2 code, so that there is no need to
have any #ifdef code in the original kernel.
2016-03-21 16:01:36 +10:00
Warren Toomey
f63ad33d10 This is the beginnings of a alternative version of the PDP-7 Unix
system which corresponds to a later development point, around mid-1971,
where the system had lost the "dd" directory and gained . and ..
entries. This is close to the system as described in
http://www.tuhs.org/Archive/PDP-11/Distributions/research/McIlroy_v0/UnixEditionZero.txt
except there are no pathnames.

To use this version: cd build; make alt; make altrun
2016-03-21 14:28:50 +10:00
Warren Toomey
2409028f15 Put back the original code from scans. 2016-03-20 08:42:26 +10:00
Warren Toomey
b232a4b1a6 Added simple code coverage output to a7out. Added a few ed comments. 2016-03-19 07:25:07 +10:00
Warren Toomey
202fbcefb6 Fixed ln to have three arguments. Use stdout not stderr. 2016-03-16 09:22:06 +10:00
Warren Toomey
7b5cd4a135 Changed init.s so that the new as7+cpp can process it. 2016-03-14 10:54:06 +10:00
rswier
a7b4608711 B compiler update
More progress
2016-03-13 03:41:14 -04:00
Warren Toomey
19f13c8107 Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-10 15:29:14 +10:00
Phil Budne
7815649556 changes to init.s to assemble 2016-03-10 00:11:20 -05:00
Warren Toomey
e28c9f1ee7 check.s comments 2016-03-10 15:06:08 +10:00
Warren Toomey
ca13ce503e Fixed some typos in check.s 2016-03-10 14:21:10 +10:00
Tom Everett
3889291fa0 corrected instruction 2016-03-09 18:50:25 -07:00
Tom Everett
8474c28e85 corrected symbol definition 2016-03-09 18:41:46 -07:00
Tom Everett
b27f348d3e corrected instruction in init.s 2016-03-09 18:39:33 -07:00
Phil Budne
6dfe914339 get ed to assemble without errors 2016-03-08 22:36:34 -05:00
Warren Toomey
3be45d4383 Moved opr.s to src/other as it is not a proper utility and wasn't in the scans. 2016-03-09 06:48:37 +10:00
Phil Budne
66a8168228 as.s starting to work! Add ops.s
replaced "sys write; 1; 0; 4" with "sys write; 1: 0; 4"
  In the scan it REALLY looks like three semis, but that makes NO sense!
2016-03-08 11:24:09 -05:00
Warren Toomey
286acea85b With src/cmd/as.s modified to use als (because a7out is broken) and removing
the definitions of . and .. from wktopr.s, I can now assemble cat.s with
the PDP-7 as and execute the resulting a.out file!
2016-03-08 20:05:14 +10:00
Warren Toomey
10a0983cc4 as.s typo. 2016-03-08 18:47:14 +10:00
rswier
28a98360a4 Successful first run of B interpreter!
I hand compiled hello.b into hello.s and assembled with the interpreter
and runtime library:
perl as7 --out a.out bl.s hello.s bi.s
2016-03-07 05:57:30 -05:00
Warren Toomey
cfafcad963 a7 is updated with Phil's stdin reading patch. I've written a few more
utilities and modified the v1 man pages for them. Fixed a typo (missing
line) in src/cmd/as.s.
2016-03-07 16:17:57 +10:00
Warren Toomey
575163a35a I wrote a test for the octal conversion routine, and I updated ds.s
with the comments that I wrote for the octal conversion.
2016-03-04 14:34:25 +10:00
Warren Toomey
ffbc0b1dab Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-03 19:48:03 +10:00
Warren Toomey
d3f6924a9c I fixed a few typos in ds.s and I made a pretend llss instruction in a7out. 2016-03-03 19:46:34 +10:00
rswier
011e30802c Fixed typos 2016-03-03 03:56:49 -05:00
Warren Toomey
aecf2cc4af Added some more comments to ds.s 2016-03-03 12:54:07 +10:00
Warren Toomey
e9398b2bd0 Added more comments to sys/cmd/init.s. 2016-03-03 11:27:20 +10:00
Warren Toomey
a351a527e6 Added more init.s comments 2016-03-03 09:52:17 +10:00
Warren Toomey
6547aa98be I've added fork() to a7out after adding some comments to src/cmd/init.s.
There is a test program to demonstrate fork working.
2016-03-03 09:23:48 +10:00
Phil Budne
6791efe25c update a comment in as.s 2016-03-02 10:04:35 -05:00
Warren Toomey
03cb447f95 Fixed a typo in src/cmd/chrm.s 2016-03-02 18:33:38 +10:00
Warren Toomey
9fcffe7e43 Merge remote-tracking branch 'origin/master' 2016-03-02 18:00:56 +10:00
Warren Toomey
a3d6090fe7 tools/as7: added syscalls chmod and chown, added auto-increment
locations, fixed a bug in character input, added several EAE
instructions. We now have cp.s, chmod.s and chown.s working.
2016-03-02 17:55:33 +10:00
Phil Budne
ed467cdb02 more comments 2016-03-01 19:31:01 -05:00
Will Senn
55e638c9fb resolved conflict 2016-03-01 10:18:55 -06:00
Warren Toomey
cd60f962c0 I found the type in cat.s and now original PDP-7 cat works with a7out! Yay! 2016-03-01 17:58:01 +10:00
Warren Toomey
e0557be899 src/cmd/cat.s: lots more comments added to the code. 2016-03-01 17:20:41 +10:00
Phil Budne
1d10561c7e a starting stab at as annotation 2016-03-01 01:42:37 -05:00
rswier
223b138412 Renamed lease.b to lcase.b
lcase.b is a filter program that converts upper to lower case, tabs to
spaces, and removes form feed and carriage returns.
2016-03-01 00:32:57 -05:00
Warren Toomey
714de5a7e1 I've added a single-step mode to tools/a7out and rationalised the debug output.
Some small changes to src/cmd/cat.s and wktcat.s to reflect the correct number
of arguments to open. Typos fixes to src/cmd/cat.s.
2016-02-29 16:47:13 +10:00
Warren Toomey
63223cfa7c Now that the PDF files have been transcribed and scanned in, I've moved
copies of them over into the src/ area so that we can add comments and
make other changes, while keeping the original OCR'd ones intact.
2016-02-29 06:40:15 +10:00
nw
7c46e5beef Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-02-28 07:53:59 +11:00
Warren Toomey
6d4bcda587 I've updated some of the Readme file to clarify that the code from the
scanned pages is owned by Novel and they have copyright on it. Everything
else is GPLv3.
2016-02-27 21:18:51 +10:00
nw
f261cd5da8 The scan shows this as chowner with scribble over the last two letters 2016-02-27 20:44:48 +11:00
Warren Toomey
da58308ae4 src/cmd/cat.s: More comments added, but still more to add. 2016-02-27 15:30:38 +10:00
Warren Toomey
73ea3c665b Hand-typed version of the cat source code with my own comments to
explain what it is doing.
2016-02-25 06:56:04 +10:00