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
rswier
5581e20ade
Allow separate compilation of B files
...
Label namespace change so that separate compilation of multiple B files
is possible.
2016-03-24 05:00:36 -04:00
Phil Budne
c6f7a7799d
start of a paper tape bootstrap to read system from disk
2016-03-24 01:19:29 -04:00
Phil Budne
989bd7039e
coped maksys.s from scans; fixed assembly errors
2016-03-24 01:03:44 -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
Phil Budne
c8e9e003f4
remove unused labels
2016-03-23 23:54:44 -04:00
Warren Toomey
70d3f91e64
Import the new ed*.s source code from scans.
2016-03-24 09:20:27 +10:00
Phil Budne
36f09f2519
fix error reporting
2016-03-23 18:33:26 -04:00
Warren Toomey
ce0a5401a9
Add trysys.s to src/sys.
2016-03-24 06:20:38 +10:00
Phil Budne
aa234d7de4
Add phil's simple "ls": "lsd dir" lists a directory in dd, "lsl dir": long list
...
(lsl should be a hard link to lsd!)
2016-03-23 15:56:46 -04: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
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