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

60 Commits

Author SHA1 Message Date
phil
4b284c6bbe Improve sys annotations
Finally understand location 7 (incremented at 60Hz)
	setting it to -1 causes clock interrupt every jiffy
Improve comments in dsktrans
Clarify cnop/cskp usage in iread/iwrite code
	iwrite and iread have common code
	entry at iwrite save return address at iread
		and overwrites return address to "skp" inst
	entry at iread puts "nop" inst at iwrite
	"xct iwrite" skips on write entry
2019-10-21 22:24:09 -04:00
Warren Toomey
f6f05e6483 A few lines got lost in the last edit to s6.s, now fixed. 2016-04-28 15:04:29 +10:00
Phil Budne
1a4c0c3c71 s6.s: add comments 2016-04-17 13:26:12 -04:00
Phil Budne
c8129d7fa4 s4.s: comment disk block free and (self modifiying) char queue routines 2016-04-17 13:26:12 -04:00
Phil Budne
cb187e12be update queue (and other) storage comments 2016-04-17 13:26:11 -04:00
Phil Budne
032dc37705 sys: alloc comments 2016-04-17 13:26:11 -04:00
Phil Budne
208ed1dbf5 sys comments 2016-03-31 22:53:27 -04:00
Phil Budne
615bdba101 s4.s: more comments 2016-03-29 22:18:47 -04:00
Phil Budne
687bbb06cf fix buffer cache search 2016-03-29 21:20:37 -04:00
Phil Budne
77d49f4328 s3.s: fix a comment typo 2016-03-29 11:05:03 -04:00
Phil Budne
fa74947215 sys: comments for seek & tell 2016-03-28 01:02:54 -04:00
Phil Budne
9b675f2c52 fix comment paste-o 2016-03-27 01:26:30 -04:00
Phil Budne
72bbd8d4e6 s8.s: adjust "init" literal to be acceptable to native "as" 2016-03-25 01:02:38 -04:00
Phil Budne
989bd7039e coped maksys.s from scans; fixed assembly errors 2016-03-24 01:03:44 -04:00
Warren Toomey
ce0a5401a9 Add trysys.s to src/sys. 2016-03-24 06:20:38 +10:00
Phil Budne
ac6e7470cf disk buffer comments (and comments about a mystery) 2016-03-22 21:29:46 -04:00
Phil Budne
164125be7e sys comments 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
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
9483300758 sys status returns 13 words, the last one holds the i-number. 2016-03-18 19:47:05 +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
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
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
Warren Toomey
cfa57f16b3 More kernel comments: partial comments for namei. 2016-03-14 17:50:13 +10:00
Warren Toomey
6ffdf4076d More kernel comments: iget 2016-03-14 17:40:46 +10:00
Warren Toomey
8b421eb27b I've commited a change to as7 to use the C pre-processor. Not sure if it's
to everybody's taste.
2016-03-13 21:08:43 +10:00
Phil Budne
8c20d30cd1 sop: add missing "spa" (not used in kernel!) 2016-03-13 00:05:57 -05:00
Phil Budne
a929bc08b7 fix OMQ definition 2016-03-13 00:05:57 -05:00
Warren Toomey
4860c0a8b0 I've commented out some of the code in s7.s to try and disable the
Graphics-2 I/O operations.
2016-03-13 14:36:33 +10:00
Warren Toomey
ba3b33d7da There seems to be a transcription error in s7.s, I fixed by eyeballing
the scans.
2016-03-13 13:21:25 +10:00
Phil Budne
adc6fdcc50 sys NOTES.md: update i.nlnks comment 2016-03-11 16:33:53 -05:00
Phil Budne
9372fa5f56 sys: more comments 2016-03-11 16:32:11 -05:00
Phil Budne
802ab257b9 sys: kernel comments 2016-03-11 16:01:01 -05:00
Phil Budne
df1d8e29dd update sys NOTES 2016-03-11 11:23:59 -05:00
Warren Toomey
bfeb833141 Added sdump tool, added a coldboot option to build/Makefile, added a few
kernel comments.
2016-03-11 16:00:10 +10:00
Phil Budne
2ff3a45a64 sys: fix "mul" in sop.s 2016-03-10 17:54:21 -05:00
Warren Toomey
b03cc44290 Fixed up the llss instruction in a7out. 2016-03-10 07:44:31 +10:00
Phil Budne
cf47a841b2 more markdown 2016-03-08 12:14:05 -05:00
Phil Budne
858fe3dd13 notes on kernel & disk format 2016-03-08 12:10:31 -05:00
Phil Budne
03d5e49ae9 sys comments for rmes/smes calls, process table (user list) words
noticed "exit" call falls into "rmes" call!!!
2016-03-08 11:51:03 -05:00
Phil Budne
a80e2afda7 update comments for "passone" (return one character from special device) 2016-03-07 17:22:33 -05:00
Phil Budne
1033fa24bf update comment for TTY inter char (ALT MODE key?) 2016-03-07 17:22:32 -05:00
Phil Budne
efb0553d7f system comments 2016-03-03 21:14:35 -05:00