phil
f9dbe7e946
as7: add --no-label-warnings flag
2019-10-29 21:29:55 -04:00
phil
1a35c9146d
switch to original commands, alphabetize proto and Makefile
2019-10-29 00:00:55 -04:00
phil
4ffabd8bdf
add tmg to src/cmd and image
...
add doug user to image, put tmg sources there
fix an as7 bug found by tmg
2019-10-28 23:14:16 -04:00
phil
ab38b0e263
use explicit octal uid values in proto
...
to match password file, list output
make fsck output octal too
2019-10-28 23:14:16 -04:00
phil
9c5f034193
as7: change directive prefix from "<TAB>." to "@"
2019-10-26 12:36:09 -04:00
phil
30c7e9bdca
as7: truncate labels to 8 characters for moo.s
2019-10-26 00:40:33 -04:00
Phil Budne
2bcafe61b0
Merge pull request #148 from philbudne/mkfs
...
two mkfs7 changes (.. and link to inum -1), make hard link for list program
2019-10-24 19:47:29 -04:00
phil
0761c062ec
add compare: script to remove annotations and diff src and scan dir files
2019-10-24 16:50:38 -04:00
phil
96af8f1c17
two mkfs7 changes (.. and link to inum -1), make hard link for list program
...
mkfs: if neither --dotdot or --dot options given, create .. link to current dir
accept -1 for inum in add_direntry to mean "use previous i-num" for links
proto: use inum -1 to make "list" a link to "nls"
2019-10-22 21:22:21 -04:00
phil
e46e22baa6
cas.s performs zero word writes: a7out was die-ing: make it a noop
2019-10-20 13:55:40 -04:00
Tom Everett
693123fe3b
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2019-10-19 10:45:43 -06:00
Phil Budne
5c3eb06254
a7out: handle ecla llss seen in adm,apr,bc,ds,sh
2019-10-19 00:21:49 -04:00
Tom Everett
98d74b6002
minor update to readme
2019-10-18 18:49:21 -06:00
Phil Budne
cda071864e
shell from 11-56-91.pdf; added ecla to as7
2019-10-18 18:12:42 -04:00
Neo_Chen
ab7641df72
Make perl scripts independ of path
2018-08-20 21:03:24 +08:00
Warren Toomey
96069aeb66
Ragge sent in another patch to a7out for the lrs instruction.
2017-02-03 11:35:28 +10:00
Warren Toomey
59dff5c9f2
I've modified as7 to have local and global labels, which we will need for
...
the upcoming pcc compiler.
2017-02-02 19:46:05 +10:00
Warren Toomey
a558131773
I've imported the tool changes I made in my H compiler. Also,
...
Anders Magnusson contributed the lrs simulation code for a7out.
2017-01-22 23:51:44 +10:00
Warren Toomey
a0ed6a9845
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2017-01-22 23:49:47 +10:00
Warren Toomey
c3ba4fe361
I've imported the changes to as7 and a7out which I've done in my H compiler.
...
Also, Anders Magnusson contributed code to simulate the lrs instruction in a7out.
2017-01-22 23:47:25 +10:00
Warren Toomey
c1dc742f03
Added support for symbols with uppercase letters.
2016-04-28 13:11:24 +10:00
Phil Budne
dbe494ea8b
as7: make multiply defined symbols non-fatal (as.s doesn't even warn!)
2016-03-29 11:05:52 -04:00
rswier
6a40af2f97
String support and more run-time routines
...
This is a work in progress.
2016-03-29 01:49:21 -04:00
Warren Toomey
bf1914f388
C roff is now even closer to B: for loops are now while loops.
2016-03-29 08:12:46 +10:00
Warren Toomey
fed6525853
I've converted all the man pages so far into roff format.
2016-03-28 13:24:27 +10:00
Warren Toomey
dfb61a274f
I've brought in and modified a roff so that it should be translatable into B.
...
I've started work on writing the man pages in this version of roff.
2016-03-28 12:18:10 +10:00
Tom Everett
1783f1789a
update b.c to compile
2016-03-25 10:34:25 -06:00
Phil Budne
15a61c0512
fix rim comments
2016-03-25 00:42:08 -04:00
Phil Budne
efb135bc10
as7: "rim" now means "hardware read-in" (contiguous memory with no overhead)
2016-03-25 00:39:50 -04:00
Phil Budne
2b7ff69251
clarify WHICH "Read In Mode" we mean!
2016-03-24 22:16:46 -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
Warren Toomey
9f30359c56
Added some code to print out ASCIi characters in each word.
2016-03-24 17:50:47 +10:00
Warren Toomey
bd13e31f4e
Added a -k option to mkfs7 so that it can write a kernel image in PTR
...
format to track 80 on the disk.
2016-03-24 17:24:48 +10:00
Warren Toomey
441fe12b0a
Fall into single-step mode if we see a low memory write.
2016-03-24 08:57:51 +10:00
Phil Budne
1e19b29abd
add return values to main to make it Makefile compatible!
2016-03-23 10:31:57 -04:00
Warren Toomey
851f03a50a
mkfs7: Fixed a bug in indirect blocks.
2016-03-23 21:15:07 +10:00
Warren Toomey
c2cbf1ff3c
Oops, don't print out allocated blocks in mkfs7 if we didn't allocate any.
2016-03-23 13:41:17 +10:00
Warren Toomey
7fcf1d230c
I added a way for a file to be given a specific i-number, needed for i-num 1.
2016-03-23 11:25:22 +10:00
Phil Budne
9175bf8931
remove unused variable
2016-03-22 20:24:41 -04:00
Phil Budne
156f5f1796
Phil's mods to a7out: read namelist file(s); symbolic input/output
2016-03-22 20:09:36 -04:00
Phil Budne
2b4aeb3bab
as7: make I/II/filename output match as.s behavior
2016-03-22 20:07:20 -04: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
Warren Toomey
59bde619e5
Here is a simple code coverage tool for the kernel, so that we can see
...
what code is not being used at present. Instruction for use are given
as comments at the top of the file.
2016-03-22 06:23:17 +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
b9fa7fb4fb
Fix up the link count code.
2016-03-19 14:37:23 +10:00
Warren Toomey
e44bc6daa3
Added note about fsck7.
2016-03-19 07:27:18 +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
17a828cfcd
mkfs: I moved the order of ., .. and dd around to me more pleasing to the eye. I also
...
added some simple link count code.
2016-03-19 06:25:20 +10: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