548850581b
Merge pull request #38 from teverett/master
Warren2016-03-10 10:18:06 +10:00
2880d1b2e4
I've made a start on a mkfs tool for PDP-7 Unix. So far I have the routines to build the filesystem, but they are not tested. I need to add code to parse the "proto" file, whose syntax is based on the 6th Edition proto file. I also need to dump out the filesystem image.
Warren Toomey2016-03-10 09:53:05 +10:00
7a93074d7b
Merge pull request #36 from philbudne/master
philbudne2016-03-08 11:52:03 -05:00
03d5e49ae9
sys comments for rmes/smes calls, process table (user list) words noticed "exit" call falls into "rmes" call!!!
Phil Budne2016-03-08 11:49:18 -05:00
3e84f42637
Merge pull request #35 from philbudne/master
philbudne2016-03-08 11:31:30 -05:00
66a8168228
as.s starting to work! Add ops.s replaced "sys write; 1; 0; 4" with "sys write; 1: 0; 4" In the scan it REALLY looks like three semis, but that makes NO sense!
Phil Budne2016-03-08 00:34:35 -05:00
286acea85b
With src/cmd/as.s modified to use als (because a7out is broken) and removing the definitions of . and .. from wktopr.s, I can now assemble cat.s with the PDP-7 as and execute the resulting a.out file!
Warren Toomey2016-03-08 20:05:14 +10:00
77505026ae
I made my own opr.s with definitions for . and .. and now the native PDP-7 as can assemble cat.s. I haven't checked the output yet.
Warren Toomey2016-03-08 19:03:28 +10:00
5877df91e8
Finally, date works, and I've also written a decimal conversion routine in sys/other.
Warren Toomey2016-03-08 16:42:46 +10:00
4ea9203ec6
updated makefile to account for rename of sh.s to pbsh.s
Tom Everett2016-03-07 21:13:20 -07:00
0ababfd4cf
Merge pull request #33 from philbudne/master
philbudne2016-03-07 18:00:05 -05:00
9c8cc278a4
fix smes comment block (copied from pbsh.s)
Phil Budne2016-03-07 17:58:09 -05:00
b871c2214d
as.s: add missing line, found by Warren
Phil Budne2016-03-07 17:55:13 -05:00
6a1b355bbd
Merge pull request #32 from philbudne/master
philbudne2016-03-07 17:30:44 -05:00
5f735f6ba4
3dump: handle 0200 bit set on all "frames"
Phil Budne2016-03-07 17:29:23 -05:00
38ff8aec09
a7out: changes for shell handle "ptr" format executable files tty read always returns only one character add shell-compatible "smes" behavior
Phil Budne2016-03-07 17:27:31 -05:00
e18a74300e
pbsh.s: add @/# handling from init.s
Phil Budne2016-03-07 17:18:36 -05:00
a80e2afda7
update comments for "passone" (return one character from special device)
Phil Budne2016-03-07 16:13:42 -05:00
1033fa24bf
update comment for TTY inter char (ALT MODE key?)
Phil Budne2016-03-07 16:12:55 -05:00
28a98360a4
Successful first run of B interpreter!
rswier2016-03-07 05:57:23 -05:00
a7f040b8f5
Added a div instruction and changed some of the debug outputs in a7out.
Warren Toomey2016-03-07 20:12:40 +10:00
54947581cd
I wrote a simple routine to print out numbers in decimal.
Warren Toomey2016-03-07 17:56:53 +10:00
92bef06575
Merge pull request #31 from philbudne/master
Warren2016-03-07 16:20:56 +10:00
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.
Warren Toomey2016-03-07 16:17:57 +10:00
6f3008e8bd
I've gobe for my own mul algorithm for now, and it seems to work for small positive integers, but it probably needs fixing.
Warren Toomey2016-03-04 15:29:37 +10:00
807fb56d35
I've added the idiv and mul instructions which are needed by the original PDP-7. However, these are completely untested at the present!
Warren Toomey2016-03-04 15:15:57 +10:00
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.
Warren Toomey2016-03-04 14:34:25 +10:00
e928dbf7b6
Added the bin directory for assembled programs.
Warren Toomey2016-03-04 13:41:16 +10:00
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.
Warren Toomey2016-03-04 13:39:38 +10:00
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.
Warren Toomey2016-03-04 13:03:42 +10:00