Commit Graph
190 Commits
Author SHA1 Message Date
Phil Budne cb187e12be update queue (and other) storage comments 2016-04-17 13:26:11 -04:00
Phil Budne 032dc37705 sys: alloc comments 2016-04-17 13:26:11 -04:00
rswier ce6b5c4887 Cleaned up B run-time
Pared down the B run-time to a minimal functionality.  This is based on
research decompiling the pdp-11 libb.a run-time.
2016-04-13 05:09:24 -04:00
rswier 22f0d2e99a Progress on B stuff
Setup argv array based on Phil Budne's assembly.  Added string and ctype
libraries (untested).
2016-04-01 03:50:19 -04:00
Phil Budne 208ed1dbf5 sys comments 2016-03-31 22:53:27 -04:00
rswier 9a8a4bae17 Working on B printf and argv stuff 2016-03-30 03:47:36 -04:00
Phil Budne 615bdba101 s4.s: more comments 2016-03-29 22:18:47 -04:00
Phil Budne 687bbb06cf fix buffer cache search 2016-03-29 21:20:37 -04:00
Phil Budne 31c7b81032 cas comments 2016-03-29 11:42:55 -04:00
Phil Budne 77d49f4328 s3.s: fix a comment typo 2016-03-29 11:05:03 -04:00
Phil Budne b655c9df57 pbsh.s: try making shell interruptable when reading from a file 2016-03-29 11:04:28 -04:00
rswier 6a40af2f97 String support and more run-time routines
This is a work in progress.
2016-03-29 01:49:21 -04:00
Phil Budne b6009395fa pbsh.s: Add more comments about how I chose what I did or did not do. 2016-03-28 11:25:56 -04:00
Phil Budne 0358d5bf1c pbsh.s: prompt comment (cleared if input is regular file) 2016-03-28 09:35:43 -04:00
Phil Budne d3ccf536c4 pbsh.s: detect if stdin is a regular file using seek
seek doesn't fail on special devices, but it always returns zero
2016-03-28 02:07:21 -04:00
Phil Budne fa74947215 sys: comments for seek & tell 2016-03-28 01:02:54 -04:00
Phil Budne 9b675f2c52 fix comment paste-o 2016-03-27 01:26:30 -04:00
Phil Budne e29d8fca30 ed comments 2016-03-25 22:55:21 -04:00
Phil Budne 7ae26994e9 db.s: add a fix from Warren 2016-03-25 20:01:11 -04:00
Phil Budne b5d50297d1 fix another jmp/jms (in cadvanc) 2016-03-25 19:18:38 -04:00
Phil Budne 97021996db ed1.s: fix "jmp putsc" in "w" command to "jms putsc" 2016-03-25 19:18:38 -04:00
Phil Budne fb84d1fc9c ed2.s: dskbuf was only 1 word: should be 1024!! 2016-03-25 18:11:39 -04:00
Phil Budne cb3104a8a8 ed comments 2016-03-25 18:02:59 -04:00
Phil Budne 5567d705d5 ed comments 2016-03-25 15:51:55 -04:00
Phil Budne 33783128a2 ed comments 2016-03-25 15:06:02 -04:00
rswier c638044dc0 Begin working on alternate B run-time library 2016-03-25 05:08:43 -04:00
Phil Budne 72bbd8d4e6 s8.s: adjust "init" literal to be acceptable to native "as" 2016-03-25 01:02:38 -04:00
Phil Budne bb683cd754 pbsh.s: update comments, increase maxargs to 10 2016-03-25 00:28:43 -04:00
Phil Budne 0e13d1f23b as.s: replace quizzical comment with explanation 2016-03-24 22:15:41 -04:00
Phil Budne e51acda631 Add comments to "dmabs.s" 2016-03-24 13:39:47 -04:00
rswier 5581e20ade Allow separate compilation of B files
Label namespace change so that separate compilation of multiple B files
is possible.
2016-03-24 05:00:36 -04:00
Phil Budne c6f7a7799d start of a paper tape bootstrap to read system from disk 2016-03-24 01:19:29 -04:00
Phil Budne 989bd7039e coped maksys.s from scans; fixed assembly errors 2016-03-24 01:03:44 -04:00
Phil Budne 7743f613d3 split cas.s into cas.s and cas.x; get cas.s to assemble; add comments 2016-03-24 00:44:22 -04:00
Phil Budne 75724ae570 db.s comments 2016-03-24 00:21:03 -04:00
Phil Budne c8e9e003f4 remove unused labels 2016-03-23 23:54:44 -04:00
Warren Toomey 70d3f91e64 Import the new ed*.s source code from scans. 2016-03-24 09:20:27 +10:00
Phil Budne 36f09f2519 fix error reporting 2016-03-23 18:33:26 -04:00
Warren Toomey ce0a5401a9 Add trysys.s to src/sys. 2016-03-24 06:20:38 +10:00
Phil Budne 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!)
2016-03-23 15:56:46 -04:00
Warren Toomey d5eb2a6b96 Removed ctrl-Ms and added a newline at the end. 2016-03-23 22:27:36 +10:00
Phil Budne f707ff8815 db.s (debugger) fix typos that as7 complained about, add some comments 2016-03-22 22:32:36 -04:00
Phil Budne ac6e7470cf disk buffer comments (and comments about a mystery) 2016-03-22 21:29:46 -04:00
Warren Toomey 42c7a240ed I wrote a version of od. 2016-03-23 11:14:01 +10:00
philbudne 98178099de Merge pull request #60 from philbudne/master
shell fixes
2016-03-22 20:22:22 -04:00
Warren Toomey 58ea0b0b2c I'm working on a better ls for the alt system, but a few bugs. 2016-03-23 10:13:01 +10:00
Phil Budne 3c70f48fe8 pbsh.s: read full blocks (readc) so "sh <commands" works!
(outputs prompts: I don't see a way to implement "isatty")
2016-03-22 20:07:20 -04:00
Phil Budne 921d8e57cf pbsh.s: comments 2016-03-22 20:07:20 -04:00
Phil Budne 2d8ee26e03 fixes: handle blank line, 8 character filenames, semi 2016-03-22 20:07:20 -04:00
Warren Toomey 3a52b3d74b I've got mkdir working in the alt system. I had to allow the dir bit
in the permissions mask in creat, through.
2016-03-23 09:57:20 +10:00