1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-04-27 12:38:51 +00:00
Commit Graph

74 Commits

Author SHA1 Message Date
Tom Everett
d6cef57b84 include pd, rn, rm into build and image 2019-10-18 21:06:44 -06:00
Tom Everett
0c99e42347 fixed typos in adm.s 2019-10-18 18:25:03 -06:00
Tom Everett
6d7398b2f6 fixed apr.s
and added to build
2019-10-18 18:16:19 -06:00
Tom Everett
0e9e447ada added sh.s to build
fixed dsw.s typo
2019-10-18 18:13:08 -06:00
Tom Everett
5323c3791b further refactoring
plus compile instructions for the existing commands that need fixes
2019-10-18 17:30:56 -06:00
Tom Everett
ff1fde3e9f added stat and tm to build 2019-10-18 17:02:41 -06:00
Tom Everett
db0f9946f3 further refactoring 2019-10-18 16:49:52 -06:00
Tom Everett
9eb2724cab further refactoring 2019-10-18 16:44:58 -06:00
Tom Everett
ac1c46e29b refactoring source tree
refactored sources into directory per binary in order to prepare for moving more complex, multi-file, programs onto source tree
2019-10-18 16:39:18 -06:00
Phil Budne
31c7b81032 cas comments 2016-03-29 11:42:55 -04:00
Phil Budne
e29d8fca30 ed comments 2016-03-25 22:55:21 -04:00
Phil Budne
7ae26994e9 db.s: add a fix from Warren 2016-03-25 20:01:11 -04:00
Phil Budne
b5d50297d1 fix another jmp/jms (in cadvanc) 2016-03-25 19:18:38 -04:00
Phil Budne
97021996db ed1.s: fix "jmp putsc" in "w" command to "jms putsc" 2016-03-25 19:18:38 -04:00
Phil Budne
fb84d1fc9c ed2.s: dskbuf was only 1 word: should be 1024!! 2016-03-25 18:11:39 -04:00
Phil Budne
cb3104a8a8 ed comments 2016-03-25 18:02:59 -04:00
Phil Budne
5567d705d5 ed comments 2016-03-25 15:51:55 -04:00
Phil Budne
33783128a2 ed comments 2016-03-25 15:06:02 -04:00
Phil Budne
0e13d1f23b as.s: replace quizzical comment with explanation 2016-03-24 22:15:41 -04:00
Phil Budne
e51acda631 Add comments to "dmabs.s" 2016-03-24 13:39:47 -04:00
Phil Budne
7743f613d3 split cas.s into cas.s and cas.x; get cas.s to assemble; add comments 2016-03-24 00:44:22 -04:00
Phil Budne
75724ae570 db.s comments 2016-03-24 00:21:03 -04:00
Warren Toomey
70d3f91e64 Import the new ed*.s source code from scans. 2016-03-24 09:20:27 +10:00
Warren Toomey
d5eb2a6b96 Removed ctrl-Ms and added a newline at the end. 2016-03-23 22:27:36 +10:00
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