aa234d7de4
Add phil's simple "ls": "lsd dir" lists a directory in dd, "lsl dir": long list (lsl should be a hard link to lsd!)
Phil Budne2016-03-23 15:55:07 -04:00
8039301ce8
Merge pull request #64 from philbudne/master
philbudne2016-03-23 10:33:20 -04:00
1e19b29abd
add return values to main to make it Makefile compatible!
Phil Budne2016-03-23 10:31:57 -04:00
945fa20bae
Added rules to build the B compiler and modified proto to install it as system/bc. Added a b_readme in dmr's home directory to explain how to compile hello.b.
Warren Toomey2016-03-23 22:45:53 +10:00
156f5f1796
Phil's mods to a7out: read namelist file(s); symbolic input/output
Phil Budne2016-03-22 20:09:36 -04:00
3c70f48fe8
pbsh.s: read full blocks (readc) so "sh <commands" works! (outputs prompts: I don't see a way to implement "isatty")
Phil Budne2016-03-22 19:35:00 -04:00
3a52b3d74b
I've got mkdir working in the alt system. I had to allow the dir bit in the permissions mask in creat, through.
Warren Toomey2016-03-23 09:57:20 +10:00
5f4e420e63
I converted some of the ls code into routines. No change in functionality. I updated a7out with better sys status handling.
Warren Toomey2016-03-22 09:19:30 +10:00
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.
Warren Toomey2016-03-22 06:23:17 +10:00
d8f7167e6e
Merge pull request #59 from philbudne/master
philbudne2016-03-21 11:22:41 -04:00
84984c2a52
Add comments, commented out commands for Phil's simulation of GRAPHICS-2 (as a Glass TTY)
Phil Budne2016-03-21 11:09:51 -04:00
5e1cfff03f
Merge pull request #58 from philbudne/master
philbudne2016-03-21 11:04:08 -04:00
eca41ba9dc
fix init: was branching to absolute "1" after processing a message. Top label is "l"!!
Phil Budne2016-03-21 00:15:08 -04:00
c1ef96a723
wake up init with smes before exiting
Phil Budne2016-03-21 00:07:24 -04:00
dee1695759
Hmm, not sure why these didn't get added before ...
Warren Toomey2016-03-21 16:39:52 +10:00
b001734e8f
I've moved a copy of my ls.s into alt, so there are no files left with
Warren Toomey2016-03-21 16:37:26 +10:00
94fd5d49e0
I've restructured the alternative version of PDP-7 Unix so that the source code is now in src/alt. All the files in src/sys and src/cmd are only annotated versions of the files in scans/. The build/Makefile has been updated so that it can build the original PDP-7 Unix or the alternative version. Phil has fixed the Graphics-2 code, so that there is no need to have any #ifdef code in the original kernel.
Warren Toomey2016-03-21 16:01:36 +10:00
098c8a9e28
I've split the cmd and others Makefile rules out to individual utility rules, so that we don't keep building binaries for sources that have not changed.
Warren Toomey2016-03-21 06:51:00 +10:00
6b9151d3e3
Print out an error message if ls is given a name that doesn't exist.
Warren Toomey2016-03-20 21:03:53 +10:00
acf853d1a3
I changed the Makefiles so that I could make run without rebuilding everything. This is mainly because I often boot the system several times in a row when debugging, and I didn't want to have to build everything just to reboot the system :-)
Warren Toomey2016-03-20 20:55:43 +10:00
0eb720f3ab
It's time we had ed as a binary, so we have another goal to reach: making ed work.
Warren Toomey2016-03-19 06:30:31 +10:00
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.
Warren Toomey2016-03-19 06:25:20 +10:00
956bd28ac1
Added the inum field. No idea why it didn't get picked up in the previous two commits.
Warren Toomey2016-03-18 19:55:33 +10:00
c35b1e2add
Replace badd/uind with vector
rswier2016-03-18 01:33:47 -04:00
b8b1ac5d95
I changed ls to have a directory as an optional argument. This allows it to work when we don't have .
Warren Toomey2016-03-18 10:25:45 +10:00
ad0f5391a8
Merge pull request #50 from philbudne/master
philbudne2016-03-17 00:11:34 -04:00