Phil Budne
e18a74300e
pbsh.s: add @/# handling from init.s
2016-03-07 17:22:33 -05:00
Phil Budne
a1930b76d9
renamed sh.s to pbsh.s
2016-03-07 17:22:32 -05: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
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
8fc1d05ef7
sh.s: more stuff working
2016-03-07 00:16:53 -05:00
Phil Budne
668e4c9cff
set argptr; increment argc by four
2016-03-06 01:36:52 -05:00
Phil Budne
a0e2c74f40
closer to working (fork disabled, chdir not implemented)
2016-03-05 14:13:02 -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
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
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
9cc938bfe6
I've written a simple ls program that actually works :-)
2016-03-03 13:36:35 +10: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
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
Warren Toomey
5bda1307c9
Moved my non-scanned programs into src/other.
2016-03-02 06:30:25 +10:00
Warren Toomey
2af2802335
I've moved these working programs into the src/other folder as they are
...
not strictly tools.
2016-03-01 20:28:24 +10:00