Warren Toomey
0517b7c2fc
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2016-03-10 07:44:54 +10:00
Warren Toomey
b03cc44290
Fixed up the llss instruction in a7out.
2016-03-10 07:44:31 +10:00
rswier
f36928ff9f
B compiler
...
Very preliminary B compiler. Only able to compile hello.b and not
tested further. This is implemented in a subset of C that will
hopefully ease porting itself to B.
2016-03-09 04:29:52 -05:00
philbudne
d553e1d396
Merge pull request #39 from philbudne/master
...
get ed to assemble without errors
2016-03-08 22:38:41 -05:00
Phil Budne
6dfe914339
get ed to assemble without errors
2016-03-08 22:36:34 -05:00
Warren Toomey
3be45d4383
Moved opr.s to src/other as it is not a proper utility and wasn't in the scans.
2016-03-09 06:48:37 +10:00
Warren Toomey
10ab3acbc9
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2016-03-09 06:48:15 +10:00
Warren Toomey
3cb05b5767
Added Phils opr.s and kernel notes files
2016-03-09 06:47:48 +10:00
Warren Toomey
c65a5587fb
Comments to kernel files by Phil.
2016-03-09 06:45:44 +10:00
philbudne
6fa61c2a73
Merge pull request #37 from philbudne/master
...
add src/sys/NOTES.md: notes on disk format and other kernel details
2016-03-08 12:15:32 -05: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
philbudne
7a93074d7b
Merge pull request #36 from philbudne/master
...
sys comments for rmes/smes calls, process table (user list) words
2016-03-08 11:52:03 -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
philbudne
3e84f42637
Merge pull request #35 from philbudne/master
...
as comments, ops.s
2016-03-08 11:31:30 -05:00
Phil Budne
66a8168228
as.s starting to work! Add ops.s
...
replaced "sys write; 1; 0; 4" with "sys write; 1: 0; 4"
In the scan it REALLY looks like three semis, but that makes NO sense!
2016-03-08 11:24:09 -05:00
Warren Toomey
286acea85b
With src/cmd/as.s modified to use als (because a7out is broken) and removing
...
the definitions of . and .. from wktopr.s, I can now assemble cat.s with
the PDP-7 as and execute the resulting a.out file!
2016-03-08 20:05:14 +10:00
Warren Toomey
77505026ae
I made my own opr.s with definitions for . and .. and now the native
...
PDP-7 as can assemble cat.s. I haven't checked the output yet.
2016-03-08 19:03:28 +10:00
Warren Toomey
10a0983cc4
as.s typo.
2016-03-08 18:47:14 +10:00
Warren Toomey
e652be0b14
Added date manual.
2016-03-08 17:07:49 +10:00
Warren Toomey
7ab65c4727
Added a runsh option to the Makefile
2016-03-08 16:56:54 +10:00
Warren Toomey
07a098cb53
Changed the top-level Makefile to make date and to use the new ptr format
...
for the binaries.
2016-03-08 16:46:39 +10:00
Warren
04c27b5110
Merge pull request #34 from teverett/master
...
updated makefile to account for rename of sh.s to pbsh.s
2016-03-08 16:44:38 +10:00
Warren Toomey
e9c8aae876
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2016-03-08 16:43:47 +10:00
Warren Toomey
5877df91e8
Finally, date works, and I've also written a decimal conversion routine
...
in sys/other.
2016-03-08 16:42:46 +10:00
Tom Everett
4ea9203ec6
updated makefile to account for rename of sh.s to pbsh.s
2016-03-07 21:13:20 -07:00
philbudne
0ababfd4cf
Merge pull request #33 from philbudne/master
...
apply fix to scans/as.s; fix a7out smes comments
2016-03-07 18:00:05 -05:00
Phil Budne
9c8cc278a4
fix smes comment block (copied from pbsh.s)
2016-03-07 17:58:09 -05:00
Phil Budne
b871c2214d
as.s: add missing line, found by Warren
2016-03-07 17:57:45 -05:00
philbudne
6a1b355bbd
Merge pull request #32 from philbudne/master
...
pbsh updates; sys comments
2016-03-07 17:30:44 -05:00
Phil Budne
5f735f6ba4
3dump: handle 0200 bit set on all "frames"
2016-03-07 17:29:23 -05:00
Phil Budne
38ff8aec09
a7out: changes for shell
...
handle "ptr" format executable files
tty read always returns only one character
add shell-compatible "smes" behavior
2016-03-07 17:27:31 -05:00
Phil Budne
e18a74300e
pbsh.s: add @/# handling from init.s
2016-03-07 17:22:33 -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
a1930b76d9
renamed sh.s to pbsh.s
2016-03-07 17:22:32 -05:00
Warren Toomey
2d9157f4e6
Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix
2016-03-08 06:48:27 +10:00
Warren Toomey
77ba9809e7
Fixed a small tty handling bug.
2016-03-08 06:48:06 +10:00
rswier
28a98360a4
Successful first run of B interpreter!
...
I hand compiled hello.b into hello.s and assembled with the interpreter
and runtime library:
perl as7 --out a.out bl.s hello.s bi.s
2016-03-07 05:57:30 -05:00
Warren Toomey
a7f040b8f5
Added a div instruction and changed some of the debug outputs in a7out.
2016-03-07 20:12:40 +10:00
Warren Toomey
54947581cd
I wrote a simple routine to print out numbers in decimal.
2016-03-07 17:56:53 +10:00
Warren
92bef06575
Merge pull request #31 from philbudne/master
...
more shell work; renamed sh.s to pbsh.s
2016-03-07 16:20:56 +10:00
Warren Toomey
cfafcad963
a7 is updated with Phil's stdin reading patch. I've written a few more
...
utilities and modified the v1 man pages for them. Fixed a typo (missing
line) in src/cmd/as.s.
2016-03-07 16:17:57 +10:00
Phil Budne
e01d1a8700
renamed sh.s to pbsh.s
2016-03-07 00:18:03 -05:00
Phil Budne
cf164b2746
add comment from v1 as man page
2016-03-07 00:16:53 -05:00
Phil Budne
8fc1d05ef7
sh.s: more stuff working
2016-03-07 00:16:53 -05:00
Warren Toomey
42636a83e3
Added ls.1 manual.
2016-03-07 06:26:15 +10:00
Warren Toomey
cea7025679
Updated .gitignore
2016-03-07 06:22:10 +10:00
Warren Toomey
ca5347f161
Top-level Makefile: make it a bit more like V1 Unix.
2016-03-07 06:21:08 +10:00
Warren
28be270520
Merge pull request #27 from teverett/master
...
Various updates
2016-03-07 06:14:43 +10:00