1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-02-01 22:42:59 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
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
Warren Toomey
ed46793781 Added cat.s. 2016-02-26 06:01:47 +10:00
Warren Toomey
4b9f851a84 Explain how to assemble and run the program. 2016-02-25 18:50:00 +10:00
Warren Toomey
45fb97e051 An assembly program to test the a7out user-mode simulator.
Expext its contents to change often as a7out is written.
2016-02-25 18:47:17 +10:00
Warren Toomey
cc678483e1 I've added read() now, but I haven't tested it fully yet. 2016-02-25 18:43:44 +10:00
Warren Toomey
b463500f37 I've got a few system calls working: open, close, write, exit along with the
instructions dac, lac, iot and hlt. I can print Hello, world\n, yay!
2016-02-25 18:12:57 +10:00
Warren Toomey
a6f220b570 Dennis' paper of course. 2016-02-25 11:19:35 +10:00
Warren Toomey
f5554d1181 The beginnings of the user-mode simulator: three instructions so far 2016-02-25 10:25:43 +10:00
Warren Toomey
c6a928b8b4 More notes on the assembly syntax. 2016-02-25 07:52:26 +10:00
Warren Toomey
1bce0d48e3 Rename text file with .txt 2016-02-25 07:47:50 +10:00
Warren Toomey
e1fbafafcb Caching my Github username 2016-02-25 07:46:59 +10:00
Warren Toomey
66d4b90a92 Document the notes/ dir. 2016-02-25 07:40:04 +10:00
Warren Toomey
e3815482a3 First few pages of the s1 section of the kernel typed in. I've added some cruft
at the bottom so that I can test my assembler. I'll take that out later.
2016-02-25 07:37:59 +10:00
Warren Toomey
ba69e4e3e7 Miscellaneous notes about the assembler format and useful URLs. 2016-02-25 07:37:15 +10:00
Warren Toomey
550f6486ee Hopefully a more readable layout on the Github web site. 2016-02-25 07:05:29 +10:00
Warren Toomey
ecdd711b46 More details of the layout of the repository. 2016-02-25 07:03:59 +10:00
Warren Toomey
6e5986d1c7 First version of the file to document what scans are done. 2016-02-25 07:01:20 +10:00
Warren Toomey
73ea3c665b Hand-typed version of the cat source code with my own comments to
explain what it is doing.
2016-02-25 06:56:04 +10:00
Warren Toomey
07c95bbe15 I commented out most of the debug lines, and I now output the octal code
along with the input line that generated it. There is code to use values
of defined constants as well as defined labels.
2016-02-24 13:25:24 +10:00
Warren Toomey
f46777b272 Added code to output the final machine code in octal. Parse
the 'i' argument to instructions that indicate indirect mode.
2016-02-24 11:15:47 +10:00
Warren Toomey
d70b4e87cc First version of as7, which is definitely incomplete. I now need some
example assembly programs and their machine code octal dumps so that
I can complete as7 and get it working properly.
2016-02-24 09:16:32 +10:00
Warren Toomey
9b19ce4af5 Made it fit into 80 columns 2016-02-24 09:15:12 +10:00
Warren
debf1966e8 Update README.md
Add more description of the project
2016-02-24 08:54:03 +10:00
Warren
103048132c Initial commit 2016-02-24 07:56:18 +10:00