Phil Budne
5c3eb06254
a7out: handle ecla llss seen in adm,apr,bc,ds,sh
2019-10-19 00:21:49 -04: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
Warren Toomey
fbbe0c6729
Added command line options to enable . and ..
2016-03-17 09:08:37 +10: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
320dd0418f
Add missing dput to .rename
2016-03-16 11:24:56 +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
Warren Toomey
56f6da9cd8
New tool fsck7
2016-03-15 15:49:40 +10:00
Warren Toomey
624776e0f3
Argh. A real dumb bug in mkfs7 that stopped us getting a shell. Fixed.
2016-03-14 21:22:29 +10:00
Warren Toomey
9da0484a39
I've got init past the link, but it then dies on the open("sh") immediately
...
after that. Yes, dd has to be i-num 4. I've modified mkfs7 and the proto
file to allow this to occur. I've also make link counts negative.
2016-03-14 19:49:37 +10:00
Warren Toomey
3629461a20
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2016-03-13 21:09:33 +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
rswier
a7b4608711
B compiler update
...
More progress
2016-03-13 03:41:14 -04:00
Warren Toomey
1829f8577f
Added graphviz output to xref7 so that we can see the call graph.
2016-03-13 07:27:29 +10:00
Warren Toomey
abf5ae6149
Also print out the routine's filename in xref7.
2016-03-12 22:53:33 +10:00