Commit Graph
212 Commits
Author SHA1 Message Date
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
philbudne 644bee06a0 Merge pull request #19 from philbudne/master
fix as7 relative subtraction; system & as comments
2016-03-02 15:43:06 -05:00
Phil Budne f06f075517 fix subtraction with relative values (relative-relative)=absolute! 2016-03-02 15:40:52 -05:00
Phil Budne 6791efe25c update a comment in as.s 2016-03-02 10:04:35 -05:00
Phil Budne 902754d284 add some comments to kernel files 2016-03-02 10:04:34 -05:00
Warren Toomey c7a4209c6b Updated Makefile as as7 useage has changed. 2016-03-02 20:50:55 +10:00
Warren Toomey 11d660688b More git notes. 2016-03-02 20:45:08 +10:00
Warren Toomey 9c79bbb15d Oops, didn't initialise $mode properly. 2016-03-02 20:42:45 +10:00
Warren Toomey dc2d2dd63b Phil's change to as7 to implement RELATIVE flag. He says:
seems to assemble cat.s and kernel reasonably...
   (famous last words)
I've updated a7out to use the same starting location. It runs cat.s OK.
2016-03-02 20:38:00 +10:00
Warren Toomey 14a2a9b10b I've updated the top-level Makefile to build all the existing utilities.
I've borrowed the V1 manuals from
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/man/man1
and changed them to reflect the PDP-7 utilities.
2016-03-02 19:39:41 +10:00
Warren Toomey 152fc23c6b Added some notes about recovering deleted git files. 2016-03-02 18:42:43 +10:00