1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-22 18:42:48 +00:00

73 Commits

Author SHA1 Message Date
rswier
eeccd6adc7 Added adm.s, ald.s, apr.s from 05-1-4.pdf
First draft to be proofread
2016-02-26 20:43:06 -05:00
Warren Toomey
4ee2619b8c I refactored tools/wktcat.s to lose the repeated code, and I also
improved the comments in the code. I'm happy with it, now.
2016-02-27 11:12:16 +10:00
Warren Toomey
fafeae7470 I've rewritten tools/a7out to have the correct PDP-7 Unix command
line memory storage convention, and I've rewritten tools/wktcat.s
to deal with this. I've imported some code from the real cat.s
and now wktcat.s actually works as per the real cat.s.
2016-02-27 10:49:43 +10:00
philbudne
c26be91da1 Merge pull request #5 from philbudne/master
add "sysmap" from 01-s1.pdf
2016-02-26 18:03:30 -05:00
Phil Budne
4be326bca6 add "sysmap" from 01-s1.pdf 2016-02-26 18:01:49 -05:00
Josh Dersch
95a74c3ab4 Merge https://github.com/DoctorWkt/pdp7-unix 2016-02-26 14:18:27 -08:00
Josh Dersch
d322c2b70e Added my pass at hand-OCRing the s1-s9 kernel source. 2016-02-26 14:15:31 -08:00
Warren Toomey
d2511c36c0 I'm trying to bring my wktcat.s file into line with the real one.
I've refactored tools/a7out to have a dprintf() function to printf
only on debugging. I still need to rewrite the command-line arg
storage structure.
2016-02-27 08:05:52 +10:00
Warren Toomey
779e655703 More git notes. 2016-02-27 08:03:52 +10:00
Warren Toomey
d7254df037 Merge remote-tracking branch 'origin/master' 2016-02-27 08:02:18 +10:00
Will Senn
5f162abc5e added comments for page numbers to cas.s 2016-02-26 15:45:26 -06:00
Will Senn
09d5df4280 initial transcription of ed1.s and ed2.s from 08-rest.pdf 2016-02-26 15:44:09 -06:00
Warren Toomey
acabff9688 Merge remote-tracking branch 'origin/master' 2016-02-27 07:43:33 +10:00
philbudne
4af6d17c10 Merge pull request #4 from philbudne/master
more sys updates, new files: sop.s, maksys.s, trysys.s
2016-02-26 16:27:46 -05:00
Phil Budne
378c361aab fixes
sop.s supercedes (most of) sx.s
2016-02-26 16:25:53 -05:00
Phil Budne
fc0d2c2b31 new files: sop.s maksys.s trysys.s (last in 01-s1.pdf) 2016-02-26 16:25:03 -05:00
philbudne
5ae326c444 Merge pull request #3 from philbudne/master
system: update Readme, fix typos
2016-02-26 14:16:53 -05:00
Phil Budne
e022dbecfc system: update Readme, fix typos 2016-02-26 14:15:12 -05:00
Warren Toomey
d6d4c9b814 According to cat.s, fd 8 is standard error (not fd2!). I've updated
the a7out simulator to have STDERR on fd 8.
2016-02-26 22:37:03 +10:00
Warren Toomey
8143fc55e6 Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-02-26 21:59:06 +10:00
Warren Toomey
9c8dbdea37 tools/a7out: I refactored the indirect logic, much nicer now. 2016-02-26 21:57:10 +10:00
Will Senn
b98757bf79 added page numbers and source pdf information to readme 2016-02-26 05:54:41 -06:00
Warren Toomey
a132327a8b a7out: I had the spa logic wrong. Now fixed. 2016-02-26 21:45:55 +10:00
Warren Toomey
0efc7cf96b Merge branch 'master' of https://github.com/DoctorWkt/pdp7-unix 2016-02-26 21:29:16 +10:00
Warren Toomey
6534bd6d43 I renamed simplecat.s to wktcat.s 2016-02-26 21:28:22 +10:00
Warren Toomey
536de9ea56 I worked out the bug with the command-line arguments, I was overwriting
017777, oops. I've added more comments to wktcat.s (renamed from
simplecat.s). Now we need to find out how the real PDP-7 Unix
does command line arguments.
2016-02-26 21:26:44 +10:00
Warren Toomey
8f8cc64d10 I've added tad and sza to the a7out simulator, and I also added some
code to place command-line arguments into the simulated memory. I'm
trying to write my own version of cat so I can compare mine to the
real one. Right now there's a bug when simplecat has two arguments.
Zero and one arguments are OK! Saving so I have a backup before proceeding.
2016-02-26 20:56:31 +10:00
rswier
6066798c25 Transcribed from 05-1-4.pdf
First draft in need of proofreading.
2016-02-26 04:20:39 -05:00
Warren Toomey
b8550475b0 I've got a very simple cat program working, which reads from stdin and
sends it to stdout.
2016-02-26 18:43:20 +10:00
Warren Toomey
ba80514cbd Remind people to put in the page numbers and filenames! 2016-02-26 17:35:58 +10:00
Warren
32660b5beb Merge pull request #1 from rswier/master
Transcribed five files
2016-02-26 17:24:59 +10:00
Warren
12c581248f Merge pull request #2 from philbudne/master
finished s1; add s5-s9; add Makefile; let as7 continue after errors
2016-02-26 17:24:32 +10:00
Phil Budne
cdb09de1c1 fixes 2016-02-26 00:51:01 -05:00
Phil Budne
92cbc9ed91 fixes 2016-02-25 22:49:34 -05:00
Phil Budne
73237d68fa add s2.s 2016-02-25 22:42:59 -05:00
Phil Budne
f89b487d08 add s3.s 2016-02-25 22:13:06 -05:00
Phil Budne
719b5a0968 add s4.s 2016-02-25 21:42:23 -05:00
Phil Budne
815d8bc220 comment out debug prints 2016-02-25 21:03:39 -05:00
Phil Budne
2cca3d4473 finish s1.s; tried to clean up s5-s8; let as7 continue after error 2016-02-25 20:58:17 -05:00
rswier
cc79da86a5 transcribed from 06-5-12.pdf 2016-02-25 20:16:59 -05:00
rswier
d213ce5727 transcribed from 06-5-12.pdf 2016-02-25 20:13:43 -05:00
rswier
e5d2831b33 transcribed from 06-5-12.pdf 2016-02-25 20:10:20 -05:00
rswier
08f0bea8d0 transcribed from 08-rest.pdf 2016-02-25 20:06:07 -05:00
rswier
09f1418307 transcribed from 08-rest.pdf 2016-02-25 20:02:37 -05:00
Will Senn
f576fb5529 removed trailing carriage returns, also this was transcribed from 04-cas.pdf, not 04-cas.txt 2016-02-25 18:52:02 -06:00
Will Senn
5616e1b20a cas.s transcribed from 04-cas.txt 2016-02-25 18:49:52 -06:00
Phil Budne
0b0ea2e637 typed in files s5-s9 from 01-s1.pdf 2016-02-25 18:59:46 -05:00
Warren Toomey
c84b2dffdd I've changed the assembler so that it groks the <ab> string literal
syntax. I think it's OK, but it probably needs more testing.
write_test.s was changed to exercise the string parsing.
2016-02-26 07:35:36 +10:00
Warren Toomey
018af6f43e Ken Thompson sent e-mail in to explain that there can be labels mid-line, such as
sys write; 1:0; 4

so I modified the assembler logic to support this, and added some code to write_test.s
to verify that it works.
2016-02-26 06:52:43 +10:00
Warren Toomey
f9b8c8eeb2 Changed as7 to allow sys open statements, rewrite write_test.s to
use this syntax, and fixed up a bug in sys_open in a7out.
2016-02-26 06:19:27 +10:00