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
ac6e7470cf
disk buffer comments (and comments about a mystery)
2016-03-22 21:29:46 -04:00
Warren Toomey
42c7a240ed
I wrote a version of od.
2016-03-23 11:14:01 +10:00
philbudne
98178099de
Merge pull request #60 from philbudne/master
...
shell fixes
2016-03-22 20:22:22 -04:00
Warren Toomey
58ea0b0b2c
I'm working on a better ls for the alt system, but a few bugs.
2016-03-23 10:13:01 +10:00
Phil Budne
3c70f48fe8
pbsh.s: read full blocks (readc) so "sh <commands" works!
...
(outputs prompts: I don't see a way to implement "isatty")
2016-03-22 20:07:20 -04:00
Phil Budne
921d8e57cf
pbsh.s: comments
2016-03-22 20:07:20 -04:00
Phil Budne
2d8ee26e03
fixes: handle blank line, 8 character filenames, semi
2016-03-22 20:07:20 -04:00
Warren Toomey
3a52b3d74b
I've got mkdir working in the alt system. I had to allow the dir bit
...
in the permissions mask in creat, through.
2016-03-23 09:57:20 +10:00
rswier
9f69fc62da
Cleanup
...
Minor code cleanup
2016-03-21 22:13:32 -04:00
Warren Toomey
5f4e420e63
I converted some of the ls code into routines. No change in functionality.
...
I updated a7out with better sys status handling.
2016-03-22 09:19:30 +10: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
164125be7e
sys comments
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
Phil Budne
c1ef96a723
wake up init with smes before exiting
2016-03-21 11:00:18 -04:00
Warren Toomey
dee1695759
Hmm, not sure why these didn't get added before ...
2016-03-21 16:39:52 +10:00
Warren Toomey
b001734e8f
I've moved a copy of my ls.s into alt, so there are no files left with
2016-03-21 16:37:26 +10: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
6b9151d3e3
Print out an error message if ls is given a name that doesn't exist.
2016-03-20 21:03:53 +10:00
Warren Toomey
d1885214ce
Fixed a bug when we had to skip a direntry with a zero i-num.
2016-03-20 09:26:55 +10:00
Warren Toomey
2409028f15
Put back the original code from scans.
2016-03-20 08:42:26 +10:00
Phil Budne
053aedcf95
s7.s: fix sna/sma confusion that caused hangs in display PI code
2016-03-19 00:51:07 -04:00
Warren Toomey
64a118cb4a
More kernel notes.
2016-03-19 11:05:37 +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
956bd28ac1
Added the inum field. No idea why it didn't get picked up in the previous
...
two commits.
2016-03-18 19:55:33 +10:00
Warren Toomey
72322c23b2
A few more ls comments.
2016-03-18 19:53:47 +10:00
Warren Toomey
9483300758
sys status returns 13 words, the last one holds the i-number.
2016-03-18 19:47:05 +10:00
Phil Budne
46d6586481
fix chdir typo!
2016-03-18 02:11:37 -04:00
rswier
c35b1e2add
Replace badd/uind with vector
...
vector instruction now used for array referencing. I had overlooked it.
Also, minor cleanup.
2016-03-18 01:33:47 -04:00
Warren Toomey
b8b1ac5d95
I changed ls to have a directory as an optional argument.
...
This allows it to work when we don't have .
2016-03-18 10:25:45 +10:00
Phil Budne
89356e9aea
sys (display) comments
2016-03-17 00:08:28 -04:00
Phil Budne
f91b929d90
fix/add sys comments
2016-03-17 00:08:28 -04:00
Phil Budne
ac94df5d48
update shell comments
2016-03-17 00:08:28 -04:00
rswier
b3b868ed50
Ported B compiler b.c to b.b.
...
Ported B compiler b.c to b.b. It is able to compile itself. Hints are
in the comment block.
2016-03-16 01:46:35 -04:00
Warren Toomey
3c3f946794
Added hello to the proto file.
2016-03-16 11:38:09 +10:00
Warren Toomey
320dd0418f
Add missing dput to .rename
2016-03-16 11:24:56 +10:00
Phil Budne
fe48c8cdc8
system comments
2016-03-15 20:48:42 -04:00
Warren Toomey
9f536032b0
Fixed stat so it works.
2016-03-16 09:42:44 +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
6c5b207aba
I uncommented Phil's code so that we can run binaries from system now.
2016-03-16 06:38:56 +10:00
Warren Toomey
1bee26fba1
Fixed the daynum value in the date output.
2016-03-16 06:17:39 +10:00
Warren Toomey
f64b3f0799
Added code to skip over directory entries with i-num zero.
2016-03-16 06:08:53 +10:00
Warren Toomey
b4891828de
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2016-03-16 05:37:25 +10:00
Warren Toomey
00c2de0292
I bit the bullet and implemented "." in the filesystem. I've changed the proto
...
file to put the binaries in system. I added a few more checks to fsck, and I fixed
a few bugs in src/other/wktls.s.
2016-03-16 05:36:22 +10:00
Phil Budne
b94ca04259
sop.s: add comment for "cdf" IOT
2016-03-15 06:53:15 -04:00
Phil Budne
ab76e46005
sys: add comments
2016-03-15 06:53:04 -04:00
Warren Toomey
4073baba05
Fix transcription error in s2.s link.
2016-03-14 20:19:48 +10:00
Warren Toomey
cd7befb2de
More kernel comments: link.
2016-03-14 18:26:36 +10:00