1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-26 12:12:37 +00:00
Commit Graph

222 Commits

Author SHA1 Message Date
Phil Budne
668e4c9cff set argptr; increment argc by four 2016-03-06 01:36:52 -05:00
Phil Budne
6fbc8c3a05 ptr: dump memory starting at '..' 2016-03-05 14:32:15 -05:00
Phil Budne
a0e2c74f40 closer to working (fork disabled, chdir not implemented) 2016-03-05 14:13:02 -05:00
philbudne
0a5fc29c8c Merge pull request #26 from philbudne/master
shell of a shell
2016-03-05 10:54:29 -05:00
Phil Budne
bea558aa93 start of a shell 2016-03-05 10:52:34 -05:00
Warren Toomey
10befe6cc4 Warren's ls now has -l argument which prints out lines in long format! 2016-03-04 21:56:46 +10:00
Warren Toomey
c8ac75f371 Added a dprintf which I forgot. 2016-03-04 15:37:04 +10:00
Warren Toomey
6f3008e8bd I've gobe for my own mul algorithm for now, and it seems to work for small
positive integers, but it probably needs fixing.
2016-03-04 15:29:37 +10:00
Warren Toomey
807fb56d35 I've added the idiv and mul instructions which are needed by the original PDP-7.
However, these are completely untested at the present!
2016-03-04 15:15:57 +10:00
Warren Toomey
575163a35a I wrote a test for the octal conversion routine, and I updated ds.s
with the comments that I wrote for the octal conversion.
2016-03-04 14:34:25 +10:00
Warren Toomey
5b9ecc343d I didn't mean to check the stuff in bin! 2016-03-04 14:17:42 +10:00
Warren Toomey
e928dbf7b6 Added the bin directory for assembled programs. 2016-03-04 13:41:16 +10:00
Warren Toomey
218e060a55 I've added the seek() system call to a7out. I've also added some heuristic code
to detect if file output is "binary" or ASCII and to write the file correctly.
Mind you, the heuristic can fail :-( The original cp can now copy ASCII and
binary files.
2016-03-04 13:39:38 +10:00
Warren Toomey
154039a9ee Merge remote-tracking branch 'origin/master' 2016-03-04 13:05:04 +10:00
Warren Toomey
451a58fc58 I've added code to detect binary PDP-7 files to a7out. This is needed
for doing the seek() and tell() syscalls which are next to do.
2016-03-04 13:03:42 +10:00
philbudne
0716557d2a Merge pull request #25 from philbudne/master
system comments
2016-03-03 21:15:28 -05:00
Phil Budne
efb0553d7f system comments 2016-03-03 21:14:35 -05:00
Warren Toomey
51ad7db306 Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-04 08:31:45 +10:00
Warren Toomey
2261144ea2 Fixed up the llss code in a7out, so now the octal printing code in ds.s works. 2016-03-04 08:31:15 +10:00
philbudne
5a6f996e2b Merge pull request #24 from philbudne/master
system comments
2016-03-03 13:43:26 -05:00
Phil Budne
864c896a8c system comments 2016-03-03 13:42:03 -05:00
Warren Toomey
ffbc0b1dab Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-03 19:48:03 +10:00
Warren Toomey
d3f6924a9c I fixed a few typos in ds.s and I made a pretend llss instruction in a7out. 2016-03-03 19:46:34 +10:00
rswier
011e30802c Fixed typos 2016-03-03 03:56:49 -05:00
philbudne
388e991668 Merge pull request #23 from philbudne/master
system comments
2016-03-03 02:08:10 -05:00
Phil Budne
df75edde3c system comments 2016-03-03 02:03:09 -05:00
Warren Toomey
d33ce4c69f Based on the details of the directory structure that Phil found, I've
modified the a7out and the wktls.s program to reflect this.
2016-03-03 16:35:05 +10:00
Warren Toomey
336e0c1118 Updated the top-level README with current details. 2016-03-03 15:38:02 +10:00
Warren Toomey
72473c411b I've written some code for the sys status syscall in a7out but I've not tested it yet. 2016-03-03 14:15:35 +10:00
Warren Toomey
dd5e5bc2b3 Updated Makefile with the ls binary 2016-03-03 13:42:22 +10:00
Warren Toomey
2b9d2942d3 Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-03 13:37:26 +10:00
Warren Toomey
9cc938bfe6 I've written a simple ls program that actually works :-) 2016-03-03 13:36:35 +10:00
Warren
2fce0b8c0f Merge pull request #22 from teverett/master
updated grammar and added more working examples to the test cases
2016-03-03 13:15:40 +10:00
Warren Toomey
553aa31967 Even thought we don't really know the directory structure yet, I've written
code to allow a directory to be read. We can change it as required.
2016-03-03 13:13:52 +10:00
Tom Everett
8eb36d4b3b updated grammar and added more working examples to the test cases 2016-03-02 20:11:59 -07:00
Warren Toomey
aecf2cc4af Added some more comments to ds.s 2016-03-03 12:54:07 +10:00
Warren Toomey
747d1f4466 Added the time system call as per the draft of the CACM paper. 2016-03-03 12:12:18 +10:00
Warren Toomey
e9398b2bd0 Added more comments to sys/cmd/init.s. 2016-03-03 11:27:20 +10:00
Warren Toomey
0314dff3c6 Added getuid and setuid syscalls to a7out. 2016-03-03 11:09:55 +10:00
Warren Toomey
02a0253afc Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-03 10:47:43 +10:00
Warren Toomey
7b9d907902 Fixed the a7out smes/rmes bug, they work now. 2016-03-03 10:47:07 +10:00
philbudne
d077fc77df Merge pull request #21 from philbudne/master
kernel comments
2016-03-02 19:14:25 -05:00
Warren Toomey
97407ef507 I added smes and rmes system calls to a7out and wrote some code
in src/other/fork_test.s to test it. It's not working quite right
yet, we keep getting wait() returning -1 in a7out even though there
is a child process.
2016-03-03 10:14:04 +10:00
Phil Budne
0e5eaa95a6 kernel comments 2016-03-02 19:12:13 -05:00
Warren Toomey
782f677a34 Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-03-03 09:52:40 +10:00
Warren Toomey
a351a527e6 Added more init.s comments 2016-03-03 09:52:17 +10:00
philbudne
09e7c95c5d Merge pull request #20 from philbudne/master
kernel comments: betwen and pget
2016-03-02 18:47:00 -05:00
Phil Budne
02847f56b5 comments for pget 2016-03-02 18:42:42 -05:00
Phil Budne
08d9d23858 comments for betwen 2016-03-02 18:42:42 -05:00
Warren Toomey
6547aa98be I've added fork() to a7out after adding some comments to src/cmd/init.s.
There is a test program to demonstrate fork working.
2016-03-03 09:23:48 +10:00